plain-object-clone

Extremely fast function optimized for deep cloning json-serializable plain objects.

Usage no npm install needed!

<script type="module">
  import plainObjectClone from 'https://cdn.skypack.dev/plain-object-clone';
</script>

README

Plain Object Clone

Extremely fast function optimized for deep cloning json-serializable plain objects.

Install

npm install --save plain-object-clone

Usage

import clone from 'plain-object-clone';

clone ({ foo: 123 }); // => { foo: 123 }

License

MIT © Fabio Spampinato