electerious / nice-tryLinks
Tries to execute a function and discards any error that occurs.
☆68Updated this week
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☆64Updated last month
- Check if your package was installed globally☆69Updated last year
- Check if argv has a specific flag☆93Updated 4 years ago
- Make a function mimic another one☆96Updated 11 months ago
- Check if a project is using Yarn☆65Updated last month
- Import a globally installed module☆57Updated last year
- Check if a value is a plain object☆103Updated last year
- Reduce a list of values using promises into a promise for a value☆72Updated 2 years ago
- Check if a URL is absolute☆80Updated last month
- Debounce a function☆128Updated last year
- Convert RGB color to HEX☆121Updated 2 years ago
- Check if a string is a URL☆87Updated 2 years ago
- Get the path of the parent module☆78Updated last month
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Node.js releases data☆37Updated last week
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆64Updated last month
- Get the path of the caller module☆66Updated 4 years ago
- Find the closest package.json file☆165Updated 4 months ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆98Updated 2 years ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Block the main thread for a given amount of time☆126Updated 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
- A better `Promise.race()`☆47Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- Check if something is a promise☆46Updated 4 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆79Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated last month
- Check if stdout or stderr is interactive☆118Updated last year
- Detect whether a terminal emulator supports hyperlinks☆55Updated 8 months ago