Nomnom Pumpernickle Muffins
    Wondering what’s next for npm?Check out our public roadmap! »

    @amphibian/remove-from-array

    2.0.3 • Public • Published

    remove-from-array

    build status

    remove an index from an array

    npm install @amphibian/remove-from-array
    
    var removeFromArray = require('@amphibian/remove-from-array');
    var mammals = ['cat', 'bird', 'dog', 'horse', 'fish'];
     
    removeFromArray('fish', mammals);
    removeFromArray('bird', mammals);
     
    console.log(mammals); // > ['cat', 'dog', 'horse']

    Keywords

    none

    Install

    npm i @amphibian/remove-from-array

    DownloadsWeekly Downloads

    10

    Version

    2.0.3

    License

    ISC

    Last publish

    Collaborators

    • avatar