package
Object clone supporting `date`, `regexp`, `array` and `object` types.
npm install component-cloneGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Object clone supporting date, regexp, array and object types.
var obj = clone({
a: 'b',
c: [
new Date(),
'tobi',
'jane'
]
})Clones obj recursively and returns it.
MIT
Registry package owners.
tootallnate
nathan@tootallnate.net
juliangruber
julian@juliangruber.com
yields
yields@icloud.com
ianstormtaylor
ian@ianstormtaylor.com
timoxley
secoif@gmail.com
mattmueller
mattmuelle@gmail.com
jonathanong
jonathanrichardong@gmail.com
queckezz
fabian.eichenberger@gmail.com
anthonyshort
antshort@gmail.com
nami-doc
vendethiel@hotmail.fr
dominicbarnes
dominic@dbarnes.info
clintwood
clint@anotherway.co.za
thehydroimpulse
dnfagnan@gmail.com
stephenmathieson
me@stephenmathieson.com
trevorgerhardt
trevorgerhardt@gmail.com
timaschew
timaschew@gmail.com
hughsk
hughskennedy@gmail.com
Estimated unpacked size across 2 packages.
4.0 kB
Includes dependencies.