Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
updated at May 15, 2024, 9:14 a.m.
Set nested properties on an object using dot-notation.
updated at May 14, 2024, 4:58 p.m.
JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
updated at May 14, 2024, 1:50 a.m.
Map object keys and values into a new object
updated at May 13, 2024, 1:51 p.m.
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
updated at May 13, 2024, 8:15 a.m.
Use property paths (`a.b.c`) get a nested value from an object.
updated at May 8, 2024, 8:06 p.m.
checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN
updated at May 8, 2024, 11:17 a.m.
some best practices for JS modules
updated at May 8, 2024, 4:54 a.m.
I created this in 2014, the year I learned how to program. All of the downloads are from an old version of https://github.com/micromatch/micromatch. I've done a few other things since: https://github.com/jonschlinkert.
updated at May 7, 2024, 7:52 p.m.
I created this in 2014, when I was learning how to program.
updated at May 7, 2024, 7:51 p.m.