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
- 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
- Get the path of the caller module☆64Updated 3 years ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- Check if argv has a specific flag☆94Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Reduce a list of values using promises into a promise for a value☆69Updated 2 years ago
- Check if a string is a URL☆85Updated last year
- Check if your package was installed globally☆70Updated last year
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Check if stdout or stderr is interactive☆116Updated last year
- Check if a value is a plain object☆102Updated 10 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Make a function mimic another one☆94Updated 4 months ago
- Check if something is a promise☆46Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Like read-package-json, but faster☆48Updated 5 months ago
- Lazy number range generator☆81Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Let's get some bad javascript examples.☆28Updated 5 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Rewrite `import` statements as `require()`s; via RegExp☆31Updated 3 years ago
- Standard NPM Package Format☆42Updated 2 years ago
- useTypewriter☆43Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Get PID from a port☆79Updated 4 years ago
- Helper functions for implementing the idle-until-urgent pattern☆36Updated 6 years ago