Module to strip the leading BOM, if present, from UTF-8 files.
- Source:
Methods
strip(text) → {string}
Strip the leading BOM, if present, from a string.
Parameters:
| Name | Type | Description |
|---|---|---|
text |
string | The string to strip. |
- Source:
Returns:
The stripped string.
- Type
- string