remove-properties
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    🔥 Remove properties from object

    easy-to-use, zero-dependency property remover.

    Typedefinitions are built-in

    build supportServer totalDownloads weeklyDownloads version stars license

    🐮 Installation

    • Using NPM: npm install remove-properties --save
    • Using Yarn: yarn add remove-properties

    🧶 Usage

    const { removeProperties } = require("remove-properties");
    
    const myObj = { a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 7 };
    
    removeProperties(myObj, ["a", "c", "f"]); // => { b: 2, d: 4, e: 5, g: 7 }

    🎈 Options

    Name Type Required Default
    obj Object ✔️ -
    remove Array{string} ✔️ -

    🧦 Contributing

    Fell free to use GitHub's features.

    Keywords

    none

    Install

    npm i remove-properties

    DownloadsWeekly Downloads

    1

    Version

    2.0.0

    License

    GPL-3.0

    Unpacked Size

    89.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • leydihavuc