0.2.0 • Published 3 years ago

clone-into v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

clone-into

npm test License

:fire: 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

0.2.0

3 years ago

0.1.4

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

8 years ago