|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
283 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 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;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.