You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

clone-immutable

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clone-immutable

Creates an immutable clone of an input object.

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

clone-immutable

Creates an immutable clone of an input object

Installation

yarn add clone-immutable

Usage

import cloneImmutable from 'clone-immutable';

const source = {
  name: 'Borat',
};

const clone = cloneImmutable(source);

// no changes in clone is accepted

Keywords

clone

FAQs

Package last updated on 26 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts