source: frontend/node_modules/strip-bom/readme.md

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: 1.5 KB
Line 
1# strip-bom [![Build Status](https://travis-ci.org/sindresorhus/strip-bom.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-bom)
2
3> Strip UTF-8 [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8) (BOM) from a string
4
5From Wikipedia:
6
7> 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.
8
9---
10
11<div align="center">
12 <b>
13 <a href="https://tidelift.com/subscription/pkg/npm-strip-bom?utm_source=npm-strip-bom&utm_medium=referral&utm_campaign=readme">Get professional support for 'strip-bom' with a Tidelift subscription</a>
14 </b>
15 <br>
16 <sub>
17 Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
18 </sub>
19</div>
20
21---
22
23## Install
24
25```
26$ npm install strip-bom
27```
28
29
30## Usage
31
32```js
33const stripBom = require('strip-bom');
34
35stripBom('\uFEFFunicorn');
36//=> 'unicorn'
37```
38
39
40## Security
41
42To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
43
44
45## Related
46
47- [strip-bom-cli](https://github.com/sindresorhus/strip-bom-cli) - CLI for this module
48- [strip-bom-buf](https://github.com/sindresorhus/strip-bom-buf) - Buffer version of this module
49- [strip-bom-stream](https://github.com/sindresorhus/strip-bom-stream) - Stream version of this module
50
51
52## License
53
54MIT © [Sindre Sorhus](https://sindresorhus.com)
Note: See TracBrowser for help on using the repository browser.