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
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated last year
- Compressible Content-Type / mime checking.☆99Updated 10 months ago
- The cmd-shim used in npm☆76Updated 4 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Import a globally installed module☆57Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Start a promise chain☆58Updated 3 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆120Updated 9 months ago
- Check if a path is a file, directory, or symlink☆78Updated 6 months ago
- Find the closest package.json file☆162Updated last year
- Get the directory of globally installed packages and binaries☆75Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆108Updated 2 years ago
- Indent each line in a string☆114Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Write a package.json file☆89Updated 6 months ago
- ☆45Updated 2 years ago
- Copy files using glob patterns. Sync, async, promise or streams. (node.js utility)☆94Updated 3 years ago
- Easily handle defaults for your options☆73Updated last year
- Check if a path exists☆150Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Create and parse HTTP Content-Type header☆134Updated 6 months ago
- [DEPRECATED] Please use logger API https://github.com/webpack/webpack/pull/9436☆38Updated 5 years ago
- Manipulate the HTTP Vary header☆61Updated 9 months ago
- Make a callback- or promise-based function support both promises and callbacks.☆112Updated last year
- Watch globs and execute a function upon change, with intelligent defaults for debouncing and queueing.☆80Updated last year
- Check if something is a Node.js stream☆110Updated 3 months ago
- Check if your package was installed globally☆70Updated last year
- Copy a file☆121Updated last year