選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
xzx 2ec7739298 [Version] V.3.8 4年前
..
index.js [Version] V.3.8 4年前
license [Version] V.3.8 4年前
package.json [Version] V.3.8 4年前
readme.md [Version] V.3.8 4年前

readme.md

strip-bom Build Status

Strip UTF-8 byte order mark (BOM) from a string

From Wikipedia:

The Unicode Standard permits the BOM in UTF-8, but does not require nor recommend its use. Byte order has no meaning in UTF-8.

Install

$ npm install --save strip-bom

Usage

const stripBom = require('strip-bom');

stripBom('\uFEFFunicorn');
//=> 'unicorn'

License

MIT © Sindre Sorhus