ben-reilly

1.0.6 • Public • Published

ben-reilly

39882 9318

Deep clone utility, optimal code paths for Node.js and Browsers

const clone = require('ben-reilly')
const copy = clone(anyObject)

This library has different implementations for Node.js and Browsers. In Node.js it will use the very fast v8 serializer and uses realistic-structured-clone in the browser.

IMG_0260

Library is named after Ben Reilly the "Scarlet Spider," a clone of Peter Parker.

Readme

Keywords

none

Package Sidebar

Install

npm i ben-reilly

Weekly Downloads

0

Version

1.0.6

License

(Apache-2.0 AND MIT)

Unpacked Size

3.98 kB

Total Files

7

Last publish

Collaborators

  • mikeal