Showing 1-20 of 45,596 packages
A simple list of possible Typed Array names.
destroy a stream if possible
A helper to optimistically set Symbol.toStringTag, when possible.
Reduce initial definitions to the actual initial value, where possible.
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
Get an ArrayBuffer from a Buffer as fast as possible
shim for require.main.filename() that works in as many environments as possible
Plugin for serving static files as fast as possible.
Clear the terminal screen if possible
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Run a callback as soon as possible
Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible
Exit your process, gracefully (if possible)
Parse a JSON string that has git merge conflicts, resolving if possible
An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
Print an AST with as little whitespace as possible
Smallest/simplest possible means of using btoa with both Node and browserify
`Array#forEach()` but it’s possible to define where to move to next
Automatically chooses the SvelteKit adapter for your current environment, if possible.