Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryuhojin/clonedeep-simple
[js library] super fast and easy deep clone
https://github.com/ryuhojin/clonedeep-simple
clone clonedeep deepclone javascript library npmjs
Last synced: about 1 month ago
JSON representation
[js library] super fast and easy deep clone
- Host: GitHub
- URL: https://github.com/ryuhojin/clonedeep-simple
- Owner: ryuhojin
- Created: 2022-01-24T03:37:00.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-24T04:10:50.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T04:20:59.235Z (3 months ago)
- Topics: clone, clonedeep, deepclone, javascript, library, npmjs
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clonedeep-simple
> HELLO , THIS IS SIMPLE DEEP CLONE LIBRARY
> IF YOU WANT DEEP COPY FOR SOMETHING,
> JUST, USE THIS LIBRARY!> ### HOW TO USE
#### IMPORT
```javascript
import clone from 'clonedeep-simple'
```
#### EXAMPLE USE```javascript
const origin1 = [1,2,3,4,5];
const origin2 = {a:1,b:2};const copy1 = clone(origin1);
const copy2 = clone(origin2);origin1 == copy1 //false
origin2 == copy2 //false
```EASY TO USE, HIGH PERFORMANCE TO USE
JUST USE! DEEPCLONE!IF YOU WANT CONTRIBUTE THIS LIBRARY
- [deepclone](https://github.com/ryuhojin/clonedeep-simple) JOIN JS.
---
> 안녕하세요, 간단한 깊은복사 라이브러리 입니다.
> JS 이용시 깊은복사가 필요할때 이용하세요> ### 사용방법
#### 임포트
```javascript
import clone from 'clonedeep-simple'
```
#### 사용 예시```javascript
const origin1 = [1,2,3,4,5];
const origin2 = {a:1,b:2};const copy1 = clone(origin1);
const copy2 = clone(origin2);origin1 == copy1 //false
origin2 == copy2 //false
```라이브러리를 개선하실 분은 컨트리뷰트 해주세요
- [deepclone] (https://github.com/ryuhojin/clonedeep-simple) 함께해주세요.