silverwind / file-extension
Get the extension of a given filename or path
☆30Updated 6 years ago
Related projects: ⓘ
- Get the path of the caller module☆64Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Convert a string to a camel case.☆35Updated 8 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆45Updated 2 years ago
- Get the path of the parent module☆77Updated 10 months ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆52Updated last year
- Conditional promise chains☆59Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Returns an array filled with the specified input☆43Updated 2 years ago
- capitalize a string, or all words in a string☆39Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆67Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Check if a URL is absolute☆77Updated 3 years ago
- Log the value/error of a promise☆24Updated 3 years ago
- Filter object keys and values into a new object☆100Updated 3 months ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Create an array with values that are present in the first input array but not additional ones☆37Updated 3 years ago
- Check if it's the first time the process is run☆79Updated 2 years ago
- Prepend data to a file.☆34Updated 11 months ago
- Rename a function☆45Updated 10 months ago
- [DEPRECATED] Node.js `os.homedir()` ponyfill☆61Updated 3 years ago
- A better `Promise.race()`☆45Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 2 years ago
- Iterate over promises serially☆49Updated 2 years ago
- Create an array without duplicates☆70Updated 3 years ago
- Map over promises serially☆46Updated 3 years ago
- Conditional promise catch handler☆37Updated 3 years ago