{"_id":"unordered-array-remove","_rev":"235492","name":"unordered-array-remove","description":"Efficiently remove an element from an unordered array without doing a splice","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2023-03-24T16:23:13.000Z","created":"2015-12-30T14:33:01.550Z","1.0.2":"2016-03-30T02:15:15.007Z","1.0.1":"2015-12-30T14:35:19.352Z","1.0.0":"2015-12-30T14:33:01.550Z"},"users":{},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"https://github.com/mafintosh/unordered-array-remove.git"},"versions":{"1.0.2":{"name":"unordered-array-remove","version":"1.0.2","description":"Efficiently remove an element from an unordered array without doing a splice","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.4.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/unordered-array-remove.git"},"scripts":{"test":"tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/unordered-array-remove/issues"},"homepage":"https://github.com/mafintosh/unordered-array-remove","gitHead":"042b0d664b0b1a73c41e084998caad0df29d25a1","_id":"unordered-array-remove@1.0.2","_shasum":"c546e8f88e317a0cf2644c97ecb57dba66d250ef","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"c546e8f88e317a0cf2644c97ecb57dba66d250ef","size":1788,"noattachment":false,"key":"/unordered-array-remove/-/unordered-array-remove-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/unordered-array-remove/download/unordered-array-remove-1.0.2.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/unordered-array-remove-1.0.2.tgz_1459304113975_0.46625813958235085"},"directories":{},"publish_time":1459304115007,"_hasShrinkwrap":false,"_cnpm_publish_time":1459304115007,"_cnpmcore_publish_time":"2021-12-16T23:46:27.852Z"},"1.0.1":{"name":"unordered-array-remove","version":"1.0.1","description":"Efficiently remove an element from an unordered array without doing a splice","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.4.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/unordered-array-remove.git"},"scripts":{"test":"tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/unordered-array-remove/issues"},"homepage":"https://github.com/mafintosh/unordered-array-remove","gitHead":"6556a5b8a69b3b24fde36fefcf7ea7850e700e9c","_id":"unordered-array-remove@1.0.1","_shasum":"b05f1595f7fcf8d44d114b0def2334b5d84c6718","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"b05f1595f7fcf8d44d114b0def2334b5d84c6718","size":1772,"noattachment":false,"key":"/unordered-array-remove/-/unordered-array-remove-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/unordered-array-remove/download/unordered-array-remove-1.0.1.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1451486119352,"_hasShrinkwrap":false,"_cnpm_publish_time":1451486119352,"_cnpmcore_publish_time":"2021-12-16T23:46:28.219Z"},"1.0.0":{"name":"unordered-array-remove","version":"1.0.0","description":"Efficiently remove an element from an unordered array without doing a splice","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.4.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/unordered-array-remove.git"},"scripts":{"test":"tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/unordered-array-remove/issues"},"homepage":"https://github.com/mafintosh/unordered-array-remove","gitHead":"4a3db583ce4b7904c8f96962997b0c697e937998","_id":"unordered-array-remove@1.0.0","_shasum":"32540e37fe7328830bf02613d8d28f3199a57a18","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"32540e37fe7328830bf02613d8d28f3199a57a18","size":1753,"noattachment":false,"key":"/unordered-array-remove/-/unordered-array-remove-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/unordered-array-remove/download/unordered-array-remove-1.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1451485981550,"_hasShrinkwrap":false,"_cnpm_publish_time":1451485981550,"_cnpmcore_publish_time":"2021-12-16T23:46:28.425Z"}},"readme":"# unordered-array-remove\n\nEfficiently remove an element from an unordered array without doing a splice\n\n```\nnpm install unordered-array-remove\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/unordered-array-remove.svg?style=flat)](http://travis-ci.org/mafintosh/unordered-array-remove)\n\n## Usage\n\n``` js\nvar remove = require('unordered-array-remove')\n\nvar list = ['a', 'b', 'c', 'd', 'e']\nremove(list, 2) // remove 'c'\nconsole.log(list) // returns ['a', 'b', 'e', 'd'] (no 'c')\n```\n\nThis works by popping the last element (which is fast because it doesn't need shift all array elements)\nand overwriting the removed index with this element.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/mafintosh/unordered-array-remove","bugs":{"url":"https://github.com/mafintosh/unordered-array-remove/issues"},"license":"MIT"}