{"_id":"indexes-of","maintainers":[{"email":"nopersonsmodules@gmail.com","name":"nopersonsmodules"}],"dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"indexes-of","description":"line String/Array#indexOf but return all the indexes in an array","version":"1.0.0","homepage":"https://github.com/dominictarr/indexes-of","repository":{"type":"git","url":"git://github.com/dominictarr/indexes-of.git"},"scripts":{"test":"node test.js"},"author":"Dominic Tarr <dominic.tarr@gmail.com> (dominictarr.com)","license":"MIT","dist":{"shasum":"d2946aef19402ae43aab25ba8ab8c44118a31c5d","tarball":"https://devel.data-in-motion.biz/nexus/repository/npm-group/indexes-of/-/indexes-of-1.0.0.tgz","integrity":"sha512-T0xdup2u8cAcRxPXg9Miwppx3j4To85q2QS+Pk9vpKfv6F/7KBvb6O44AGyoa0/3ClJvCFiIE8Qu0LB8/16bmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbNWcB1SxrJfmv+gkJyI9VPluVW0C6Xk2NLD4EsHolYgIgREDEQdZKGMwolCoCX0eG3Wjka4GBAk4cF/GL7YLx4GY="}]},"_id":"indexes-of@1.0.0","readme":"# npmd\n\ndistributed npm client.\n\n## synposis\n\nAn alternative npm client, based around a local replication of the npm metadata.\n(package.json & readmes are replicated for every package, but only tarballs that \nyou have installed are replicated)\n\nreplicating data locally makes the client much smarter, \nand enables all manner of Mad Science.\n\n## sync\n\nTo begin, replicate the registry metadata. When this gets near 100%\nyou can use the other commands.\n\n```\nnpm install npmd -g\nnpmd --sync\n```\n\nYou should leave the `npmd` service running in the background,\nthis will make running other `npmd` commands much faster.\n\nnpmd will pull down npm metadata, and store it in a leveldb.\nthis will be less than 200mb, including a full text index.\n\n## install\n\ninstall a module. if the module's dependencies are in the cache,\nthen `npmd` will install without making a single network round trip!\n\n```\nnpmd install browserify --greedy\n```\n\n`--greedy` is optional, if enabled, the dependency tree is flattened as much as possible.\nso you have less duplication.\n\n## publish\n\npublish a module locally. In a package directory, just do:\n\n```\nnpmd publish\n```\n\nand your package version will be stashed into a queue for local use. You can\n`npmd install yourpkg` locally even if `yourpkg` isn't on the public npm yet.\nYou can even have multiple versions of your package queued up locally.\n\nTo inspect your local package queue, do:\n\n```\nnpmd queue\n```\n\nYou can remove a package from your queue with:\n\n```\nnpmd queue rm pkgname@version\n```\n\nTo sync your local package queue with the public npm, you can run:\n\n```\nnpmd queue sync\n```\n\n## resolve\n\nresolve all module versions required to install a given module.\nwill write json to stdout in the same format as npm-shrinkwrap. \n\n```\nnpmd resolve request\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"1.0.1":{"name":"indexes-of","description":"line String/Array#indexOf but return all the indexes in an array","version":"1.0.1","homepage":"https://github.com/dominictarr/indexes-of","repository":{"type":"git","url":"git://github.com/dominictarr/indexes-of.git"},"scripts":{"test":"node test.js"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"dominictarr.com"},"license":"MIT","devDependencies":{"tape":"~2.1.0"},"readme":"# indexes-of\n\nlike Array/String#indexOf but return all the indexes in an array.\n\n``` js\nvar indexesOf = require('indexes-of')\n\nvar twosIndexes = indexesOf([1, 2, 3, 4, 5, 4, 3, 2, 1], 2)\n\nconsole.log(twosIndexes)\n\n// [1, 7]\n\n```\n\n# Haiku\n\n* A 5 line module.\n* But the tests are 40 lines.\n* npm publish.\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/indexes-of/issues"},"_id":"indexes-of@1.0.1","dist":{"shasum":"f30f716c8e2bd346c7b67d3df3915566a7c05607","tarball":"https://devel.data-in-motion.biz/nexus/repository/npm-group/indexes-of/-/indexes-of-1.0.1.tgz","integrity":"sha512-bup+4tap3Hympa+JBJUG7XuOsdNQ6fxt0MHyXMKuLBKn0OqsTfvUxkUrroEX1+B2VsSHvCjiIcZVxRtYa4nllA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWE1Xfc+KoG9tKEzXGYxIIz/9j/5TtS3hk2rEaGhTl5AiEAkD4n23tm+lAjo78mAlunrZ2qPjvZH4jNPaaAjY0uJFY="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}}},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"dominictarr.com"},"name":"indexes-of","description":"line String/Array#indexOf but return all the indexes in an array","readme":"# npmd\n\ndistributed npm client.\n\n## synposis\n\nAn alternative npm client, based around a local replication of the npm metadata.\n(package.json & readmes are replicated for every package, but only tarballs that \nyou have installed are replicated)\n\nreplicating data locally makes the client much smarter, \nand enables all manner of Mad Science.\n\n## sync\n\nTo begin, replicate the registry metadata. When this gets near 100%\nyou can use the other commands.\n\n```\nnpm install npmd -g\nnpmd --sync\n```\n\nYou should leave the `npmd` service running in the background,\nthis will make running other `npmd` commands much faster.\n\nnpmd will pull down npm metadata, and store it in a leveldb.\nthis will be less than 200mb, including a full text index.\n\n## install\n\ninstall a module. if the module's dependencies are in the cache,\nthen `npmd` will install without making a single network round trip!\n\n```\nnpmd install browserify --greedy\n```\n\n`--greedy` is optional, if enabled, the dependency tree is flattened as much as possible.\nso you have less duplication.\n\n## publish\n\npublish a module locally. In a package directory, just do:\n\n```\nnpmd publish\n```\n\nand your package version will be stashed into a queue for local use. You can\n`npmd install yourpkg` locally even if `yourpkg` isn't on the public npm yet.\nYou can even have multiple versions of your package queued up locally.\n\nTo inspect your local package queue, do:\n\n```\nnpmd queue\n```\n\nYou can remove a package from your queue with:\n\n```\nnpmd queue rm pkgname@version\n```\n\nTo sync your local package queue with the public npm, you can run:\n\n```\nnpmd queue sync\n```\n\n## resolve\n\nresolve all module versions required to install a given module.\nwill write json to stdout in the same format as npm-shrinkwrap. \n\n```\nnpmd resolve request\n```\n\n## License\n\nMIT\n","time":{"created":"2013-11-16T13:46:09.224Z","modified":"2025-05-13T07:35:51.508Z","1.0.0":"2013-11-16T13:46:17.239Z","1.0.1":"2013-11-17T02:25:11.536Z"},"repository":{"type":"git","url":"git://github.com/dominictarr/indexes-of.git"},"users":{"tehshrike":true}}