sindresorhus / environmentLinks
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
☆164Updated last year
Alternatives and similar repositories for environment
Users that are interested in environment are comparing it to the libraries listed below
Sorting:
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆222Updated 2 months ago
- Encode & decode strings, bytes, and integers to Base62☆92Updated 2 months ago
- Tiny terminal spinner☆276Updated 2 months ago
- Remove circular references from objects☆100Updated last year
- Async mutex lock for managing access to a shared resource☆139Updated 4 months ago
- Useful utilities for working with Fetch☆96Updated 3 weeks ago
- Create a multicast stream that lets multiple consumers independently read the same data☆182Updated 4 months ago
- Check if the system is in low power mode☆69Updated last year
- Serialize objects to JSON with handling for circular references☆161Updated 6 months ago
- A more usable typed storage API for Web Extensions☆72Updated 8 months ago
- Make a synchronous function have a timeout☆125Updated last year
- Rotate an array by a given number of steps☆46Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆269Updated last week
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆157Updated last month
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated last year
- Make a synchronous function asynchronous by running it in a worker☆252Updated last year
- Make a regular expression time out if it takes too long to execute☆218Updated 3 weeks ago
- Check if a value is a Fetch network error☆152Updated 2 months ago
- TypeScript declaration (.d.ts) bundler☆140Updated last month
- 🌈 a small library to print colourful messages☆62Updated 2 months ago
- Check if the process is running inside a container (Docker/Podman)☆76Updated 2 years ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆333Updated 9 months ago
- Lightweight tsconfig.json parser & paths resolver☆229Updated last month
- A lightweight, no dependency, pluggable CLI spinner library.☆57Updated 7 months ago
- A monorepo of tiny javascript libraries.☆71Updated last month
- Node CLI or module to calculate folder size☆82Updated last week
- Script to remove unnecessary properties from package.json on prepublish hook☆61Updated last month
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Find a file or directory by walking up parent directories — Zero dependencies☆80Updated 5 months ago
- Socket.dev optimized 📦 overrides✨☆33Updated last week