astoilkov / good-try
Tries to execute a sync/async function, returns a specified default value if the function throws
☆16Updated last year
Related projects ⓘ
Alternatives and complementary repositories for good-try
- Alternative JSON.stringify function with sorted keys, so the output is stable.☆13Updated 8 months ago
- 🤖 Script to automate creating built branches☆21Updated 2 years ago
- A safer loop for sync or async unique use cases.☆17Updated 9 months ago
- Set object values using property chaining syntax☆21Updated 2 years ago
- Script to squash the commits in the current Git branch☆22Updated last year
- An absurdly small glob matcher that packs a punch.☆35Updated 7 months ago
- a CLI that synchronizes two folders with minimal writes☆14Updated 2 years ago
- Tiny & fast alternative to path-to-regexp☆18Updated last year
- A Node.js module for looking up running processes☆11Updated last week
- Fast and minimal JS <head> server-side writer and client-side manager.☆25Updated last month
- Fast & tiny DOM differ☆16Updated 8 months ago
- A tiny language to write mapping functions as strings☆16Updated 4 months ago
- A take on ergonomic cancellation and timeout propagation in JavaScript inspired by the Go context package☆13Updated last year
- A little CLI for making TypeScript packages, cleanly and effortlessly.☆20Updated 6 months ago
- Extra features for esbuild plugins (like onTransform hook)☆14Updated 2 months ago
- Components for State Machines, using Generator Functions☆33Updated last year
- Glob search in constant time thanks to git cache☆26Updated 3 years ago
- A collection of functions for working with different casings.☆21Updated 7 months ago
- Repo with examples of building a Preact app using various bundlers☆17Updated last year
- A minimalistic and flexible templating engine, inspired by Handlebars.☆22Updated last year
- 🚪 Find the entry points in a set of JavaScript files.☆41Updated last month
- Walk up the directory tree until a specified path is found.☆13Updated 2 months ago
- A work-in-progress HTML sanitizer that strives for: performance like window.Sanitizer, readiness like DOMPurify, and ability to run in a …☆13Updated 7 months ago
- A tiny function for parsing process.argv, a modern rewrite of a sensible subset of minimist.☆13Updated 2 months ago
- A minimal HTTP server with good developer-experience and performance, for Node and beyond.☆28Updated 10 months ago
- Push items to an array at their correct sort-position☆8Updated this week
- ☆15Updated 2 months ago
- Tiny, flexible scroll listener with React support☆13Updated 3 years ago
- A simple runner for npm scripts that can execute multiple scripts, in serial or in parallel.☆11Updated last year
- 🎨 redlet(), greenlet(), bluelet(), and more threading helpers for web Workers☆35Updated 4 months ago