ADD OR REMOVE BOM FOR WEBPACK
Remove a UTF8 BOM at the start of the stream.
Strip UTF-8 byte order mark (BOM) from a string
Get utf8 byte length of string
Strip a byte order mark (BOM) from a string.
Strip UTF-8 byte order mark (BOM) from a Uint8Array
Strip UTF-8 byte order mark (BOM) from a stream
A minimal UTF8 implementation for number arrays.
Remove a byte order mark (BOM) from a buffer.
Remove a UTF-8 byte order mark (BOM) from the beginning of a string.
A browser UTF-8 string <-> UInt8Array converter
A Node.JS UTF-8 string <-> UInt8Array converter
Add a UTF-8 BOM to files
Detect if a buffer is utf8 encoded.
Turn a string into an ArrayBuffer by using the UTF8 encoding.
A well-tested UTF-8 encoder/decoder written in JavaScript.
Truncate string to given length in bytes
single-function form of node's Buffer.toString(utf8)
Read and parse a JSON file
hint that that warns against using the BOM character at the beginning of a text file.
A JavaScript parser
Babel compiler core.
Implementation of the HTML encoding sniffer algo, with stream support
The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes