1.0.1 • Published 2 years ago

better-pop v1.0.1

Weekly downloads
-
License
Unlicense
Repository
github
Last release
2 years ago

Better Pop

Better Pop is a better way to pop elements from arrays in Javascript.

Installation

Use the package manager npm to install better-pop.

npm install better-pop

Usage

const betterPop = require('better-pop');

let arr = ["there", "are", "elements"];
arr = betterPop(arr);
console.log(arr); // ["there", "are"]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

The Unlicense

1.0.1

2 years ago