You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
459 B

3 years ago
const TextEncoder = require('./lib/TextEncoder');
const TextDecoder = require('./lib/TextDecoder');
const EncodingIndexes = require('./encoding-indexes');
const { getEncoding } = require('./lib');
//
// Implementation of Encoding specification
// https://encoding.spec.whatwg.org/
//
module.exports.TextEncoder = TextEncoder
module.exports.TextDecoder = TextDecoder
module.exports.EncodingIndexes = EncodingIndexes
module.exports.getEncoding = getEncoding