{"name":"sliced","version":"1.0.1","description":"A faster Node.js alternative to Array.prototype.slice.call(arguments)","main":"index.js","files":["LICENSE","README.md","index.js"],"scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/sliced"},"keywords":["arguments","slice","array"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.5.0","benchmark":"~1.0.0"},"dependencies":{},"gitHead":"e7c989016d2062995cd102322b65784ba8977ee3","bugs":{"url":"https://github.com/aheckmann/sliced/issues"},"homepage":"https://github.com/aheckmann/sliced","_id":"sliced@1.0.1","_shasum":"0b3a662b5d04c3177b1926bea82b03f837a2ef41","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"dist":{"shasum":"0b3a662b5d04c3177b1926bea82b03f837a2ef41","tarball":"http://registry-npm.ywwl.com/sliced/download/sliced-1.0.1.tgz","integrity":"sha512-VZBmZP8WU3sMOZm1bdgTadsQbcscK0UM8oKxKVBs4XAhUo2Xxzm/OFMGBkPusxw9xL3Uy8LrzEqGqJhclsr0yA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9Jitiws+m08dA51TrgR5itMA4LtRqKy/4XW90KGh/jgIhALFT4HBuVJHW741KdkFo6e9kLmPKe+XyEReuPKnVOc1k"}],"size":2446,"noattachment":false,"key":"/sliced/-/sliced-1.0.1.tgz"},"directories":{},"readme":"#sliced\n==========\n\nA faster alternative to `[].slice.call(arguments)`.\n\n[![Build Status](https://secure.travis-ci.org/aheckmann/sliced.png)](http://travis-ci.org/aheckmann/sliced)\n\nExample output from [benchmark.js](https://github.com/bestiejs/benchmark.js)\n\n    Array.prototype.slice.call x 1,401,820 ops/sec ±2.16% (90 runs sampled)\n    [].slice.call x 1,313,116 ops/sec ±2.04% (96 runs sampled)\n    cached slice.call x 10,297,910 ops/sec ±1.81% (96 runs sampled)\n    sliced x 19,906,019 ops/sec ±1.23% (89 runs sampled)\n    fastest is sliced\n\n    Array.prototype.slice.call(arguments, 1) x 1,373,238 ops/sec ±1.84% (95 runs sampled)\n    [].slice.call(arguments, 1) x 1,395,336 ops/sec ±1.36% (93 runs sampled)\n    cached slice.call(arguments, 1) x 9,926,018 ops/sec ±1.67% (92 runs sampled)\n    sliced(arguments, 1) x 20,747,990 ops/sec ±1.16% (93 runs sampled)\n    fastest is sliced(arguments, 1)\n\n    Array.prototype.slice.call(arguments, -1) x 1,319,908 ops/sec ±2.12% (91 runs sampled)\n    [].slice.call(arguments, -1) x 1,336,170 ops/sec ±1.33% (97 runs sampled)\n    cached slice.call(arguments, -1) x 10,078,718 ops/sec ±1.21% (98 runs sampled)\n    sliced(arguments, -1) x 20,471,474 ops/sec ±1.81% (92 runs sampled)\n    fastest is sliced(arguments, -1)\n\n    Array.prototype.slice.call(arguments, -2, -10) x 1,369,246 ops/sec ±1.68% (97 runs sampled)\n    [].slice.call(arguments, -2, -10) x 1,387,935 ops/sec ±1.70% (95 runs sampled)\n    cached slice.call(arguments, -2, -10) x 9,593,428 ops/sec ±1.23% (97 runs sampled)\n    sliced(arguments, -2, -10) x 23,178,931 ops/sec ±1.70% (92 runs sampled)\n    fastest is sliced(arguments, -2, -10)\n\n    Array.prototype.slice.call(arguments, -2, -1) x 1,441,300 ops/sec ±1.26% (98 runs sampled)\n    [].slice.call(arguments, -2, -1) x 1,410,326 ops/sec ±1.96% (93 runs sampled)\n    cached slice.call(arguments, -2, -1) x 9,854,419 ops/sec ±1.02% (97 runs sampled)\n    sliced(arguments, -2, -1) x 22,550,801 ops/sec ±1.86% (91 runs sampled)\n    fastest is sliced(arguments, -2, -1)\n\n_Benchmark  [source](https://github.com/aheckmann/sliced/blob/master/bench.js)._\n\n##Usage\n\n`sliced` accepts the same arguments as `Array#slice` so you can easily swap it out.\n\n```js\nfunction zing () {\n  var slow = [].slice.call(arguments, 1, 8);\n  var args = slice(arguments, 1, 8);\n\n  var slow = Array.prototype.slice.call(arguments);\n  var args = slice(arguments);\n  // etc\n}\n```\n\n## install\n\n    npm install sliced\n\n\n[LICENSE](https://github.com/aheckmann/sliced/blob/master/LICENSE)\n","publish_time":1436918304818,"deprecated":"Unsupported","_cnpm_publish_time":1436918304818,"dist-tags":{"latest":"1.0.1"}}