{"_id":"@firstandthird/tokens","_rev":"27-418237dd3ea65ddec685d3f8d79716f1","name":"@firstandthird/tokens","description":"Turn a text field into a tokenized autocomplete.","dist-tags":{"beta":"1.0.0-beta.1","latest":"2.1.0"},"versions":{"1.0.0-beta.1":{"name":"@firstandthird/tokens","version":"1.0.0-beta.1","description":"Class based modules","main":"dist/tokens.js","module":"lib/tokens.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"exit 0","test-skip":"cat test/tokens.test.dist.js | tape-run --static . --browser phantomjs --render tap-spec","prepublish":"scriptkit"},"watch":{"lib/*.js":["lint","test"],"test/*.js":["lint","test"]},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"3.2.0","eslint-plugin-import":"2.2.0","phantomjs-prebuilt":"^2.1.14","scriptkit":"0.2.0","tap-spec":"4.1.1","tape-rollup":"4.6.4","tape-run":"2.2.1"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"1.0.0-beta.12","domassist":"1.7.1","domodule":"5.1.1"},"scriptkit":{"files":{"dist/tokens.js":"lib/tokens.js","test/tokens.test.dist.js":"test/tokens.test.js"},"scripts":{"commonjs":{"ignore":["node_modules/tape-rollup/*"]}}},"gitHead":"011a6764c665cfc54b9b6af2123e429b70c5ad63","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@1.0.0-beta.1","_shasum":"67aea85ff75adcba4a29b385c8578e3f72f756ee","_from":".","_npmVersion":"4.1.2","_nodeVersion":"6.9.1","_npmUser":{"name":"jga","email":"code@firstandthird.com"},"dist":{"shasum":"67aea85ff75adcba4a29b385c8578e3f72f756ee","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-1.0.0-beta.1.tgz","integrity":"sha512-xI96l2QL7NfyMcrbnrwpGJ/Ca33qJCt2NnJsc2mC05D6999xU7zob06YhHjiWrMvJ6GZASJ2TH1DP4fLEUshNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0gpVCQWYH7oYfdtCD21M8zu1Ec+fvY1QtDgHBpusRwAiBZSxFzWb47JfeXteI83sJ9N9O29Iw3WFvw0Qw1sfuf0g=="}]},"maintainers":[{"name":"jga","email":"code@firstandthird.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tokens-1.0.0-beta.1.tgz_1488383473449_0.027373247547075152"},"directories":{}},"1.0.0-beta.2":{"name":"@firstandthird/tokens","version":"1.0.0-beta.2","description":"Class based modules","main":"dist/tokens.js","module":"lib/tokens.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"exit 0","test-skip":"cat test/tokens.test.dist.js | tape-run --static . --browser phantomjs --render tap-spec","prepublish":"scriptkit"},"watch":{"lib/*.js":["lint","test"],"test/*.js":["lint","test"]},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"3.2.0","eslint-plugin-import":"2.2.0","phantomjs-prebuilt":"^2.1.14","scriptkit":"0.2.0","tap-spec":"4.1.1","tape-rollup":"4.6.4","tape-run":"2.2.1"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"1.0.0-beta.12","domodule":"5.1.1"},"scriptkit":{"files":{"dist/tokens.js":"lib/tokens.js","test/tokens.test.dist.js":"test/tokens.test.js"},"scripts":{"commonjs":{"ignore":["node_modules/tape-rollup/*"]}}},"gitHead":"39a20ef9019946328e77140b5076a3074ea42e06","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@1.0.0-beta.2","_shasum":"2b4b8c2bf95ffe9040aadc9566dd0bcb3b9e844c","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.10.0","_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"dist":{"shasum":"2b4b8c2bf95ffe9040aadc9566dd0bcb3b9e844c","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-1.0.0-beta.2.tgz","integrity":"sha512-jokFXvecdvVhxz0ddHvLlQBz52NjNdZ2NClsk5XdNcwxh9tu/VuKNT63MBov+CvDWixqrjuqEFup8zsyCUnzIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCawgIuZXMFoxStNn96hokG6jVlNhs0L4D8q9t/fNVpzgIhAIkq9pvE1BBBLVoovTGGwTE48Qn+0RaHKFs6YWTzsRXS"}]},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"dawnerd","email":"troy@somany.us"},{"name":"ecwillis","email":"eric@ecwillis.com"},{"name":"jga","email":"code@firstandthird.com"},{"name":"orthagonal1","email":"orthagonal1@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tokens-1.0.0-beta.2.tgz_1488457437267_0.03871912998147309"},"directories":{}},"1.0.0-beta.3":{"name":"@firstandthird/tokens","version":"1.0.0-beta.3","description":"Class based modules","main":"dist/tokens.js","module":"lib/tokens.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"exit 0","test-skip":"cat test/tokens.test.dist.js | tape-run --static . --browser phantomjs --render tap-spec","prepublish":"scriptkit"},"watch":{"lib/*.js":["lint","test"],"test/*.js":["lint","test"]},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"3.2.0","eslint-plugin-import":"2.2.0","phantomjs-prebuilt":"^2.1.14","scriptkit":"0.2.0","tap-spec":"4.1.1","tape-rollup":"4.6.4","tape-run":"2.2.1"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"1.0.0-beta.12","domassist":"^1.8.0","domodule":"5.1.2"},"scriptkit":{"files":{"dist/tokens.js":"lib/tokens.js","test/tokens.test.dist.js":"test/tokens.test.js"},"scripts":{"commonjs":{"ignore":["node_modules/tape-rollup/*"]}}},"gitHead":"489d8ba99918c4f2aebbc66b1832fc4604143471","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@1.0.0-beta.3","_shasum":"e1bf8c9a2d139ba8c025d139568edf87ebf4bd61","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.10.0","_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"dist":{"shasum":"e1bf8c9a2d139ba8c025d139568edf87ebf4bd61","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-1.0.0-beta.3.tgz","integrity":"sha512-1vPaPFB1VOXzFQ8+n1WwK5k8xfr80H+vZFidQUPWy7tCBGgoaUPMIWEfEDd9OqAOlT8C104/+vmbjbsTY1CgzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSg+zjT9rFhpBWiDC1Qa9OEmKtqlV8Z8dZqgZM0HVtcAiEAuYpS9Hlj+h8iYup9m1PqRJ7NmklrMsEGTxw+DnFjbv0="}]},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"dawnerd","email":"troy@somany.us"},{"name":"ecwillis","email":"eric@ecwillis.com"},{"name":"jga","email":"code@firstandthird.com"},{"name":"orthagonal1","email":"orthagonal1@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tokens-1.0.0-beta.3.tgz_1491719953780_0.7716423573438078"},"directories":{}},"1.0.0-beta.4":{"name":"@firstandthird/tokens","version":"1.0.0-beta.4","description":"Class based modules","main":"dist/tokens.js","module":"lib/tokens.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"exit 0","test-skip":"cat test/tokens.test.dist.js | tape-run --static . --browser phantomjs --render tap-spec","prepublish":"scriptkit"},"watch":{"lib/*.js":["lint","test"],"test/*.js":["lint","test"]},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"3.2.0","eslint-plugin-import":"2.2.0","phantomjs-prebuilt":"^2.1.14","scriptkit":"0.2.0","tap-spec":"4.1.1","tape-rollup":"4.6.4","tape-run":"2.2.1"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"1.0.0-beta.13","domassist":"1.8.0","domodule":"5.1.2"},"scriptkit":{"files":{"dist/tokens.js":"lib/tokens.js","test/tokens.test.dist.js":"test/tokens.test.js"},"scripts":{"commonjs":{"ignore":["node_modules/tape-rollup/*"]}}},"gitHead":"d5294b81f3ec64170287f7f4fb2b52d390d5ff6d","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@1.0.0-beta.4","_shasum":"a463d9d1d3ac847e4c0525a427482d4de37e14b5","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.10.0","_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"dist":{"shasum":"a463d9d1d3ac847e4c0525a427482d4de37e14b5","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-1.0.0-beta.4.tgz","integrity":"sha512-bLV8OBfwn7Q8RvRZHqS6k1Wx4cyid5ohpzzCp6HvF5nD2l1B7hTqwKA1WxRDhCfhlZQ2Y5N1T77yIZAGcPnAbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA8HT0RkCnO70MolovWHRalWhlaOC7f6f2BVZIZ8j0JAIhAKd9NGoXIojOB0Rf9Rs9XyZWXfidn18igik+Nu2cLmKn"}]},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"dawnerd","email":"troy@somany.us"},{"name":"ecwillis","email":"eric@ecwillis.com"},{"name":"jga","email":"code@firstandthird.com"},{"name":"orthagonal1","email":"orthagonal1@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tokens-1.0.0-beta.4.tgz_1491826434254_0.9625442628748715"},"directories":{}},"1.0.0-beta.5":{"name":"@firstandthird/tokens","version":"1.0.0-beta.5","description":"Class based modules","main":"dist/tokens.js","module":"lib/tokens.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"exit 0","test-skip":"cat test/tokens.test.dist.js | tape-run --static . --browser phantomjs --render tap-spec","prepublish":"scriptkit"},"watch":{"lib/*.js":["lint","test"],"test/*.js":["lint","test"]},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"3.2.0","eslint-plugin-import":"2.2.0","phantomjs-prebuilt":"^2.1.14","scriptkit":"0.2.0","tap-spec":"4.1.1","tape-rollup":"4.6.4","tape-run":"2.2.1"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"1.0.0-beta.14","domassist":"1.8.0","domodule":"5.1.2"},"scriptkit":{"files":{"dist/tokens.js":"lib/tokens.js","test/tokens.test.dist.js":"test/tokens.test.js"},"scripts":{"commonjs":{"ignore":["node_modules/tape-rollup/*"]}}},"gitHead":"c9d8ff3a74f258c0615a0417c678ded8794d4683","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@1.0.0-beta.5","_shasum":"7553b8fd3b1e7da2192f279d79451e050ddb5156","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.10.0","_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"dist":{"shasum":"7553b8fd3b1e7da2192f279d79451e050ddb5156","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-1.0.0-beta.5.tgz","integrity":"sha512-1pKA0myH15DIYqeuIbLT3JeIHAwpIYC0pIWVR2Xs5H9qtbEdvGWQakZuRGzSag5o1aePYxQ7K4/EzJaSBZd47Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjVcCFbaBVvcO0oWqakN9HlEjY5C4hTVXrPUm1a91dqAiEAuIHJv/dTMe8VLblQ1s78QRzXKfM7Va0rmTqwW60RaQM="}]},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"dawnerd","email":"troy@somany.us"},{"name":"ecwillis","email":"eric@ecwillis.com"},{"name":"jga","email":"code@firstandthird.com"},{"name":"orthagonal1","email":"orthagonal1@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tokens-1.0.0-beta.5.tgz_1491827189730_0.3857951769605279"},"directories":{}},"1.0.0":{"name":"@firstandthird/tokens","version":"1.0.0","description":"Class based modules","main":"dist/tokens.js","module":"lib/tokens.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"exit 0","test-skip":"cat test/tokens.test.dist.js | tape-run --static . --browser phantomjs --render tap-spec","prepublish":"scriptkit"},"watch":{"lib/*.js":["lint","test"],"test/*.js":["lint","test"]},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"3.2.0","eslint-plugin-import":"2.2.0","phantomjs-prebuilt":"^2.1.14","scriptkit":"0.2.0","tap-spec":"4.1.1","tape-rollup":"4.6.4","tape-run":"2.2.1"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"^1.0.0","domassist":"^1.8.0","domodule":"^5.1.2"},"scriptkit":{"files":{"dist/tokens.js":"lib/tokens.js","test/tokens.test.dist.js":"test/tokens.test.js"},"scripts":{"commonjs":{"ignore":["node_modules/tape-rollup/*"]}}},"gitHead":"031b037e64832d570991152fca0aee44474dd152","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@1.0.0","_shasum":"4061854414312fa7c9d5af85e283a67599813255","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.10.0","_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"dist":{"shasum":"4061854414312fa7c9d5af85e283a67599813255","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-1.0.0.tgz","integrity":"sha512-fCwFX7d9LBJD7wvO3H5GeAV8jfZO/EBh98GH1mybZuTnQduw80oc42L81DPd8eRL3QIqjvBiJTCUjSfE4j3qxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICspGSl6SxlYKMWOb0XhxGfIeAjab6NM1E7F6kFJl2L/AiAmPr7+mFzzc0FsGq8p1b2Ts1n/x6HWxAeU7Tl1iT/XXw=="}]},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"dawnerd","email":"troy@somany.us"},{"name":"ecwillis","email":"eric@ecwillis.com"},{"name":"jga","email":"code@firstandthird.com"},{"name":"orthagonal1","email":"orthagonal1@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tokens-1.0.0.tgz_1492587247684_0.8121474520303309"},"directories":{}},"2.0.0":{"name":"@firstandthird/tokens","version":"2.0.0","description":"Class based modules","main":"lib/tokens.js","module":"dist/tokens.esm.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"scriptkit"},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"^4.3.0","eslint-plugin-import":"^2.16.0","scriptkit":"^2.0.3"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"^1.1.0","domassist":"^2.0.2","domodule":"^6.0.0"},"scriptkit":{"test":{"enabled":false},"serve":{"enabled":true},"files":{"dist/tokens.js":"lib/tokens.js"}},"gitHead":"29cbb8fe3d0a89f1ac41a14aa566862d751aa628","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@2.0.0","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-E/vzNyG8d8X8u0rfO5BnI6v5fhOmxN3hCVOdKPvlxU4V18yzcrA64lGnz4a4LAuAsB0WEizx+HQvNoCtkE34qA==","shasum":"386f5f9ceefb3eb5b85594a8e524fa6dee7f8928","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-2.0.0.tgz","fileCount":8,"unpackedSize":120538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsJu3CRA9TVsSAnZWagAAq00P/28KYZ+z9+pdy7aWC+YQ\n9OeTxun3t8psLg0SXO30NqEvTA5ZkMx3bM45tMh+sxHFa0Oybp1gJhiaL84c\nOkGgVyqAONPo4rOiVajMRalj/8G8nv/U813sN0CamQlYtXpKnPuTubDhA5iM\n+XTWunsMw+TnzT6GoIJA1WpPr4Ngyz8gzrv3XP3tSHq0Fa8WSipD90K67B6B\nLDtYvxozAlFpF8L74Qurgm1uSmF2ibCOOB9+PK1eIDwteKMJ0ZV/QCTHEomH\nOSkGPxAVkTNGCQ5rT4y/hmaYMXE5n928YDxQsJ+Mo+mLbrExvMytIwd0xEPc\nm5bsYpc6Krb1m29LYTS1jF6Xz4xiTgC7rhFEWJfq77+GHgR4CqDO+c0Ee8bU\nevjDI53uwTDo2XbvdPjg6TQY54D4aWf3Mp6DQQa1TsWvmbb1SedEAx2ZhIHv\nPOuMewAaKfWeYp1WKmxoJZjriXVCZag1PRgtkSEgc8xnwrwncZP8QqmRuJXt\ncGwAy7rj0oWve3kbxLu/MYr2FfTx0ZWbVQlSeWOCLeZQGMAjY5jU6b8KTaNv\nGVB2vpk0S6KoT0PKYUvdEu88kO9e4kkWw/wBeqcZgQbCkKGZEymFnaMGM/jL\nWopbIwmFIgVaQ18i2FPtnr/ODKzvI0uh+cV/hwU3le9yF2jEhe3TpfbcZqBd\nS+je\r\n=HnUh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfXlJOphQ3thvKbw0/I8EP9qPi4iLpimKhU+AT+rJG9gIgcuKr052TTu0rh7FpQwUMLak6WZLjNtS8gJus20YYxy4="}]},"maintainers":[{"email":"sombragriselros@gmail.com","name":"alaguna"},{"email":"aleperez92@gmail.com","name":"aleperez92"},{"email":"troy@somany.us","name":"dawnerd"},{"email":"eric@ecwillis.com","name":"ecwillis"},{"email":"code@firstandthird.com","name":"jga"},{"email":"orthagonal1@gmail.com","name":"orthagonal1"}],"_npmUser":{"name":"aleperez92","email":"aleperez92@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tokens_2.0.0_1555078070898_0.9494747944126554"},"_hasShrinkwrap":false},"2.1.0":{"name":"@firstandthird/tokens","version":"2.1.0","description":"Turn a text field into a tokenized autocomplete.","main":"lib/tokens.js","module":"dist/tokens.js","keywords":["token","autocomplete"],"scripts":{"start":"scriptkit","build":"scriptkit build","dev":"scriptkit dev","test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"scriptkit"},"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"license":"MIT","devDependencies":{"eslint-config-firstandthird":"^4.4.0","eslint-plugin-import":"^2.18.0","scriptkit":"^3.0.0"},"eslintConfig":{"env":{"browser":true},"extends":"firstandthird"},"dependencies":{"@firstandthird/complete":"^2.1.0","domassist":"^2.2.0","domodule":"^6.1.0"},"scriptkit":{"test":{"enabled":false},"serve":{"enabled":true},"files":{"dist/tokens.js":"lib/tokens.js"}},"gitHead":"72e02a1fb1d75b76ea1c9f3fd4c7edb7844d1b35","bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"homepage":"https://github.com/firstandthird/tokens#readme","_id":"@firstandthird/tokens@2.1.0","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-zmxXmJ8k4E3hi3URd2Zf8sl3PmEULoCVFW7n8e/9qoclqTPOIiaf+Q3WdsO1rWIh3gUVwOeeu3043V7ya75aXA==","shasum":"70026d4e897771d46767421cd8f6c167056b782c","tarball":"https://registry.npmjs.org/@firstandthird/tokens/-/tokens-2.1.0.tgz","fileCount":8,"unpackedSize":49100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHH13CRA9TVsSAnZWagAA4GAP/jUGBrivBvQF6HDTtepk\ndOKArWs69OJYgQZznJ+aUC8ze/qWchlXF5hnpY4u0LfgEFJvwubXe0UiyTQk\nivhWeG10a/YUHFz6/Mg/If7HQXBx1zV8bvGMxCHJiHUfdXQgwIe1/yp8D01M\nQxQL3qOZpj3ejwIxPNgmy5R45/RaFeiD00vwfUj5PHFzWbgCiJh8qzufpkhR\nxvhhwnYunrK7r/+PFxeW+qxBKeBV5+JI1XFp679/5JSrPvJw6SPy5zHe4jSD\nGY42n8btRw2Mjv7FrfLg6eoW5AH3f6FIp/+wBhY9K/mtlY89Qxn13W0Mh7Si\nS94PtaaMvU2Fjsw+kq4d3FXAHxz+/b2r8IqhmhzBslRm99yDZdSh8k2Wkslx\nsfLXoy272wQHvJDYg0g8S8lbeJRr4r1cTGQLNMWIx++u2CCWsvzq6caIo1qV\nqnc+iXkCKIdVhl6s730M/qYnhhFOp3j3xTfWwzGANvoG24OSncWDtQEnyOck\nWsAAJ3qgfjCxJzV0vEmLkaqy50uQx86jkRPB2scN2YdvzjaZvfBR1VXKF1Vx\nHn3i3R3GJ8MVnH5nMrKMSTsNYmuKGbucWpN1g/+Ztil0m4r4O0h3JJsQaHpg\nJvaf7swGIn6uSFnQ9PGKL1EambMHGLljlv+ay4A55im45suYfQUh7MfyiglN\nKyH8\r\n=6BZ6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXSuvRTuDMaVw+Rmx6tNcHEMB4jYyKH2JaQ1kFApcN3AiEAn5mQHEHNSYrNPzMOO7+pbzlmrfNeANpeHd+8Yw5drjM="}]},"maintainers":[{"email":"sombragriselros@gmail.com","name":"alaguna"},{"email":"aleperez92@gmail.com","name":"aleperez92"},{"email":"troy@somany.us","name":"dawnerd"},{"email":"eric@ecwillis.com","name":"ecwillis"},{"email":"code@firstandthird.com","name":"jga"},{"email":"orthagonal1@gmail.com","name":"orthagonal1"}],"_npmUser":{"name":"aleperez92","email":"aleperez92@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tokens_2.1.0_1562148215084_0.7195383624582965"},"_hasShrinkwrap":false}},"readme":"# Tokens\n\n![npm](https://img.shields.io/npm/v/@firstandthird/tokens.svg)\n\nPlugin that turns a text field into a tokenized autocomplete.\n\n## Installation\n\n```sh\nnpm install @firstandthird/tokens\n```\n\n## Usage\n\n### JavaScript\n\n```js\nimport '@firstandthird/tokens'\n```\n\n### HTML\n\n```html\n  ...\n\n  <body>\n    <div data-module=\"Tokens\" data-module-endpoint=\"tokens.json?q=${term}\" data-module-strict=\"false\" data-action=\"focus\" data-module-initial=\"One, Two\">\n      <div data-name=\"tokensContainer\"></div>\n      <input type=\"text\"\n             name=\"value\"\n             data-name=\"input\"\n             data-action=\"search\"\n             data-action-type=\"input\"\n             placeholder=\"Search for something\">\n      <div data-name=\"resultsContainer\"></div>\n    </div>\n\n  </body>\n</html>\n```\n\nSee the [complete example](./example/index.html).\n\nYou can either provide a `source` parameter or pass a `query` function which retrieves data from server and return an array of suggestions.\n\n### Optional parameters\n\n#### `search`\n\nThe function against which are evaluated the suggestions. Have to return either `true` or `false`.\n\n#### `texts`\n\nAll appearing texts can be replaced by passing parameters within this object:\n\n* `close-text` : '×'\n* `type-suggestions` : 'Type to search values'\n* `no-results` : 'There are no results matching'\n\n#### `cssClasses`\n\nAll css classes can be replaced by passing parameters within this object:\n\n* `token-list` : Used in the list of tokens\n* `list-input-holder` : Used to style the list element in which is contained the input\n* `list-token-holder` : Used to style the list element in which are contained tokens\n* `input-text` : Used to style the input element\n* `delete-anchor` : Used to style the delete anchor which is meant to delete a token from the list\n* `suggestion-selector` : Used to style the div which holds suggestions and hints\n* `suggestions-list-element` : Used to style the list elements for suggestions\n* `highlighted-suggestion` : Used to highlight suggestions within the list when navigating or hovering\n\n#### `minChars`\n\nMinimum chars you need to write for the suggestions to appear.\n\n#### `maxSelected`\n\nOption to cap the ammount of tokens you can add.\n\n#### `showSuggestionOnFocus`\n\nOption to show type suggestion when focus on the element.\n\n#### `showMessageOnNoResults`\n\nOption to show a message if no suggestions are available.\n\n#### `cleanInputOnHide`\n\nOption to clean the input when suggestions are hidden.\n\n#### `initValue`\n\nArray of initial values you want to see added when plugin inits\n\n#### `allowAddingNoSuggestion`\n\nOption that allows you to add a value on enter even if it's not on the suggestions.\n\n#### `suggestionsZindex`\n\n`z-index` value for suggestion's div.\n\n#### `formatSuggestion`\n\nA function that is used to format a suggestion while typing. Function receives two parameters:\n\n* `suggestion` : The value of the full suggestion\n* `value` : The value typed on the input.\n\n#### `query`\n\nA function that is used to retreive suggestions. By default, it will use the internal sources, however you can write your\nown function to query a database and return an array of suggestions. This function receives two parameters\n\n* `query` : The value entered by the user\n* `callback` : The function that you should call, passing the suggestions as an array, once you finished getting your results\n\n> **Note:** `this` will be the widget object, is your responsability to mantain the scope within the callback!\n\n## Events\n\nSome events are fired:\n\n### `add`\n\nWhen an element is added this event is fired. Receives the value added as a parameter.\n\n### `remove`\n\nWhen an element is removed, this event is fired. Receives the value removed as a parameter.\n\n### `max`\n\nIf you specify the `maxSelected` option to a value greater than `0', this event will be fired whenever you reach that\n ammount of tokens added.\n","maintainers":[{"email":"sombragriselros@gmail.com","name":"alaguna"},{"email":"aleperez92@gmail.com","name":"aleperez92"},{"email":"troy@somany.us","name":"dawnerd"},{"email":"eric@ecwillis.com","name":"ecwillis"},{"email":"code@firstandthird.com","name":"jga"},{"email":"orthagonal1@gmail.com","name":"orthagonal1"}],"time":{"modified":"2022-06-12T17:57:54.796Z","created":"2017-03-01T15:51:13.719Z","1.0.0-beta.1":"2017-03-01T15:51:13.719Z","1.0.0-beta.2":"2017-03-02T12:23:59.209Z","1.0.0-beta.3":"2017-04-09T06:39:15.811Z","1.0.0-beta.4":"2017-04-10T12:13:54.876Z","1.0.0-beta.5":"2017-04-10T12:26:30.325Z","1.0.0":"2017-04-19T07:34:09.641Z","2.0.0":"2019-04-12T14:07:50.993Z","2.1.0":"2019-07-03T10:03:35.207Z"},"homepage":"https://github.com/firstandthird/tokens#readme","keywords":["token","autocomplete"],"repository":{"type":"git","url":"git+https://github.com/firstandthird/tokens.git"},"author":{"name":"First+Third"},"bugs":{"url":"https://github.com/firstandthird/tokens/issues"},"license":"MIT","readmeFilename":"README.md"}