astoilkov / good-try
Tries to execute a sync/async function, returns a specified default value if the function throws
☆17Updated 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
- Alternative JSON.stringify function with sorted keys, so the output is stable.☆13Updated last month
- Script to squash the commits in the current Git branch☆22Updated 2 years ago
- Set object values using property chaining syntax☆21Updated 2 years ago
- Glob search in constant time thanks to git cache☆26Updated 4 years ago
- Loads .env files in order based on process.env.NODE_ENV value with [stage].local support☆10Updated 3 years ago
- micro positioning library☆21Updated this week
- Repo with examples of building a Preact app using various bundlers☆17Updated last year
- You only need 5 icons to meet most needs!☆21Updated 2 years ago
- Tiny, flexible scroll listener with React support☆13Updated 4 years ago
- A little CLI for making TypeScript packages, cleanly and effortlessly.☆21Updated 9 months ago
- A tiny (128B) utility to check if a value is a prime number☆51Updated last year
- A safer loop for sync or async unique use cases.☆21Updated last year
- A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.☆13Updated 2 months ago
- A minimal HTTP server with good developer-experience and performance, for Node and beyond.☆28Updated last year
- 🌐 Interactive glob pattern tester☆27Updated 2 years ago
- A take on ergonomic cancellation and timeout propagation in JavaScript inspired by the Go context package☆13Updated last year
- A tiny (200B) utility to sort route patterns by specificity☆36Updated 5 years ago
- Performant and feature rich library for managing configurations/settings.☆15Updated last year
- 🚪 Find the entry points in a set of JavaScript files.☆41Updated 4 months ago
- Extra features for esbuild plugins (like onTransform hook)☆14Updated 6 months ago
- An absurdly small glob matcher that packs a punch.☆46Updated last week
- ☆17Updated 2 years ago
- Human readable durations☆10Updated 2 years ago
- 🤖 Script to automate creating built branches☆22Updated 2 years ago
- Tiny Island Boilerplate for Preact Islands and Nitro☆11Updated 11 months ago
- ☆33Updated 2 years ago
- A tiny (330B to 357B) and fast utility to find a package's hidden supply / cache directory.☆34Updated 4 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 11 months ago
- Tiny & fast alternative to path-to-regexp☆18Updated 2 years ago
- A way to create persistent fragments☆12Updated 2 years ago