This package has been deprecated

Author message:

This package has been renamed to @emoji-gen/clone-into. Install using @emoji-gen/clone-into instead.

clone-into
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

clone-into

npm test License

🔥 Wrapper function for Firefox's cloneInto

Getting started

$ yarn add clone-into

or

$ npm install --save clone-into

If it execute on Google Chrome or other browsers, this function return an argument obj as it is.

const cloneInto = require('clone-into')

const obj = { data: [ 1, 2, 3 ] }
const clonedObj = cloneInto(obj, document.defaultView)

Features

  • TypeScript built-in supports

See also

License

MIT © Emoji Generator

Readme

Keywords

none

Package Sidebar

Install

npm i clone-into

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

3.34 kB

Total Files

5

Last publish

Collaborators

  • pine613