electerious / nice-try
Tries to execute a function and discards any error that occurs.
☆66Updated 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
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check if a project is using Yarn☆66Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 9 months ago
- Block the main thread for a given amount of time☆124Updated last year
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆80Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆68Updated last year
- Make a function mimic another one☆94Updated 3 months ago
- CSS prefixing helpers in less than 1KB 🌈☆67Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if argv has a specific flag☆94Updated 3 years ago
- Like read-package-json, but faster☆47Updated 3 months ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- Filter object keys and values into a new object☆101Updated 8 months 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…☆91Updated 2 years ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Check if a string is a URL☆84Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- A tiny (148B) weighted round robin utility☆166Updated 5 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Lazy number range generator☆82Updated last year
- Check if stdout or stderr is interactive☆116Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Run code in sandbox with in-memory module resolution☆62Updated 2 years ago
- Debounce a function☆127Updated 4 months ago
- Check if something is a promise☆46Updated 3 years ago