astoilkov / good-try
Tries to execute a sync/async function, returns a specified default value if the function throws
☆18Updated 2 years ago
Alternatives and similar repositories for good-try
Users that are interested in good-try are comparing it to the libraries listed below
Sorting:
- Set object values using property chaining syntax☆21Updated 2 years ago
- Alternative JSON.stringify function with sorted keys, so the output is stable.☆13Updated 4 months ago
- A safer loop for sync or async unique use cases.☆21Updated last year
- Script to squash the commits in the current Git branch☆22Updated 2 years ago
- Glob search in constant time thanks to git cache☆26Updated 4 years ago
- Tiny & fast alternative to path-to-regexp☆18Updated 2 years ago
- A work-in-progress HTML sanitizer that strives for: performance like window.Sanitizer, readiness like DOMPurify, and ability to run in a …☆13Updated last year
- Simple utils to pack arrays, objects and strings to a flat object (and back again).☆17Updated last month
- Human readable durations☆10Updated 2 years ago
- Fast & tiny DOM differ☆16Updated last year
- Repo with examples of building a Preact app using various bundlers☆17Updated last year
- share those libraries and ideas that you want a tiny and minimal version of them.☆10Updated 2 months ago
- Get all entry-points for an npm package. Supports the `exports` field in `package.json`☆24Updated 7 months ago
- A minimal HTTP server with good developer-experience and performance, for Node and beyond.☆28Updated last year
- A little CLI for making TypeScript packages, cleanly and effortlessly.☆22Updated last year
- A tiny isomorphic fast function for generating a cryptographically random hex string.☆14Updated 4 months ago
- Easy persisted memo object for Node.js☆29Updated last year
- Tiny Island Boilerplate for Preact Islands and Nitro☆11Updated last year
- You only need 5 icons to meet most needs!☆21Updated 3 years ago
- A tiny fully-featured debounce and throttle implementation.☆22Updated 4 months ago
- An absurdly small glob matcher that packs a punch.☆49Updated 2 months ago
- The definitive collection of is* functions for runtime type checking. Lodash-compatible, tree-shakable, with types.☆16Updated 4 months ago
- micro positioning library☆21Updated 2 months ago
- A tiny (330B to 357B) and fast utility to find a package's hidden supply / cache directory.☆34Updated 4 years ago
- alien-signals with a Preact signals like API☆18Updated this week
- A tiny (200B) utility to sort route patterns by specificity☆36Updated 5 years ago
- Push items to an array at their correct sort-position☆9Updated this week
- A tiny (128B) utility to check if a value is a prime number☆51Updated 2 years ago
- A simple, fast and configurable CSV parser.☆14Updated 4 months ago
- A language for writing safe expressions, in a tiny subset of JavaScript.☆17Updated last year