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
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Import a globally installed module☆58Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Compressible Content-Type / mime checking.☆100Updated 11 months ago
- The cmd-shim used in npm☆76Updated 5 months ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Read a package.json file☆165Updated last year
- Start a promise chain☆58Updated 3 years ago
- Check if a path exists☆150Updated 3 years ago
- Find the closest package.json file☆162Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years 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
- ☆45Updated 2 years ago
- Indent each line in a string☆113Updated 2 years ago
- Manipulate the HTTP Vary header☆61Updated 10 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Recursively read a directory☆63Updated 7 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Easily calculate the relative path from file A to file B in Node.js project. Will calculate correctly from a file to a directory, file to…☆34Updated 2 years ago
- Convert a value to an array☆129Updated 3 years ago
- Provide multiple patterns to node-glob☆57Updated 2 years ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Tokenizes a string that represents a regular expression.☆94Updated last year
- Get the auth token set for an npm registry☆35Updated last month
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- Flatten a multi-dimensional array in JavaScript.☆86Updated last year