sindresorhus / strip-bom
Strip UTF-8 byte order mark (BOM) from a string
☆111Updated 3 years ago
Alternatives and similar repositories for strip-bom:
Users that are interested in strip-bom are comparing it to the libraries listed below
- Check if a path exists☆150Updated 2 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Find the closest package.json file☆161Updated last year
- Import a globally installed module☆57Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- Compressible Content-Type / mime checking.☆98Updated 9 months ago
- The cmd-shim used in npm☆76Updated 3 months ago
- Read a package.json file☆166Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- ☆45Updated 2 years ago
- Start a promise chain☆58Updated 3 years ago
- Convert a value to an array☆130Updated 3 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Write a package.json file☆89Updated 5 months ago
- Check if a path is a file, directory, or symlink☆77Updated 5 months ago
- Create and parse HTTP Content-Type header☆132Updated 6 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated last year
- Flatten a multi-dimensional array in JavaScript.☆86Updated last year
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 2 months ago
- Detect the indentation of code☆196Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Check if something is a Node.js stream☆110Updated 2 months ago
- normalizes package metadata, typically found in package.json file.☆197Updated 3 months ago
- Check if your package was installed globally☆70Updated last year
- Indent each line in a string☆113Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Easily handle defaults for your options☆73Updated last year