Sudoo-Duplicate

Continuous Integration codecov npm version downloads

:clipboard: Double object, double happiness

Install

npm install @sudoo/duplicate --save
# Or
yarn add @sudoo/duplicate

Usage

import { duplicate } from "@sudoo/duplicate";

const variable = {
    //...
}; // something you love
const result = duplicate(variable); // love doubled