Package Exports
- strip-bom-string
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (strip-bom-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
strip-bom-string 
Strip a byte order mark (BOM) from a string.
Install
Install with npm
$ npm i strip-bom-string --save
Usage
var strip = require('strip-bom-string');
strip('\ufefffoo');
//=> 'foo'
Related projects
- copy: Copy files or directories using globs. | homepage
- cr: Strip windows carriage returns, or convert carriage returns to newlines. | homepage
- read-file: Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when
utf8
encoding… more | homepage
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Author
Jon Schlinkert
License
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on October 10, 2015.