fast-text-encoding icon indicating copy to clipboard operation
fast-text-encoding copied to clipboard

Add a "ponyfill" version

Open wangcheng opened this issue 2 years ago • 0 comments

Add a "ponyfill" version that doesn't mutate the global object. So we can use this library without mutating the global environment.

import { FastTextEncoder, FastTextDecoder } from 'fast-text-encoding/ponyfill'

The ponyfill.js file will be built straightly into package folder so no need to copy the file.

wangcheng avatar Oct 12 '23 09:10 wangcheng