electerious / nice-tryLinks
Tries to execute a function and discards any error that occurs.
☆67Updated 2 weeks 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☆124Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 2 weeks ago
- Get the real path of the system temp directory☆81Updated 3 years ago
- Debounce a function☆127Updated last year
- Check if a value is a plain object☆102Updated last year
- Check if a string is a URL☆85Updated 2 years ago
- Regular expression for matching reserved filename characters☆50Updated last week
- Make a function mimic another one☆95Updated 10 months ago
- Check if your package was installed globally☆70Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 4 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated last week
- Filter object keys and values into a new object☆104Updated last year
- Check if a project is using Yarn☆65Updated last week
- Find the closest package.json file☆165Updated 3 months ago
- Check if a URL is absolute☆79Updated last week
- A better `Promise.race()`☆46Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 2 weeks ago
- Convert RGB color to HEX☆119Updated 2 years ago
- __dirname and __filename for ES Modules environment☆68Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Sort the keys of an object☆105Updated last month
- Get the path of the parent module☆78Updated last week
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆98Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if something is a promise☆46Updated 4 years ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆154Updated 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…☆95Updated 2 years ago
- Minimalistic update notifications for command line interfaces☆167Updated last year
- Check if stdout or stderr is interactive☆116Updated last year