RyanZim / universalify
Make a callback- or promise-based function support both promises and callbacks.
☆113Updated last year
Alternatives and similar repositories for universalify:
Users that are interested in universalify are comparing it to the libraries listed below
- Read a package.json file☆166Updated last year
- Find the closest package.json file☆161Updated last year
- Create and parse HTTP Content-Type header☆132Updated 6 months ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- Parse the things that can be arguments to `npm install`☆128Updated 3 weeks ago
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 5 months ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 2 months ago
- Infer the content-type of a request.☆228Updated 4 months ago
- Monkey-patches for file system related things☆112Updated last week
- Check if something is a Node.js stream☆110Updated 2 months ago
- Monorepo for NodeLib libraries☆70Updated last week
- Start a promise chain☆58Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆239Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆107Updated 2 years ago
- Import a globally installed module☆57Updated last year
- HTTP request freshness testing☆161Updated 4 months ago
- Sort the keys of an object☆102Updated 4 months ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Compressible Content-Type / mime checking.☆98Updated 9 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- ☆138Updated 4 years ago
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 2 years ago
- Finds the common standard cache directory☆157Updated 10 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Import a module while bypassing the cache☆283Updated 7 months ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆91Updated 2 years ago