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:
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 4 years ago
- Count the words in a string.☆17Updated 9 years ago
- Recursively omit empty properties from an object. Omits empty objects, arrays, strings, and optionally zero. Similar results to what you …☆73Updated 5 years ago
- Strip block comments or line comments from JavaScript code.☆117Updated last year
- Check if a file path is an image☆95Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- Check if a URL is absolute☆79Updated 4 years ago
- Get the real path of the system temp directory☆81Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Generate a regex from a string or array of strings.☆60Updated 4 years ago
- Replace all substring matches in a string☆88Updated 4 years ago
- Generate a unique random string☆85Updated 3 years ago
- Generate a random integer☆86Updated 4 years ago
- Deeply assign the enumerable properties of source objects to a destination object.☆78Updated 3 years ago
- Cross-browser element class manipulation☆51Updated 5 years ago
- Sort the keys of an object☆104Updated last week
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Make a callback- or promise-based function support both promises and callbacks.☆111Updated last year
- Convert a string to a camel case.☆35Updated 8 years ago
- Get consecutively unique elements from an array☆74Updated last year
- Basic object store with methods like get/set/extend/omit☆57Updated 3 years ago
- Range header field parser☆93Updated this week
- Round a number to a specific number of decimal places: 1.234 → 1.2☆158Updated 2 weeks ago
- Check if a string is a URL☆85Updated 2 years ago
- Convert a value to an array☆129Updated 3 years ago
- Get the extension of a given filename or path☆30Updated 7 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Spawn commands like `child_process.exec` does but return a `ChildProcess`.☆47Updated 11 months ago
- Flatten a multi-dimensional array in JavaScript.☆87Updated 2 months ago