jonschlinkert / utilsLinks
Fast, generic JavaScript/node.js utility functions.
☆61Updated 2 years ago
Alternatives and similar repositories for utils
Users that are interested in utils are comparing it to the libraries listed below
Sorting:
- Recursively omit empty properties from an object. Omits empty objects, arrays, strings, and optionally zero. Similar results to what you …☆73Updated 5 years ago
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 4 years ago
- Check if a file path is an image☆96Updated 2 years ago
- Strip block comments or line comments from JavaScript code.☆117Updated last year
- Filter object keys and values into a new object☆103Updated last year
- Generate a regex from a string or array of strings.☆59Updated 4 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Read a chunk from a file☆123Updated last year
- Replace all substring matches in a string☆88Updated 4 years ago
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!☆86Updated 5 years ago
- Stringify and write JSON to a file atomically☆222Updated last year
- Add the file name and line numbers to all console logs.☆38Updated 4 years ago
- Check if a URL is absolute☆79Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Generate a unique random string☆85Updated 3 years ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Count the words in a string.☆17Updated 9 years ago
- Spawn commands like `child_process.exec` does but return a `ChildProcess`.☆47Updated 10 months ago
- Get rgba array from color string☆28Updated 6 months ago
- Generate a random integer☆86Updated 4 years ago
- Get the file extension and MIME type from a file☆26Updated 8 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Write data to the file system, creating any intermediate directories if they don't already exist. Used by flat-cache and many others!☆82Updated 5 years ago
- 📂 Lightweight filesize to human-readable / proportions w/o dependencies for node.js & browsers.☆232Updated 5 years ago
- This repository has been archived, use Enquirer instead.☆44Updated 6 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Basic object store with methods like get/set/extend/omit☆58Updated 3 years ago
- Get the extension of a given filename or path☆30Updated 7 years ago
- Check if a string is a URL☆85Updated 2 years ago
- Regular expression for matching email addresses☆142Updated last week