electerious / nice-tryLinks
Tries to execute a function and discards any error that occurs.
☆67Updated 2 years ago
Alternatives and similar repositories for nice-try
Users that are interested in nice-try are comparing it to the libraries listed below
Sorting:
- Block the main thread for a given amount of time☆125Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Check if a project is using Yarn☆66Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Make a function mimic another one☆94Updated 7 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Import a globally installed module☆58Updated last year
- 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…☆93Updated 2 years ago
- Like read-package-json, but faster☆49Updated last month
- 🤸♀️ Redirect to an npm package's repository page☆84Updated 8 months ago
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Check if stdout or stderr is interactive☆116Updated last year
- Check if argv has a specific flag☆95Updated 3 years ago
- Filter object keys and values into a new object☆101Updated last year
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Break out of a promise chain☆23Updated 4 years ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- Tiny CSS vendor prefixer and property alias mapper for runtime styling solutions☆59Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated last month
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆80Updated 2 years ago