electerious / nice-tryLinks
Tries to execute a function and discards any error that occurs.
☆68Updated 2 months ago
Alternatives and similar repositories for nice-try
Users that are interested in nice-try are comparing it to the libraries listed below
Sorting:
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Make a function mimic another one☆97Updated last year
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Find the closest package.json file☆166Updated 6 months ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Check if a value is a plain object☆103Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆100Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Debounce a function☆130Updated last year
- Block the main thread for a given amount of time☆128Updated 2 years ago
- Check if a string is a URL☆87Updated 2 years ago
- Import and transpile JSX on the fly☆178Updated 2 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Get the path of the parent module☆79Updated 3 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Strip leading whitespace from each line in a string☆144Updated 2 months ago
- Check if your package was installed globally☆70Updated 2 years ago
- Check if stdout or stderr is interactive☆119Updated 2 years ago
- Check if a project is using Yarn☆66Updated 3 months ago
- Import a globally installed module☆58Updated last year
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Node.js releases data☆38Updated 2 weeks ago
- A better `Promise.race()`☆51Updated 3 years ago
- Check if something is a promise☆46Updated 4 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆111Updated last year
- Conditional promise chains☆63Updated 4 years ago
- Check if a URL is absolute☆80Updated 3 months ago
- A Map subclass with support for multiple keys for one entry.☆110Updated 5 months ago
- Indent each line in a string☆114Updated 3 years ago