Popularity
2.1
Declining
Activity
0.0
Stable
106
8
21

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Text     Miscellaneous     Unicode     String     Trim     Delete     Remove     Strip     Order     Utf-8     Utf8     Mark     Byte     Bom    
Latest version: v4.0.0

strip-bom alternatives and similar modules

Based on the "Miscellaneous" category.
Alternatively, view strip-bom alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of strip-bom or a related project?

Add another 'Miscellaneous' Module

README

strip-bom Build Status

Strip UTF-8 byte order mark (BOM) from a string

From Wikipedia:

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.

Install

$ npm install strip-bom

Usage

const stripBom = require('strip-bom');

stripBom('\uFEFFunicorn');
//=> 'unicorn'

Related


Get professional support for 'strip-bom' with a Tidelift subscription Tidelift helps make open source sustainable for maintainers while giving companiesassurances about security, maintenance, and licensing for their dependencies.