Detect, enforce or strip BOM signatures.
npm install bombom> Detect, enforce or strip BOM signatures.
[![Build Status][]](http://travis-ci.org/jedmao/bombom)
[![Dependency Status][]](https://gemnasium.com/jedmao/bombom)
[![NPM version][]](http://badge.fury.io/js/bombom)
[![Views][]](https://sourcegraph.com/github.com/jedmao/bombom)

``bash`
$ npm install bombom
`ts`
///
import bombom = require('bombom');
`js`
var bombom = require('bombom');
) used to point to a particular BOM signature. See pre-registered BOM types below.
- BOM signature: This is a small NodeBuffer with an array of hex codes in it. For your convenience, you can register a new BOM type and signature by providing a simple number[].Pre-registered BOM Types
- utf8: new Buffer([0xEF, 0xBB, 0xBF])
- utf16le: new Buffer([0xFF, 0xFE])
- utf16be: new Buffer([0xFE, 0xFF])
- utf32le: new Buffer([0xFF, 0xFE, 0x00, 0x00])
- utf32be: new Buffer([0x00, 0x00, 0xFE, 0xFF])`Released under the MIT license.

[Build Status]: https://secure.travis-ci.org/jedmao/bombom.png?branch=master
[Dependency Status]: https://gemnasium.com/jedmao/bombom.png
[NPM version]: https://badge.fury.io/js/bombom.png
[Views]: https://sourcegraph.com/api/repos/github.com/jedmao/bombom/counters/views-24h.png