Socket
Socket
Sign inDemoInstall

nanoclone

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "nanoclone",
"version": "0.2.0",
"version": "0.2.1",
"description": "300B to deep clone JavaScript objects",

@@ -5,0 +5,0 @@ "license": "MIT",

# nanoclone
[![license](https://img.shields.io/github/license/kelin2025/nanoclone.svg)](https://github.com/kelin2025/nanoclone/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/v/nanoclone.svg)](https://npmjs.com/package/nanoclone)
Only **220B** to deep clone JavaScript objects
Only **300B** to deep clone JavaScript objects
## Is it small enough?
See the size of the most popular **[clone](https://www.npmjs.com/package/clone)** npm package with **250M+** downloads
![image](https://user-images.githubusercontent.com/4208480/34631395-30df289c-f281-11e7-8442-01502af2097a.png)
And nanoclone size:
![image](https://user-images.githubusercontent.com/4208480/34631452-7db39ae0-f281-11e7-89ab-f42d1211e147.png)
![image](https://user-images.githubusercontent.com/4208480/34631395-30df289c-f281-11e7-8442-01502af2097a.png)
And nanoclone size:
![image](https://user-images.githubusercontent.com/4208480/35292759-9c839f06-0082-11e8-9196-d710d530a74b.png)

@@ -35,3 +35,3 @@ ## Supported

num: 2,
arr: [1, 2, 3]
arr: [1, 2, 3],
nested: {

@@ -38,0 +38,0 @@ obj: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc