blob: 8f2a52480b770585f22d54dfa0f4e915a6408d06 [file] [log] [blame]
/**
Strip UTF-8 [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a string.
@example
```
import stripBom = require('strip-bom');
stripBom('\uFEFFunicorn');
//=> 'unicorn'
```
*/
declare function stripBom(string: string): string;
export = stripBom;