sindresorhus / p-cancelableLinks
Create a promise that can be canceled
☆444Updated 2 years ago
Alternatives and similar repositories for p-cancelable
Users that are interested in p-cancelable are comparing it to the libraries listed below
Sorting:
- Simple “Least Recently Used” (LRU) cache☆705Updated last month
- Memoize promise-returning & async functions☆407Updated last year
- Clean up error stack traces☆340Updated 2 years ago
- HTTP/1+2 Fetch API client for Node.js☆336Updated 2 years ago
- Timeout a promise after a specified amount of time☆290Updated 5 months ago
- Delay a promise a specified amount of time☆614Updated last year
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆355Updated 11 months ago
- Promisify an event by waiting for it to be emitted☆436Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆349Updated 7 months ago
- Read the closest package.json file☆268Updated last year
- Get a random temporary file or directory path☆429Updated last year
- Matches strings against configurable strings, globs, regular expressions, and/or functions☆395Updated 2 years ago
- Find a file or directory by walking up parent directories☆609Updated 2 months ago
- Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called☆274Updated 7 months ago
- Automatically bind methods to their class instance☆460Updated 2 years ago
- Import a module while bypassing the cache☆284Updated 4 months ago
- Find the root directory of a Node.js project or npm package☆244Updated last year
- A tiny (394B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇♂️☆586Updated last year
- Get callsites from the V8 stack trace API☆268Updated 11 months ago
- Quickly scan for CLI flags and arguments☆649Updated last year
- Safely and quickly serialize JavaScript objects☆351Updated 5 months ago
- Properly hijack require☆402Updated 2 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆724Updated last month
- Deterministic JSON.stringify() - a faster version of @substack's json-stable-strigify without jsonify.☆307Updated last year
- Simple micro templating☆363Updated 2 years ago
- An implementation of WHATWG AbortController interface.☆308Updated 4 years ago
- Make a directory and its parents if needed - Think `mkdir -p`☆479Updated last year
- 🍔 Build DOM elements using JSX automatically☆519Updated 9 months ago
- Copy files☆429Updated 10 months ago
- A tiny (294b) browser utility for encoding & decoding a querystring.☆453Updated 2 years ago