sindresorhus / component-typeLinks
Type assertions aka less-broken `typeof`
☆95Updated 2 years ago
Alternatives and similar repositories for component-type
Users that are interested in component-type are comparing it to the libraries listed below
Sorting:
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆84Updated 3 months ago
- Truncate a URL to a specific length☆62Updated 3 months ago
- Create a hash for file revving☆107Updated 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Locate a program or locally installed node module's executable☆78Updated 9 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆77Updated 10 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Indent each line in a string☆115Updated 3 years ago
- A better `Promise.race()`☆51Updated 3 years ago
- Convert an Observable to a Promise☆52Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Define a lazily evaluated property on an object☆67Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Conditional promise chains☆63Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Array.prototype.includes spec-compliant polyfill☆43Updated last week
- Check if a value is a plain object☆103Updated last year
- Returns a promise resolved in the next event loop - think `setImmediate()`☆72Updated 4 years ago
- Filter promises concurrently☆80Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆54Updated 3 years ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Get the path of the parent module☆79Updated 3 months ago
- Lazy number range generator☆83Updated 2 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated 2 years ago