🔥 Wrapper function for Firefox's cloneInto
$ npm install --save @emoji-gen/clone-intoIf it execute on Google Chrome or other browsers, this function return an argument obj as it is.
import { cloneInto } from '@emoji-gen/clone-into'
const obj = { data: [ 1, 2, 3 ] }
const clonedObj = cloneInto(obj, document.defaultView)- Supports TypeScript
- Supports both CommonJS and ESModules
$ npm run build
$ npm test
Update the version in package.json to the version you want to release.
Then, manually trigger the publish.yml workflow via the workflow_dispatch event to create a release.
MIT © Emoji Generator