{"_id":"tiny-stack","_rev":"9-f0790fa9686c938376e51711f5f1425a","name":"tiny-stack","description":"Tiny stack for browser or server","dist-tags":{"latest":"2.0.1"},"versions":{"0.1.0":{"name":"tiny-stack","description":"Tiny stack for browser or server","version":"0.1.0","homepage":"http://avoidwork.github.io/tiny-stack","author":{"name":"Jason Mulligan","email":"jason.mulligan@avoidwork.com"},"repository":{"type":"git","url":"git://github.com/avoidwork/tiny-stack.git"},"bugs":{"url":"https://github.com/avoidwork/tiny-stack/issues"},"licenses":[{"type":"BSD-3","url":"https://raw.github.com/avoidwork/tiny-stack/master/LICENSE"}],"main":"lib/tiny-stack","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.6","grunt-exec":"~0.4","grunt-sed":"~0.1","grunt-contrib-concat":"~0.1.3","grunt-contrib-jshint":"~0.1","grunt-contrib-nodeunit":"~0.1.2","grunt-contrib-watch":"~0.2"},"keywords":["stack","tiny","micro"],"_id":"tiny-stack@0.1.0","dist":{"shasum":"1a848173fc0bfc54e77bb2e9504d2d3c8ad79621","tarball":"https://registry.npmjs.org/tiny-stack/-/tiny-stack-0.1.0.tgz","integrity":"sha512-EMLhINH4AB8KG6eNOThEkalfWc/evExSZgXU3Qa/jXEYjZU3XNx7Ff2uasw2GD9Flfl/+oWhrRQhNgOlL7xtfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxK+heUTNVC1IVtsRvYOFtBLUxZRBGlVdSCsZCnb6MBAiEAx2s8OKKVkbOQNOeIvHdh4DbeP2XrwSZ9ppgAtgkd1Us="}]},"_from":"tiny-stack","_npmVersion":"1.4.3","_npmUser":{"name":"avoidwork","email":"jason@attack.io"},"maintainers":[{"name":"avoidwork","email":"jason@attack.io"}],"directories":{}},"1.0.0":{"name":"tiny-stack","description":"Tiny stack for browser or server","version":"1.0.0","homepage":"http://avoidwork.github.io/tiny-stack","author":{"name":"Jason Mulligan","email":"jason.mulligan@avoidwork.com"},"repository":{"type":"git","url":"git://github.com/avoidwork/tiny-stack.git"},"bugs":{"url":"https://github.com/avoidwork/tiny-stack/issues"},"main":"lib/tiny-stack","engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"^0.4.5","grunt-cli":"^0.1.13","grunt-contrib-concat":"^0.5.1","grunt-contrib-jshint":"^0.11.3","grunt-contrib-nodeunit":"^0.4.1","grunt-contrib-watch":"^0.6.1","grunt-exec":"^0.4.6","grunt-sed":"^0.1.1"},"keywords":["stack","tiny","micro"],"license":"BSD-3-Clause","gitHead":"77556bd8e0da4bfeaac45f02e5ff1dc579526de9","_id":"tiny-stack@1.0.0","_shasum":"e058ed1daff2e733da2dcc8879d6b01d26e2c1f6","_from":"tiny-stack","_resolved":"file:tiny-stack","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"},"maintainers":[{"name":"avoidwork","email":"jason@attack.io"}],"dist":{"shasum":"e058ed1daff2e733da2dcc8879d6b01d26e2c1f6","tarball":"https://registry.npmjs.org/tiny-stack/-/tiny-stack-1.0.0.tgz","integrity":"sha512-VS0uIgoQsYz7ZKOhs7s/EsEsU42ru2aPbkJUrAJL307MXDr3Q2szb4Oc+cFuU6cYmZDMQys72Jozf5IZl3Arww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBcitFfM3BlXGHGweuQdO1xCLp/CUHnpKhAfhk19qaMgIhAP/gllGPKMqlXty7bm0zeKlZFXlfua648jthA7RBg15w"}]},"directories":{}},"1.1.0":{"name":"tiny-stack","description":"Tiny stack for browser or server","version":"1.1.0","homepage":"http://avoidwork.github.io/tiny-stack","author":{"name":"Jason Mulligan","email":"jason.mulligan@avoidwork.com"},"repository":{"type":"git","url":"git://github.com/avoidwork/tiny-stack.git"},"bugs":{"url":"https://github.com/avoidwork/tiny-stack/issues"},"main":"lib/tiny-stack","engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"babel-core":"^6.26.3","babel-minify":"^0.4.3","babel-preset-env":"^1.7.0","grunt":"^1.0.3","grunt-babel":"^7.0.0","grunt-cli":"^1.2.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-nodeunit":"^2.0.0","grunt-contrib-uglify":"^3.3.0","grunt-contrib-watch":"^1.1.0","grunt-eslint":"^21.0.0"},"keywords":["stack","tiny","micro"],"license":"BSD-3-Clause","gitHead":"af355e88735f7ef1319d8eea38ae9f1c58dffd49","_id":"tiny-stack@1.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"},"dist":{"integrity":"sha512-m1ts/1HFpURDZolQ7xsRgZTP75zb98wN/K/l/ZCYWFsac4ozAJyg0ENcgVcKG3qzBfL2k1PTXd3mMbkUdcgg+g==","shasum":"a5d65c5753709ea43b29e903e6f6323185b9ac21","tarball":"https://registry.npmjs.org/tiny-stack/-/tiny-stack-1.1.0.tgz","fileCount":10,"unpackedSize":31797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSIwuCRA9TVsSAnZWagAAqdwP/1XONVCKYFZAXfY2uhaD\n4j/1IKXKfElEqILdYdHhRCw5X9+mmiMX/fBZsmtgfPXJ7G2sX9LlDcRYVIGR\nSTr1Cqe6sZNG5ljL2KCI+fNWaSwJgt0BruViyYtvrJQ72bEzKl7F6WLI59vv\npyCZUsCL9WmeZ+trQa+kmGHwmgoSZ11mxSKDS2kTJkr5i+ufW3OKCFqoM1RV\nkbDS5IVjgjM0tCPC/QyOURtHxHhCNR9axizC4vp2VZP0ItItnxGIoB/bHiPp\nPqmKr3sKhDFzQjYXY73Kqhudn5dWKINPA9NvJ3Qu42qjL00LS+fuAQF31868\noA/lCALyKbux75jbWFYoA3pGyT/nRQ0RWEXIWoUsnvLfATYoHCs9ukfaPbkG\nqGwfLWoY18Yft5XhwH/R3xhqWNV8Ly9JHGsCHC8Hu7p3YXbhdVk/4vq3R5Ii\n16VCvzdEpboygRudeh7eqgfGYISIUHWndSr3Qd73FDLbv5TISAQ6yeHDHxFG\nE9kU9QhgcWkqUtaC7o/lYVrwozCxGrvX/lsFnsSNjsqZNW5bxwM9Rp7H59Yd\nb5hYlaOkTMQ/ge7DorwCzUJt/F1dPQzU1O688WQ+/P1aNNxeThYK3dREn6qA\nq233tL4KSeYOEbQioiZ3hqEawKiJy0UjSIY944OBh2mY550A8BNvmcFcQIkT\n/r5v\r\n=t/4b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHddz4XNDLC8HhHu/ESodcuyKA4fO9XFzRAepRUTqTuwIhAJhN3OciLHeIJsmBIQW54cO6Kyb8GgpAgFSFTP/X2bcq"}]},"maintainers":[{"name":"avoidwork","email":"jason@attack.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-stack_1.1.0_1531481134247_0.7958314375960558"},"_hasShrinkwrap":false},"2.0.0":{"name":"tiny-stack","description":"Tiny stack for browser or server","version":"2.0.0","homepage":"http://avoidwork.github.io/tiny-stack","author":{"name":"Jason Mulligan","email":"jason.mulligan@avoidwork.com"},"repository":{"type":"git","url":"git://github.com/avoidwork/tiny-stack.git"},"bugs":{"url":"https://github.com/avoidwork/tiny-stack/issues"},"main":"lib/tiny-stack","engineStrict":true,"engines":{"node":">=6.0.0"},"scripts":{"test":"grunt test"},"devDependencies":{"babel-core":"^6.26.3","babel-minify":"^0.4.3","babel-preset-env":"^1.7.0","grunt":"^1.0.3","grunt-babel":"^7.0.0","grunt-cli":"^1.2.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-nodeunit":"^2.0.0","grunt-contrib-watch":"^1.1.0","grunt-eslint":"^21.0.0"},"keywords":["stack","tiny","micro"],"license":"BSD-3-Clause","gitHead":"8dfd2f97de839605504145e41ea356e30fd76891","_id":"tiny-stack@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"},"dist":{"integrity":"sha512-VTTJ5eN+PWTFT12x7iAd3vl7hh/7EGjYba4gxyVKdmmq5yuYELk1reN04IYRqkg4uggGmuBhPM3usOM4zBroPg==","shasum":"7a437eed59ae6c9fb5295c95376de3942d8db66c","tarball":"https://registry.npmjs.org/tiny-stack/-/tiny-stack-2.0.0.tgz","fileCount":10,"unpackedSize":25191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSJS/CRA9TVsSAnZWagAAZpEP/2BMcByAPpg/rzEC/mue\n8F3T+3Fm1OLZDK0P2EhWmCEZ6I5Sm4gx+qb4I6s3UX4Oofp9RXZrHWORZhox\n+PZJgSjKZ2IXSchu5WpoOYTMXyF5k2wGf+kjGcGhyeiNdrEPr8n9slBLrkMl\nT4ezB/PdJ5Ma0d/dlGFf5ZGCQ3taGXOO+7WaW0AQzw+x5dATWP9gSp6AExHe\nTTKwmJQFXoTtw0fu0Bmb1Zx48u8hZPUTHsl/QkcWWeMAxDhsn01MXaCk48EC\nuOUVOWNbJlCzEnIsF+zU+vLdQ4FZTCQ8Xvag9I2Ie3xo5ijciHFzr8HbBCjI\nSb+XXfKxbDbXwuQ1SyW60C2AxpF044YXw6Q9jtK9NGnm3sINnTT0sQpR4U36\nToryQvE4CbSa7w/FUxB/o5oJy7uPvrrStt9cbSscvrP7CuW+nTc6YZKNMQox\n8DJNXJerdyQdRh9X4jyXI4uVk4R1YxPeXIfwQIQfvMWqx+km4KwB1Y4/zUoA\n/beZsbp8hKnuRYoDOepwV38QZ6Y+b45p5Zul3oGSb0qzLUk5GYYAQWNhfklF\nZWWM7kS99Vap81mmB8hrndhiuT/nt8/eeoYCHWMb2KMWXDgsSmxW5yKX1UoH\ngsUZQfjwkfjOC9xfWEiv2IO9FaEmHqgb/lBX9zNNLsTiRCMf5wpWGJprKz6X\nZAVJ\r\n=mYxE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSUVuj6zf+LpVOqzJIc0q7cScoFIxrvAP4JVVuGhoT4AiBZT/qkE5NEVYbuJLVgFLleQqt3cjjFf30p7cFgunQnfg=="}]},"maintainers":[{"name":"avoidwork","email":"jason@attack.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-stack_2.0.0_1531483327589_0.18893505212324024"},"_hasShrinkwrap":false},"2.0.1":{"name":"tiny-stack","description":"Tiny stack for browser or server","version":"2.0.1","homepage":"http://avoidwork.github.io/tiny-stack","author":{"name":"Jason Mulligan","email":"jason.mulligan@avoidwork.com"},"repository":{"type":"git","url":"git://github.com/avoidwork/tiny-stack.git"},"bugs":{"url":"https://github.com/avoidwork/tiny-stack/issues"},"main":"lib/tiny-stack","engineStrict":true,"engines":{"node":">=6.0.0"},"scripts":{"test":"grunt test"},"devDependencies":{"ajv":"^6.5.3","babel-core":"^6.26.3","babel-minify":"^0.4.3","babel-preset-env":"^1.7.0","grunt":"^1.0.3","grunt-babel":"^7.0.0","grunt-cli":"^1.2.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-nodeunit":"^2.0.0","grunt-contrib-watch":"^1.1.0","grunt-eslint":"^21.0.0"},"keywords":["stack","tiny","micro"],"license":"BSD-3-Clause","gitHead":"dc146b7cb408e80934ad0ae1a3dce22446a29776","_id":"tiny-stack@2.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"avoidwork","email":"jason.mulligan@avoidwork.com"},"dist":{"integrity":"sha512-+UniPqm7Sx45K+RqNovqXZbqDP+2ZGOzg/0nbyV2j0w5KD6b/ekfqBQozCfkpyNU3Al/Zq0O0QwUSe8dm4Ka0A==","shasum":"9234ad1ba0542bc7450f4475c90f3e817b7d7cff","tarball":"https://registry.npmjs.org/tiny-stack/-/tiny-stack-2.0.1.tgz","fileCount":8,"unpackedSize":7001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiYLaCRA9TVsSAnZWagAA3gsP/1dsgHDJh80LaiGFt9di\nkUmMbLCAivQNnqvcWetTfJtHRSXUwC238j1jnZFIZGPtT/LP3LADuo92xc28\nw38TkCRQ/5sU9dof+RsbwWom6xKVEmA6ZI77aB7k3/0FW5W7lxUWJj0x6iD0\nmzSclYrLUOObS+swn773rs8tYCMgO+0PrYDJQnPte+6VFalW/JLljdsXyAc0\n7jj66K64JVBkh/QtnVTgBEO2I9+s6vteuLKu+Dvwy97xl+ZxUpJbXYCcqC2D\ncIT4vYbhNZaZYO2MbB163beVONK4tSYW3kBb0767exc4TTfeSp5Wv6HyeuRr\nis3BPNw0got9y9ZMF8kXaoiMymbgCGUWDcgIxrxUSFU7WTO5trKuZ+bjzDdz\nphrqGH/JF4DO5Cgv0aOST6wij62z85i5KM9JKgquI/rMGzyRu/2VCmYhuiKT\nRJ6jNUYd61WqwoU3qZHT4pZmY7Ht0kg2IBwW5LgApWgRnpKpoXQLlZ2Go+KE\ncZg8AUBuFePMf0tgcBEhJxN9ZKCkieiqPhMgLDlfns7UjiOwJvVsuy9sJlCr\ndVc7yVsd880nTcB3dhkiGw1LGuD4mzVjniVhYetAFubFBDVE//czU/OpumBk\nZNYY7jizPV/NFzBExi7ZaxssLIPQfV3Kus+rrQn5QggJjhogSPT8rUXqrGFG\nbL0L\r\n=F/nK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4YgyM73P/N8J/W0TErIPFR24GLRCWuMJ1vtKCmbTRtAiAR5Y2RQ2bUuzYicKaOjUps1Z/l8adtpReAXbAqlxyrTw=="}]},"maintainers":[{"name":"avoidwork","email":"jason@attack.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiny-stack_2.0.1_1535738585641_0.12643250449171273"},"_hasShrinkwrap":false}},"readme":"# Tiny Stack\r\n\r\nStack for Client or Server.\r\n\r\n[![build status](https://secure.travis-ci.org/avoidwork/tiny-stack.png)](http://travis-ci.org/avoidwork/tiny-stack)\r\n\r\n## API\r\n#### clear\r\nClears the stack\r\n\r\n#### length\r\nGets the length/size of the stack\r\n\r\n#### peek\r\nGets the top item of the stack\r\n\r\n#### pop\r\nGets & removes the top item of the stack\r\n\r\n#### push\r\nAdds an item to the top the stack\r\n\r\n#### empty\r\nTests if this stack is empty\r\n\r\n#### search\r\nReturns the 1-based position where an object is on this stack\r\n\r\n## Example\r\n```\r\nconst stack = require(\"tiny-stack\"),\r\n    mystack = stack(),\r\n    jane = {name: \"Jane Doe\"},\r\n    john = {name: \"John Doe\"};\r\n\r\nmystack.length(); // 0\r\nmystack.empty(); // true\r\nmystack.push(john);\r\nmystack.push(jane);\r\nmystack.length(); // 2\r\nmystack.search(jane); // 1\r\nmystack.search(john); // 2\r\nmystack.search({}); // -1\r\nmystack.empty(); // false\r\nmystack.peek(); // {name: \"Jane Doe\"}\r\nmystack.pop();\r\nmystack.length(); // 1\r\nmystack.peek(); // {name: \"John Doe\"}\r\nmystack.clear();\r\nmystack.length(); // 0\r\n```\r\n\r\n## License\r\nCopyright (c) 2018 Jason Mulligan\r\nLicensed under the BSD-3-Clause license.\r\n","maintainers":[{"name":"avoidwork","email":"jason@attack.io"}],"time":{"modified":"2022-06-27T07:01:21.944Z","created":"2014-04-29T11:13:10.209Z","0.1.0":"2014-04-29T11:13:10.209Z","1.0.0":"2015-09-04T15:37:36.043Z","1.1.0":"2018-07-13T11:25:34.344Z","2.0.0":"2018-07-13T12:02:07.656Z","2.0.1":"2018-08-31T18:03:06.104Z"},"homepage":"http://avoidwork.github.io/tiny-stack","keywords":["stack","tiny","micro"],"repository":{"type":"git","url":"git://github.com/avoidwork/tiny-stack.git"},"author":{"name":"Jason Mulligan","email":"jason.mulligan@avoidwork.com"},"bugs":{"url":"https://github.com/avoidwork/tiny-stack/issues"},"readmeFilename":"README.md","license":"BSD-3-Clause"}