0.2.0 • Published 2 years ago

clone-into v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
2 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

2 years ago

0.1.4

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

7 years ago