gjtorikian / isBinaryFile
Detects if a file is binary in Node.js. Similar to Perl's -B
☆165Updated 4 months ago
Alternatives and similar repositories for isBinaryFile:
Users that are interested in isBinaryFile are comparing it to the libraries listed below
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Create and parse HTTP Content-Type header☆134Updated 8 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…☆92Updated 2 years ago
- Read a package.json file☆165Updated last year
- Find the closest package.json file☆162Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆121Updated 3 weeks ago
- Monorepo for NodeLib libraries☆70Updated 2 months ago
- Sort the keys of an object☆101Updated 6 months ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- Make a callback- or promise-based function support both promises and callbacks.☆111Updated last year
- Require global npm as a local node module.☆32Updated 2 years ago
- Write a package.json file☆88Updated 7 months ago
- Detect the dominant newline character of a string☆55Updated last year
- when you want to fire an event no matter how a process exits.☆190Updated last year
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!☆86Updated 4 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- programmatic npm API☆110Updated 3 years ago
- Start a promise chain☆58Updated 3 years ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- 🚸 Cross platform children list of a PID.☆124Updated 2 years ago
- normalizes package metadata, typically found in package.json file.☆198Updated 5 months ago
- Check if your package was installed globally☆70Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Infer the content-type of a request.☆228Updated 6 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Check if a value is a plain object☆102Updated 10 months ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Manipulate the HTTP Vary header☆61Updated 10 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆334Updated 5 months ago