electerious / nice-try
Tries to execute a function and discards any error that occurs.
☆66Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for nice-try
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the path of the caller module☆64Updated 3 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…☆91Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆54Updated last month
- programmatically publish and unpublish npm packages☆46Updated 2 years ago
- Reduce a list of values using promises into a promise for a value☆68Updated last year
- A playground for seeing how Terser minifies JavaScript☆15Updated 4 years ago
- Check if something is a promise☆47Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆79Updated last year
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆149Updated 2 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- Rollup plugin to automatically preserve shebangs in entry modules.☆48Updated 8 months ago
- Exit the process when the `esc` key is pressed☆57Updated 11 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Glob to regular expression with support for extended globs.☆70Updated 2 months ago
- CSS prefixing helpers in less than 1KB 🌈☆67Updated 4 years ago
- A better `Promise.race()`☆46Updated last year
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- convert estree ast to babel☆34Updated 2 weeks ago
- Make a function mimic another one☆91Updated 3 weeks ago
- ☆47Updated 6 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 4 years ago
- developit's generic eslint config for libraries☆21Updated 4 years ago