index.d.ts
 1  /**
 2  Strip UTF-8 [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a string.
 3  
 4  @example
 5  ```
 6  import stripBom = require('strip-bom');
 7  
 8  stripBom('\uFEFFunicorn');
 9  //=> 'unicorn'
10  ```
11  */
12  declare function stripBom(string: string): string;
13  
14  export = stripBom;