{"_id":"tokensearch.js","_rev":"42-2b4e6f0c98d72c787864bb91d3fb05e7","name":"tokensearch.js","description":"Substring token search","dist-tags":{"latest":"0.8.0"},"versions":{"0.5.0":{"name":"tokensearch.js","version":"0.5.0","description":"Substring token search","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"^1.10.0","uglify-js":"*"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","install":"npm run-script _installminify","_installminify":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js"},"gitHead":"c19548f234750c9444d8a372059c972ef30c926d","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.0","_shasum":"6134177af6ab3a1d8d85ee03aced036a92415d94","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"6134177af6ab3a1d8d85ee03aced036a92415d94","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.0.tgz","integrity":"sha512-K09fbAUWeJ+kh9XVbDaQUuCA7edYrw4KNdVKByzgHwVBGBGxfAnKLzFfsdDHjnewctk7KJlPmvi8i4gfIcCeqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCR4O3v2jcaQfkZWJKBBzBoer11f/g8rIyyVwpE1C4L0QIhAIXPzz2p2u8wCAuq+yzlX064/Jt3Q0bBBhUzm2ABcVlX"}]}},"0.5.1":{"name":"tokensearch.js","version":"0.5.1","description":"Substring token search","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","minify":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js"},"gitHead":"fdb5645ef352bd60094e5042ad1d2a4b7466817b","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.1","_shasum":"d45f10f1bd61a866aa4f5bb28faded64fc175742","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"d45f10f1bd61a866aa4f5bb28faded64fc175742","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.1.tgz","integrity":"sha512-nQa180+T8KPLrsPZNPrs0dD3exw6qj1aXYQpgD1SKFYPOw2e3jOC5C7uOWMDNObQcmqUnBC7PYLYhQlIat8/pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMc0qXcKR5qT5S8Kt04NenSqCO7voBt6whhNLhvxrlxAiEAnphIr7ewxYVohF1Hue0+PIDjORFrbHZux95H9FzePxE="}]}},"0.5.2":{"name":"tokensearch.js","version":"0.5.2","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","install":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js"},"gitHead":"0e57bccdc320efbd67fd5a12e2625176f055f3f1","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.2","_shasum":"b3d7920fef41e57ea3bb0d083491c541d82903f7","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"b3d7920fef41e57ea3bb0d083491c541d82903f7","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.2.tgz","integrity":"sha512-PQOCfhtfv++bvgJ1jyOerWWmJLXs9MQ41blZ/5zTUIx3rhS+WoRBWNYgkfQ8IpVYrA2xgSNkceYCbjQFRM2RZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1Pd96SDnuxft65fV+6rxnOJojgkaujIdpwxp88LD4hAiAXCKSFvtdev7x7IdtedbpcvoNaNctxDz14I0A2yjCVQg=="}]}},"0.5.5":{"name":"tokensearch.js","version":"0.5.5","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm run-script build && npm publish"},"gitHead":"4787380992ad227708a55c2c79b6a1fde2591ee6","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.5","_shasum":"1bc7080c43516a335cffffcc56eaf3363dd3bf3e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"1bc7080c43516a335cffffcc56eaf3363dd3bf3e","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.5.tgz","integrity":"sha512-pdnOLRBY7alYTRZ4d4wTzlR1g83OX9DGh5604P8+UXd9k1PpOk9ufOK2AkGyJOHbZ3d3/IICDQqrAQA55zItIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTlRwNqfFSZpFzIwH2q0O2S9GP1DtSB8/otujLxN5/wQIgGJG7QJWcj7l6Ec2rikDSbTC5mmKVh3KWyWWI4Et8usM="}]}},"0.5.6":{"name":"tokensearch.js","version":"0.5.6","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm run-script build && npm publish"},"gitHead":"434933ab2511e94cb14da23a2db727835ef737b5","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.6","_shasum":"3341c681cfd6b3f27881abbf818abe815fbf8776","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"3341c681cfd6b3f27881abbf818abe815fbf8776","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.6.tgz","integrity":"sha512-o9uxxnpEl2BvecYFBgCFRhnI5PQyYCtM2+TOjBriPQ/8vh4OwJ4dVgQm1DY4OUCvu8RKhaoXhLtfkJ77MHQ0Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzdepPy2TbI1QtOQzJ8Dz8R2zDATbsSrpbR0MCqS7YugIgf0aPG8eZFhUdOpb2XdPIrvJV4TvDI0YrXt0qoD52NH8="}]}},"0.5.7":{"name":"tokensearch.js","version":"0.5.7","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm run-script build && npm publish"},"gitHead":"e795cf14c1f79a3d905d072274f2ab1d208fa1e0","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.7","_shasum":"902c46a9c1348c38d47c99d9897ceb53ebb40a06","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"902c46a9c1348c38d47c99d9897ceb53ebb40a06","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.7.tgz","integrity":"sha512-qeyg257ghugzhOAILBpPedN0OisX4fFLkuWwMM8pEJncUeHmSLZqtflTdeYyIL+cEq/d9eyapFbyHhUy7U831g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEkFC86BuMDPXsaP6AEXm/ObHTkVBCmgNPUJofU4jmdAiEAmOLl0HdglQqRpbOexpuBN4SHPpXajLlk8hmGEkY6N9k="}]}},"0.5.8":{"name":"tokensearch.js","version":"0.5.8","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm run-script build && npm publish"},"gitHead":"7e203e1e697ae150fe766d133c094ce3f5c651a6","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.8","_shasum":"2420b87a2f60ea9317d5d1ebb087d3f59eff39d5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"2420b87a2f60ea9317d5d1ebb087d3f59eff39d5","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.8.tgz","integrity":"sha512-3JXhIRTCEm3zXFh1rGDm1c62+Fa5LBl+8CJMXV0mz8NBeJn5ktQGdfzIzNPZPpX88L8ZwQ+ksJBq4eshKDnuTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAC+zUb5Z+qyYKza0yZmTHLZwpoErIShsfvEUTEqQxDJAiApiCU2XglazFs/MxvhIEbpoc2mwOFDTvXia5VbUSMx5g=="}]}},"0.5.11":{"name":"tokensearch.js","version":"0.5.11","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm run-script build && git commit -am 'release' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"gitHead":"c7458d5856998fa1a7e5c56b4cb3c32d1d1f2d8c","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.11","_shasum":"074a73d53ca090a70829a58b2a1ba35fbe52e686","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"074a73d53ca090a70829a58b2a1ba35fbe52e686","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.11.tgz","integrity":"sha512-1Jc0zoyfpRKMSolYlvM5tKbZjpGAX4P342JB5jeJT4N7tiQ5CIOlpQO5fej0tqIFIbPArmlnAPMRnR31ix2ykQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmbBx9Sabn+Wqrkd9bNlRoNuGnbNWuJHBwPfE0fTnWvAiAKQgIyr5A3AlevE8J4I3lMtDw6PR89xzi56IT5/8EvhA=="}]}},"0.5.12":{"name":"tokensearch.js","version":"0.5.12","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm run-script build && git commit -am 'release' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"gitHead":"48199db1f986bd3f2db9a857ad1a838c7ab80066","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.12","_shasum":"573ecadc491e0e47bf8afca4847e88fe7d5a9a51","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"573ecadc491e0e47bf8afca4847e88fe7d5a9a51","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.12.tgz","integrity":"sha512-qeSADTIqRFrg2UpNUN7XPf2sVHacajtdh9WGMjytPp/biKmYSwFW8J5EvZG32DnJupWxwke4soydWeHrQVuOyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIArwEnrXV7uhM1LNSyHotIvcb/VhhADoBb6G3f0g/fr7AiAsfyyUzIzUm6ApoOrsRfGxQ8P5vHxLImnAzfJ8Lg5pag=="}]}},"0.5.14":{"name":"tokensearch.js","version":"0.5.14","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm run-script build && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"gitHead":"734ea2b02f63e5a240ebfb4fbb0db99731bc5ede","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.14","_shasum":"28cca66e86ab2fb70abee11f98d3d28b30519673","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"28cca66e86ab2fb70abee11f98d3d28b30519673","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.14.tgz","integrity":"sha512-vQ2fOR/vw8C/Kc38Awr+K7jrTJEEprb9oOCvSwT/iX1eSurdf8LFw55yxqJez/rr6J8cjHA8rw89CgSM7VQJug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDukVMjucWy1h5LAHRbsU/Yqh/hliHVSmAwoHVFe6VRyAiEAxJTLVyOEQotYpAlHnjIGW4mb/2jFEJ3jRsGWJU5KkzA="}]}},"0.5.15":{"name":"tokensearch.js","version":"0.5.15","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~1.20.1","chai":"~1.10.0","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list","clean":"rm ./lib/tokensearch.min.js","build":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","release":"npm test && npm run-script build && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"gitHead":"f7f149efa889b9996be0ee1ecc9aebe6c1278507","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.15","_shasum":"1c6d8a9c0b762219049507b4c7efccf1a30f7838","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"1c6d8a9c0b762219049507b4c7efccf1a30f7838","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.15.tgz","integrity":"sha512-rxY/59KPa03VKd35OAhlJ5cfvZ8IAn+jdWxpjvKl+2KKwuBWdgamDfWmlHTz3JuQ3zz20ENZzi6PlPtRdF9MLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGL5MPe5jYigigbtp02Mh0esDS+YKaAIr7MLaCCYYlEcAiEAvDLfCmdc5PVCT/WGAz3G3ucmY654XXxI1zLCdPeIMgw="}]}},"0.5.16":{"name":"tokensearch.js","version":"0.5.16","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~2.1.2","uglify-js":"~2.4.17"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"mocha --reporter list && npm run-script minify","clean":"rm ./lib/tokensearch.min.js","minify":"node_modules/uglify-js/bin/uglifyjs lib/tokensearch.js --screw-ie8 --stats --lint --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"gitHead":"4cc41e9ec290e3cbe89bee885a6e5c4233dfa5c8","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.16","_shasum":"9cfabeb00bf9d889af571d078283db36105e25e3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"9cfabeb00bf9d889af571d078283db36105e25e3","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.16.tgz","integrity":"sha512-gW1s3pYUR3EsDF6QAr0K5NM5Ip6q+/Wfs3oLXWbRU4FioacyMcwoHd41ghflTx/NPiGtuz5wz39iBd0i/dUznA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDahJQ8j32VCs3fzb3fhA6tWvFrGDcvm7L34HFa3O86PQIhAKdfaUJCv9MPfdKjup/zRAQi5fj7DHkQUeXidoS2z4Dr"}]}},"0.5.17":{"name":"tokensearch.js","version":"0.5.17","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~2.2.0","uglify-js":"~2.4.17","jshint":"~2.6.3","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"2db7543b64ad79abf356ce137ecaa11a66841414","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.17","_shasum":"acfeb342a73d2d295d02c653a9ee33debb328901","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"acfeb342a73d2d295d02c653a9ee33debb328901","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.17.tgz","integrity":"sha512-566pWfv/Ige4yl4AP2zDCVwO+4zMPVIW7tBVwDTjOf/Qps5OKsw2rAU4tcUeMS5mIHRta7vjGIawrIrwAY2ZWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNxoyPt+uq/R8DogMvRHLBFQQZer/li2RLtc264tSYeQIhAN9rTOT7XVuBUqTaqkVnSTytRkzmLByt2Y8lbbnsYwWk"}]}},"0.5.18":{"name":"tokensearch.js","version":"0.5.18","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~2.2.0","uglify-js":"~2.4.17","jshint":"~2.6.3","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"483c7e67c1d4ecd6077c3fee25d43d5f00b92f5e","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.18","_shasum":"58999ac1e6e6c05a50fbecd38723cc46fdded29a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"58999ac1e6e6c05a50fbecd38723cc46fdded29a","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.18.tgz","integrity":"sha512-lNwHwpNg1qcVBFZO/zIMgvaueUTB80v9ZEz9apyc5C5DlR1TICU9UJsj+mI0QGJm8y1wUdgftwtNi4fUV2NOcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFM3mzr3HK8ims3vxEXcUQNk0p8c8b7nHKJy5REyr24DAiA66w+yTpeohw3tNRYS3NSp/VK7a8GeKD+jCthLLyk9fA=="}]}},"0.5.20":{"name":"tokensearch.js","version":"0.5.20","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~3.0.0","uglify-js":"~2.4.17","jshint":"~2.8.0","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"bc4f076f2eabf6334622ffdd7f9e1a2c3035ac62","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.20","_shasum":"4c65749dda118afb1d97f55cdb1c347b4bb0140f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"4c65749dda118afb1d97f55cdb1c347b4bb0140f","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.20.tgz","integrity":"sha512-OVbExksZj8TNU5cb5bteBH2PE1RI396kZgy2K+5RsTBfD0TtQZaq/wbX0gwABwzyseMUJy6Y2AtPgbz+MfGznQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATn+GmngioayGzCiwBO59Ya/sb0BTMAueeC+wSu8njIAiBKIOty3pv9WcRiErnJYPds/UIyJsvxmDN+20aa/0yaAw=="}]}},"0.5.21":{"name":"tokensearch.js","version":"0.5.21","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~3.0.0","uglify-js":"~2.4.17","jshint":"~2.8.0","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"fc5a76969a3cbbe145be55d1426210b6d48baffe","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.21","_shasum":"87912d6c555b444f24a17bd23ba4b155461cb46c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"87912d6c555b444f24a17bd23ba4b155461cb46c","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.21.tgz","integrity":"sha512-6uylnD97UHNwq4m4iW5xlLdKAGp98lV4ujtjghhJnLwR6xcrNoJkKR9ZwCyS8FK0McVAzr0Q8xP13nqhLg6g4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQmAMwnw958Ii6KvoSjXnydgM2GZi/Ii2ySY9IKhN0DQIhALdDZymIvp2AQ3YlkfoTtkoqvcMe+9z1H4q0lTUue8tS"}]}},"0.5.22":{"name":"tokensearch.js","version":"0.5.22","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~3.0.0","uglify-js":"~2.4.17","jshint":"~2.8.0","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"fa9ba8ec917ebe21e67b7f49577bd858d80e3014","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.22","_shasum":"a35255a0f1899ebedcf0968a752b2420799be1ff","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"a35255a0f1899ebedcf0968a752b2420799be1ff","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.22.tgz","integrity":"sha512-5WkqVpOdazTqspe6i4PNu85jazKYaY0t4GqL9efkBRCxbjwzVFFnKPHEsWpfE6h9tIB+Z2p8PzG09YxOeQvUxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe/eKPUVWx70vBr2Pgr5Ho42XKXyS6LA5s/4jF6SlmrQIhAMPojX/ez3fYmm0kONcjRUTjXH7jUXi7nnQk+14KI+Js"}]}},"0.5.23":{"name":"tokensearch.js","version":"0.5.23","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~3.0.0","uglify-js":"~2.4.17","jshint":"~2.8.0","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"8415d7da518238420ad4cb405d29662c64c908ef","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.23","_shasum":"939fb60336d47249c8b56dd734eaf4e200848843","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michu","email":"michael@neeo.com"},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"dist":{"shasum":"939fb60336d47249c8b56dd734eaf4e200848843","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.23.tgz","integrity":"sha512-al6YTxHy7DdLq7Ryk35QuRo3hb+Rr8+LHV50gQXozcYRJogm3aiNKRacCLiz8fXPhDNRGAXOlVbtDmK2BDhy+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6KraxdmonyMntNf04gZJn8nvcARYStplXbzIT8lViEAIgdyixFRnZ7tRb+6joMoYR0mfZTYHri6M+DCh65i/9NXI="}]}},"0.5.24":{"name":"tokensearch.js","version":"0.5.24","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~3.0.0","uglify-js":"~2.4.17","jshint":"~2.8.0","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"99c3eb3f3062cf2444f16aa8a0b2967e882bd955","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.5.24","_shasum":"f525a14381572076cd89c2adf2da1f35cd433496","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.0.0","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"f525a14381572076cd89c2adf2da1f35cd433496","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.24.tgz","integrity":"sha512-SB4PWg89taatvI5ToidZmVhLeC9jPTDdfdjAvy4BRv5EQ8qgSC8J2WV/OM6FgNdK45oGATChrxNDRj6m6lLmSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9SW7EwqNwLmf+sCXajUTJNtavC4x0Ed03a+oUE0AuNAIhANLBXyeecWNOImkjH5gHWiTTlItF6V0wE9gN3dSQpjdj"}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}]},"0.5.25":{"name":"tokensearch.js","version":"0.5.25","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~3.0.0","uglify-js":"~2.4.17","jshint":"~2.8.0","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"b8833dd00acc3da54cb400250deb7b8820c14d5b","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.5.25","_shasum":"3df6ddfb44b812890b77377c54ca2aba7f5aa06b","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.0.0","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"3df6ddfb44b812890b77377c54ca2aba7f5aa06b","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.25.tgz","integrity":"sha512-/ABgiY/OLTixw0dHaRUttqRLHQxtMOJnR8DcJz5YdaqoSJO1+X3uXeCxrJrbGWor3VynDXqOWoLB0xqdQoeCrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjA55aREp0pFxQ/5DsTcoth9xXg2ixjRFZLz4i5hq2LAIhAKvb4j2SdzaVcaEtaYaQ+W7zRdEbtrpKMsYJOZCCpjbc"}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}]},"0.5.26":{"name":"tokensearch.js","version":"0.5.26","description":"Substring token search","main":"./lib/tokensearch.min.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.2.1","chai":"~3.0.0","uglify-js":"~2.4.17","jshint":"~2.8.0","pre-commit":"~1.0.6","istanbul":"~0.3.8"},"engines":{"node":">=0.10.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose -c .jshint ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"npm run-script minify && git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm run-script gitcommit && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"c2448d3d3a46c07341c042f38a4139c83d0fc65f","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.5.26","_shasum":"c0ab7f61e0afc6023bf3525cb49324420741f5da","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.0.0","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"c0ab7f61e0afc6023bf3525cb49324420741f5da","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.26.tgz","integrity":"sha512-K5BcuLO/LbIEGY9F/WDONWMs16+hAHSLMhP76pDALF21adb0iS9YE2N4IdGzaKIhCR8laE/7u2DkZ/t5MhlwzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEwTrzN7oX6EOnHutY4IFtTLTq3IqlaiqwCdIdLRyGdoAiBBJ5Ttmp3X5RL0YEKPyOI/N/BeHwBghzt8igpb1vLz0A=="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}]},"0.5.27":{"name":"tokensearch.js","version":"0.5.27","description":"Substring token search","main":"./lib/tokensearch.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.4.5","chai":"~3.5.0","uglify-js":"~2.6.2","jshint":"~2.9.1","pre-commit":"~1.1.2","istanbul":"~0.4.2"},"engines":{"node":">=4.2.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"npm run minify && git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"04215a545c90530e1f7442683496a6ba10aa306f","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.5.27","_shasum":"b8e18fdd72a436c13c3c2c1cc64a5e7b23ec688f","_from":".","_npmVersion":"3.7.5","_nodeVersion":"4.3.2","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"b8e18fdd72a436c13c3c2c1cc64a5e7b23ec688f","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.27.tgz","integrity":"sha512-AFjxrdBV06Ocq2BxMZnqxjiRR0sP9lqHe/NCV1Jl/XJbFHB5Mfg2PmJLd5jU7dCgpbIR90KuO9SEZJr7ZwJK5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpGwg7pl8fkvu32yXXXf5m+6ern9/3tr1hthoXLOS+NAiAcb51rE7RIE4fMWVRxLVC7oT/REG+VSqpiR5M3bcuAjg=="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/tokensearch.js-0.5.27.tgz_1457876733932_0.2559547086711973"}},"0.5.28":{"name":"tokensearch.js","version":"0.5.28","description":"Substring token search","main":"./lib/tokensearch.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.4.5","chai":"~3.5.0","uglify-js":"~2.6.2","jshint":"~2.9.1","pre-commit":"~1.1.2","istanbul":"~0.4.2"},"engines":{"node":">=4.2.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"npm run minify && git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"b7af2d33f01cb9f505523022ed7f938171acd14f","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.5.28","_shasum":"e4e5eed6c97934b79fad5beb3139ecf3c90c4065","_from":".","_npmVersion":"3.8.2","_nodeVersion":"4.3.2","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"e4e5eed6c97934b79fad5beb3139ecf3c90c4065","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.28.tgz","integrity":"sha512-4HUTUAbO1E+VFHoWVrnoPYuNIQ0o7SpprB4wwdBBLnbjOgJgaN7H9iSLuc1kYw+C3GoOFywlvoMN7ezm62Ctjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmOgo3m1yNujakZQwcp1FjlyoJ9WniKi6qRDFGwbiPVAiBxtl9f7BbdmRkZcZN2omQpq8bEVBvyzRXvOng0bZ+rRw=="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tokensearch.js-0.5.28.tgz_1459629169909_0.2122175171971321"}},"0.5.31":{"name":"tokensearch.js","version":"0.5.31","description":"Substring token search","main":"./lib/tokensearch.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"http://github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"mocha":"~2.4.5","chai":"~3.5.0","uglify-js":"~2.6.2","jshint":"~2.9.1","pre-commit":"~1.1.2","istanbul":"~0.4.2"},"engines":{"node":">=4.2.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch.min.js","minify":"uglifyjs lib/tokensearch.js --screw-ie8 --stats --compress --mangle -o lib/tokensearch.min.js","gitcommit":"npm run minify && git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"e37937dfeef972b1c1f17c477cd6339687d3fd96","homepage":"https://github.com/neophob/tokensearch.js","_id":"tokensearch.js@0.5.31","_shasum":"ef8a9e7ce280141fa5be43ceac20fce6a60e0589","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"ef8a9e7ce280141fa5be43ceac20fce6a60e0589","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.5.31.tgz","integrity":"sha512-FjeP8zpDK7HeLBnJOmMa42w9LOqxK0CDeGEwCQmU/KSsFrN5+ZPeK9QUOQ2PsDApe5oIxHVTibuwgdg2f6SfJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUYz7QQG4hjn1CnaPkr82Io7AGcB6UUk8/aOtEnfE0ZwIgHyY75bCEqEuACjehtk60cMpvz4azAagcUSmpjSslufg="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tokensearch.js-0.5.31.tgz_1493680208261_0.20715645188465714"}},"0.6.1":{"name":"tokensearch.js","version":"0.6.1","description":"Substring token search","main":"./lib/tokensearch.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"chai":"^4.0.0","istanbul":"^0.4.5","jshint":"~2.9.1","mocha":"^3.4.2","pre-commit":"~1.1.2"},"engines":{"node":">=6.0.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","clean":"rm ./lib/tokensearch*","gitcommit":"git commit -am 'update minified code' | cat && git push | cat","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"95dea955c42d4732987eff0b0256c8c796913d24","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.6.1","_shasum":"a7a8cb1a2e43b634378c989c0d63e2e79abeb0c8","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"a7a8cb1a2e43b634378c989c0d63e2e79abeb0c8","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.6.1.tgz","integrity":"sha512-jCkRtkxRnlrmzYWHzq+JMrBGXRSG6YaOrxmg4PWck2C3cI7aJbotMSC4EMhuIHnVm6erNKlGIc5JKUrSingKkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA6QMkbdElyex+Cn1Tt1B22tB0V4U8POaeag6S3A5QnAIgcDAG1hWnKoD8ktBdkjjHs92aXz5yKmzqe6EofNmp0JQ="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tokensearch.js-0.6.1.tgz_1496224535109_0.3989904464688152"}},"0.6.2":{"name":"tokensearch.js","version":"0.6.2","description":"Substring token search","main":"./lib/tokensearch.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"chai":"^4.0.0","istanbul":"^0.4.5","jshint":"~2.9.1","mocha":"^3.4.2","pre-commit":"~1.1.2"},"engines":{"node":">=6.0.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list","jshint":"jshint --verbose ./lib/tokensearch.js","coverage":"istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags","bowerrelease":"bower version patch -m 'Upgrade version to %s'"},"pre-commit":["jshint","test","coverage"],"gitHead":"01eca8dbfad64cff1bc9fee7742d83ee3f359554","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.6.2","_shasum":"0472972af672479eede0dae312aa5b1c06a3906a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"0472972af672479eede0dae312aa5b1c06a3906a","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.6.2.tgz","integrity":"sha512-ucpk5faXYYnh0uh1R4Re7bpImW/4xQLY6PqW03fLBAS5PV39/THis9OSs9SSx50CKkHlu+ksFVlpyLT5Lj/R0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFs5h+EJwbG0GsS4AN0zdXZxVy3kJkJROce+ocgguoGRAiBCxYnQb6yZSwvqF6GgzPSdoVsZGH7A0H/UI7KjRFtR/g=="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tokensearch.js-0.6.2.tgz_1496225799662_0.9499357857275754"}},"0.7.1":{"name":"tokensearch.js","version":"0.7.1","description":"Substring token search","main":"./lib/tokensearch.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"chai":"^4.0.0","istanbul":"^0.4.5","jshint":"~2.9.1","mocha":"^3.4.2","pre-commit":"~1.1.2"},"engines":{"node":">=4.0.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"node_modules/mocha/bin/_mocha -- \"test/**/*.js\"","jshint":"jshint --verbose ./lib/tokensearch.js","coverage":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list && istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags"},"pre-commit":["jshint","test","coverage"],"gitHead":"97f1760ede57380d062f8ff322ec505ddfe7f805","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.7.1","_shasum":"f5040ea577ce67ac80200b7a3405e0d52664214a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"f5040ea577ce67ac80200b7a3405e0d52664214a","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.7.1.tgz","integrity":"sha512-mSVEgKgFR/vTcLr7c5xKeW3f4saWfFYcGK3RyzvbNcVZGJ7mVCkYjEHO91apHjENvwraPVQ05vXi2ZdYbTTt1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC7YQhEp50kNyCvfWvWG+1PHbGrXNVRe8XziNdDphbvxAiEAxQSkCnyqPAVyEpbGG0VFTPdhy9TKH+IrqsU+uLEK6Lo="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tokensearch.js-0.7.1.tgz_1496241736853_0.4730353532359004"}},"0.8.0":{"name":"tokensearch.js","version":"0.8.0","description":"Substring token search","main":"./lib/tokensearch.js","author":{"name":"Michael Vogt","email":"michael@neeo.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"keywords":["string search","token","substring","json","search","collection"],"license":"MIT","devDependencies":{"chai":"^4.0.0","istanbul":"^0.4.5","jshint":"~2.9.1","mocha":"^3.4.2","pre-commit":"~1.1.2"},"engines":{"node":">=6.0.0"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"scripts":{"test":"node_modules/mocha/bin/_mocha -- \"test/**/*.js\"","jshint":"jshint --verbose ./lib/tokensearch.js","coverage":"istanbul cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --reporter list && istanbul check-coverage --statements 80 --functions 80 --lines 80 --branches 80","release":"npm test && npm version patch -m 'Upgrade version to %s' && npm publish && git push --tags"},"pre-commit":["jshint","test","coverage"],"gitHead":"e8e5e9393f8bdc2c499779ac35d5e559cb21c1d3","homepage":"https://github.com/neophob/tokensearch.js#readme","_id":"tokensearch.js@0.8.0","_shasum":"4807ebf95c47b1e8d6fd44bfd62c9831749189db","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"michu","email":"michael@neeo.com"},"dist":{"shasum":"4807ebf95c47b1e8d6fd44bfd62c9831749189db","tarball":"https://registry.npmjs.org/tokensearch.js/-/tokensearch.js-0.8.0.tgz","integrity":"sha512-mneWt/nbWdglVScD6vZ2VP38N0cmY5yXY3wiNSxNL1xs8bhy+ErGLZVymJxjKdzJyJlL0/TiUNCLJ6UNd7+niQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkWlwmsCF7kMUu4PXHigSJ3U6dN/ZK/U070hjpHUO+bgIgOi0h86n0jlqAUletuykeQiapYR6WyuH1DoU2IqEPMLc="}]},"maintainers":[{"name":"michu","email":"michael@neeo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tokensearch.js-0.8.0.tgz_1510149742238_0.5884539857506752"}}},"readme":"# tokensearch.js\n\n<a href=\"https://nodei.co/npm/tokensearch.js/\"><img src=\"https://nodei.co/npm/tokensearch.js.png?downloads=true\"></a>\n\n[![Dependency Status](https://gemnasium.com/neophob/tokensearch.js.svg)](https://gemnasium.com/neophob/tokensearch.js) [![Build Status](https://secure.travis-ci.org/neophob/tokensearch.js.png?branch=master)](http://travis-ci.org/neophob/tokensearch.js)\n\n**tokensearch.js** is a simple substring search functions for collections. You can search for multiple search tokens in a json file, the result array contains the original object plus a search `score` (0: perfect, 1: forget it). See the example or unit tests for more details.\n\nInspired by https://github.com/krisk/Fuse, users.json file is ripped from this project.\n\n## Options\n\n```\nTokensearch.defaultOptions = {\n  //split strings with those delimiters, default delimiters: space and dash\n  delimiter: /[\\s-]+/,\n\n  // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match\n  // (of both letters and location), a threshold of '1.0' would match anything.\n  threshold: 0.7,\n\n  // How many search tokens are considered\n  maxFilterTokenEntries: 5,\n\n  // search key\n  collectionKeys: [],\n\n  //the result just contains unique results (based on collection keys)\n  unique: false,\n\n  // search all 'needles' in the 'haystack', return a score for each function call\n  searchAlgorithm: function(haystack, needles) {\n    var score = 0;\n    var arrayLength = needles.length;\n    for (var i = 0; i < arrayLength; i++) {\n      var needle = needles[i];\n      var stringPos = haystack.indexOf(needle);\n      if (stringPos > -1) {\n        if (haystack === needle) {\n          score += 6;\n        } else if (stringPos === 0) {\n          score += 2;\n        } else {\n          score += 1;\n        }\n      }\n    }\n    return score;\n  },\n\n  //postprocess all elements (=contains all elements with a score)\n  postprocessAlgorithm: function(collection, maxScore, threshold) {\n    var normalizedScore = 1 / maxScore;\n    var result = [];\n    collection.forEach(function(e) {\n      e.score = 1-e.score*normalizedScore;\n      if (e.score <= threshold) {\n        result.push(e);\n      }\n    });\n    return result;\n  },\n\n  // sort the result array (=output of the postprocess step)\n  sortAlgorithm: function(array) {\n    return array.sort(function(a, b) {\n    return a.score - b.score;\n    });\n  }};\n```\n\nYou can pass one or multiple parameter when creating the object, for example\n\n```\nnew Tokensearch(myCollection, { collectionKeys: ['key1', 'key2'], threshold: 0.5 });\n```\n\n## Examples\n\n### Simple\nSearch for text tokens in one JSON field, use space as delimiter.\n\n**Setup:**\n\n```\nvar collection = [{\n  \"name\": \"JOHN PETER DOW\",\n  \"id\": \"123\"\n}, {\n  \"name\": \"FOO BAR JOHN\",\n  \"id\": \"127\",\n}, {\n  \"name\": \"BODE JON MULLER\",\n  \"id\": \"147\",\n}];\nvar tokenSearch = new Tokensearch(collection, { collectionKeys: ['name'] });\n\n```\n\n**Search:**\n```\nvar result = tokenSearch.search('JOHN BAR');\n```\n\n**Result:**\n```\n[\n  {\"item\":{\"name\":\"FOO BAR JOHN\",\"id\":\"127}\",\"score\":0},\n  {\"item\":{\"name\":\"JOHN PETER DOW\",\"id\":\"123\"},\"score\":0.5}\n]\n```\n\n### Advanced 1\nSearch for text tokens in two JSON fields, use space and : as delimiter.\n\n**Setup:**\n\n```\nvar collection = [{\n  \"name\": \"JOHN PETER DOW\",\n  \"address\": \"a:funny:street:44\",\n  \"id\": \"123\"\n}, {\n  \"name\": \"FOO BAR JON\",\n  \"address\": \"bullvd:33\",\n  \"id\": \"127\",\n}, {\n  \"name\": \"BODE JOHN MULLER\",\n  \"address\": \"upside:street\",\n  \"id\": \"147\",\n}];\nvar tokenSearch = new Tokensearch(collection, { collectionKeys: ['name', 'address'], delimiter: /[\\s:]+/, threshold: 0.5});\n\n```\n\n**Search:**\n```\nvar result = tokenSearch.search('JOHN:street');\n```\n\n**Result:**\n```\n[\n  {\"item\":{\"name\":\"JOHN PETER DOW\",\"address\":\"a:funny:street:44\",\"id\":\"123\"},\"score\":0},\n  {\"item\":{\"name\":\"BODE JOHN MULLER\",\"address\":\"upside:street\",\"id\":\"147\"},\"score\":0}\n]\n```\n\n### Advanced 2\nSearch for text tokens in two JSON fields, use space and : as delimiter, use a custom search algorithm.\n\n**Setup:**\n\n```\n    var collection = [{\n      \"name\": \"JOHN DOE\",\n      \"address\": \"a:funny:street:44\",\n      \"id\": \"123\"\n    }, {\n      \"name\": \"FOO BAR JON\",\n      \"address\": \"bullvd:33\",\n      \"id\": \"127\",\n    }, {\n      \"name\": \"BODE MULLER\",\n      \"address\": \"john:upside:street\",\n      \"id\": \"147\",\n    }];\n\n    var tokenSearch = function(haystack, needles) {\n      var score = 0;\n      var arrayLength = needles.length;\n      for (var i = 0; i < arrayLength; i++) {\n        var needle = needles[i];\n        if (haystack === needle) {\n          score ++;\n        }\n      }\n      return score;\n    };\n    var tokenSearch = new Tokensearch(collection, { collectionKeys: ['name', 'address'], delimiter: /[\\s:]+/, threshold: 0.5, searchAlgorithm: tokenSearch});\n\n```\n\n**Search:**\n```\nvar result = tokenSearch.search('JOHN');\n```\n\n**Result:**\n```\n[\n  {\"item\":{\"name\":\"JOHN DOE\",\"address\":\"a:funny:street:44\",\"id\":\"123\"},\"score\":0},\n  {\"item\":{\"name\":\"BODE MULLER\",\"address\":\"john:upside:street\",\"id\":\"147\"},\"score\":0}\n]\n```\n\n## Build\n- to run **tests**: `npm test`\n- to run **jshint**: `npm run-script jshint`\n- to create a new **release**: `npm run-script release`\n- to check code **coverage**: `npm run-script coverage`\n","maintainers":[{"name":"michu","email":"michael@neeo.com"}],"time":{"modified":"2022-06-27T18:06:08.227Z","created":"2015-03-15T02:21:50.738Z","0.5.0":"2015-03-15T02:21:50.738Z","0.5.1":"2015-03-15T02:26:49.719Z","0.5.2":"2015-03-15T12:50:39.854Z","0.5.5":"2015-03-15T13:08:55.634Z","0.5.6":"2015-03-15T13:21:23.208Z","0.5.7":"2015-03-15T20:51:50.719Z","0.5.8":"2015-03-15T21:28:14.232Z","0.5.11":"2015-03-16T13:07:54.739Z","0.5.12":"2015-03-16T18:41:20.881Z","0.5.14":"2015-03-16T18:47:09.674Z","0.5.15":"2015-03-16T21:33:40.610Z","0.5.16":"2015-03-17T19:24:01.209Z","0.5.17":"2015-04-05T21:57:20.625Z","0.5.18":"2015-04-06T00:14:11.301Z","0.5.20":"2015-06-22T07:41:48.930Z","0.5.21":"2015-06-22T10:41:04.181Z","0.5.22":"2015-06-22T19:43:48.033Z","0.5.23":"2015-07-23T23:32:59.241Z","0.5.24":"2015-12-05T10:01:54.880Z","0.5.25":"2015-12-05T10:22:08.147Z","0.5.26":"2015-12-05T10:46:37.240Z","0.5.27":"2016-03-13T13:45:36.238Z","0.5.28":"2016-04-02T20:32:52.484Z","0.5.31":"2017-05-01T23:10:10.109Z","0.6.1":"2017-05-31T09:55:36.218Z","0.6.2":"2017-05-31T10:16:40.668Z","0.7.1":"2017-05-31T14:42:17.822Z","0.8.0":"2017-11-08T14:02:22.404Z"},"homepage":"https://github.com/neophob/tokensearch.js#readme","keywords":["string search","token","substring","json","search","collection"],"repository":{"type":"git","url":"git+ssh://git@github.com/neophob/tokensearch.js.git"},"author":{"name":"Michael Vogt","email":"michael@neeo.com"},"bugs":{"url":"https://github.com/neophob/tokensearch.js/issues"},"license":"MIT","readmeFilename":"README.md"}