{"_id":"bootstrap-tokenfield","_rev":"18-39180bb76a9373db1b036f007e9635ac","name":"bootstrap-tokenfield","description":"Advanced tagging/tokenizing plugin for input fields with a focus on keyboard and copy-paste support.","dist-tags":{"latest":"0.12.0"},"versions":{"0.11.1":{"name":"bootstrap-tokenfield","title":"Bootstrap Tokenfield","description":"Advanced tagging/tokenizing plugin for input fields with a focus on keyboard and copy-paste support.","version":"0.11.1","main":"dist/bootsrap-tokenfield.js","homepage":"http://sliptree.github.io/bootstrap-tokenfield/","author":{"name":"ragulka","url":"https://github.com/ragulka"},"repository":{"type":"git","url":"git://github.com/sliptree/bootstrap-tokenfield.git"},"keywords":["jquery","javascript","bootstrap","tokenfield","tags","token","input","select","form"],"bugs":{"url":"https://github.com/sliptree/bootstrap-tokenfield/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jquery/jquery/blob/2.1.0/MIT-LICENSE.txt"}],"scripts":{"test":"mocha --ui bdd --recursive --reporter spec --require must"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-less":"~0.8.3","grunt-contrib-uglify":"~0.2.7","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.5.3","grunt-jekyll":"~0.4.1","mocha":"^1.17.1","must":"^0.11.0","jsdom":"^0.10.1","jquery-simulate-ext":"git://github.com/j-ulrich/jquery-simulate-ext"},"dependencies":{"jquery":"^2.1.0"},"_id":"bootstrap-tokenfield@0.11.1","dist":{"shasum":"4178ede8ff779ed268a3b39917e65f1356b2235a","tarball":"https://registry.npmjs.org/bootstrap-tokenfield/-/bootstrap-tokenfield-0.11.1.tgz","integrity":"sha512-AW68u+40rtSWLCkWmxpmnoiZACSeDfimAcaIBwQ/Oe6YPWPeNYAQHJSFKh/op64nblKLL8VRqA/uEO0H+POi0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/D6nkqcLrMX6GmFs+4zgUcSs3baxnmfKlV0LVjGi63AIgC+GfqeDLponXcn7xGwVcMizcO+vOvhK/R9ZtIQxKwos="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ragulka","email":"illimar.tambek@gmail.com"},"maintainers":[{"name":"ragulka","email":"illimar.tambek@gmail.com"}]},"0.11.6":{"name":"bootstrap-tokenfield","title":"Bootstrap Tokenfield","description":"Advanced tagging/tokenizing plugin for input fields with a focus on keyboard and copy-paste support.","version":"0.11.6","main":"dist/bootsrap-tokenfield.js","homepage":"http://sliptree.github.io/bootstrap-tokenfield/","author":{"name":"ragulka","url":"https://github.com/ragulka"},"repository":{"type":"git","url":"git://github.com/sliptree/bootstrap-tokenfield.git"},"keywords":["jquery","javascript","bootstrap","tokenfield","tags","token","input","select","form"],"bugs":{"url":"https://github.com/sliptree/bootstrap-tokenfield/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jquery/jquery/blob/2.1.0/MIT-LICENSE.txt"}],"scripts":{"test":"mocha --ui bdd --recursive --reporter spec --require must"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-less":"~0.8.3","grunt-contrib-uglify":"~0.2.7","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.5.3","grunt-jekyll":"~0.4.1","mocha":"^1.17.1","must":"^0.11.0","jsdom":"^0.10.1","jquery-simulate-ext":"git://github.com/j-ulrich/jquery-simulate-ext"},"dependencies":{"jquery":"^2.1.0"},"_id":"bootstrap-tokenfield@0.11.6","dist":{"shasum":"a4d54a0d28fcef5ff7eebf11c0284994d0b40461","tarball":"https://registry.npmjs.org/bootstrap-tokenfield/-/bootstrap-tokenfield-0.11.6.tgz","integrity":"sha512-5PoTAx7aUPCOLQd2NgsTv0f5g83AkEb61l1cXu4SOhuqUhyB8AHZLGUkHy3krlz4jqmIvaPrtH4vGjcIgqolIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtfKgrMnzgv8xsRqr6wJFlMrTefMy+kcV6wetIvlvyjgIgCDmBPCwORcEB1v6e7W4NYBZGs/FVjmzqXG/wgBQm6nc="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ragulka","email":"illimar.tambek@gmail.com"},"maintainers":[{"name":"ragulka","email":"illimar.tambek@gmail.com"}]},"0.11.7":{"name":"bootstrap-tokenfield","title":"Bootstrap Tokenfield","description":"Advanced tagging/tokenizing plugin for input fields with a focus on keyboard and copy-paste support.","version":"0.11.7","main":"dist/bootsrap-tokenfield.js","homepage":"http://sliptree.github.io/bootstrap-tokenfield/","author":{"name":"ragulka","url":"https://github.com/ragulka"},"repository":{"type":"git","url":"git://github.com/sliptree/bootstrap-tokenfield.git"},"keywords":["jquery","javascript","bootstrap","tokenfield","tags","token","input","select","form"],"bugs":{"url":"https://github.com/sliptree/bootstrap-tokenfield/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jquery/jquery/blob/2.1.0/MIT-LICENSE.txt"}],"scripts":{"test":"mocha --ui bdd --recursive --reporter spec --require must"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-less":"~0.8.3","grunt-contrib-uglify":"~0.2.7","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.5.3","grunt-jekyll":"~0.4.1","mocha":"^1.17.1","must":"^0.11.0","jsdom":"^0.10.1","jquery-simulate-ext":"git://github.com/j-ulrich/jquery-simulate-ext","grunt-exec":"^0.4.5","semver":"^2.2.1"},"dependencies":{"jquery":"^2.1.0"},"_id":"bootstrap-tokenfield@0.11.7","dist":{"shasum":"2305927f54e026a1eac5d2f7166aee7da1131143","tarball":"https://registry.npmjs.org/bootstrap-tokenfield/-/bootstrap-tokenfield-0.11.7.tgz","integrity":"sha512-NU9UES4QhegkBLQm2ctjVw4a7eNq4jwHEOyVvPgGPvz6R6F5tBHHv2Hf/b+v/ioDty0AVJvOgzu0rFZ+rHsbZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbo1GZqawoLT+4O1mt4iSv+Vg8gqaSv9JHAi7ZZevllAiBfvnv3wBpy2Ho0iDSsZ4CL2cgChw6oi7aQuKgZqxY8kQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ragulka","email":"illimar.tambek@gmail.com"},"maintainers":[{"name":"ragulka","email":"illimar.tambek@gmail.com"}]},"0.11.8":{"name":"bootstrap-tokenfield","title":"Bootstrap Tokenfield","description":"Advanced tagging/tokenizing plugin for input fields with a focus on keyboard and copy-paste support.","version":"0.11.8","main":"dist/bootstrap-tokenfield.js","homepage":"http://sliptree.github.io/bootstrap-tokenfield/","author":{"name":"ragulka","url":"https://github.com/ragulka"},"repository":{"type":"git","url":"git://github.com/sliptree/bootstrap-tokenfield.git"},"keywords":["jquery","javascript","bootstrap","tokenfield","tags","token","input","select","form"],"bugs":{"url":"https://github.com/sliptree/bootstrap-tokenfield/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jquery/jquery/blob/2.1.0/MIT-LICENSE.txt"}],"scripts":{"test":"mocha --ui bdd --recursive --reporter spec --require must"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-less":"~0.8.3","grunt-contrib-uglify":"~0.2.7","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.5.3","grunt-jekyll":"~0.4.1","mocha":"^1.17.1","must":"^0.11.0","jsdom":"^0.10.1","jquery-simulate-ext":"^1.3.0","grunt-exec":"^0.4.5","semver":"^2.2.1"},"dependencies":{"jquery":"^2.1.0"},"_id":"bootstrap-tokenfield@0.11.8","dist":{"shasum":"9765b3c3b1cf26f91843acd418553fc138b95985","tarball":"https://registry.npmjs.org/bootstrap-tokenfield/-/bootstrap-tokenfield-0.11.8.tgz","integrity":"sha512-GFioV+kAYWw/UjA9MUCBNCs5v29+XSIdwsZyqtoiVh2GfCDtk2O86tam7ehm649mooTUA+eaZIzD704PSzsYcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfTVvmRKYFG9hkj9owWQEW8wK7HR5+piKnawljLS6JuQIgPfSq/8xnRKCk3ITjRhsRXNJ4Ii73WS3owEByVn8Y/yM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ragulka","email":"illimar.tambek@gmail.com"},"maintainers":[{"name":"ragulka","email":"illimar.tambek@gmail.com"}]},"0.11.9":{"name":"bootstrap-tokenfield","title":"Bootstrap Tokenfield","description":"Advanced tagging/tokenizing plugin for input fields with a focus on keyboard and copy-paste support.","version":"0.11.9","main":"dist/bootstrap-tokenfield.js","homepage":"http://sliptree.github.io/bootstrap-tokenfield/","author":{"name":"ragulka","url":"https://github.com/ragulka"},"repository":{"type":"git","url":"git://github.com/sliptree/bootstrap-tokenfield.git"},"keywords":["jquery","javascript","bootstrap","tokenfield","tags","token","input","select","form"],"bugs":{"url":"https://github.com/sliptree/bootstrap-tokenfield/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jquery/jquery/blob/2.1.0/MIT-LICENSE.txt"}],"scripts":{"test":"mocha --ui bdd --recursive --reporter spec --require must"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-less":"~0.8.3","grunt-contrib-uglify":"~0.2.7","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.5.3","grunt-jekyll":"~0.4.1","mocha":"^1.17.1","must":"^0.11.0","jsdom":"^0.10.1","jquery-simulate-ext":"^1.3.0","grunt-exec":"^0.4.5","semver":"^2.2.1"},"dependencies":{"jquery":"^2.1.0"},"_id":"bootstrap-tokenfield@0.11.9","dist":{"shasum":"b8ef507de942182a9046c17d4ad5e4bf44e48124","tarball":"https://registry.npmjs.org/bootstrap-tokenfield/-/bootstrap-tokenfield-0.11.9.tgz","integrity":"sha512-gxQr2177dYBIMSUrdZ6PzF3xLJRoiU1CO9Y+20gcMT3Ni6HMNsCCamLDf9SJ7EzzjqVHiRFpdDMwoyZnAPHBEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELsZNz0a44a1YnwG0t4FNY1z/FQyqBzJkL9tUuqJu5QAiEAoPtR8WybFE3OOrVSzsE6tyilfhPFxn4zQ/EZspA0FDo="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ragulka","email":"illimar.tambek@gmail.com"},"maintainers":[{"name":"ragulka","email":"illimar.tambek@gmail.com"}]},"0.12.0":{"name":"bootstrap-tokenfield","title":"Bootstrap Tokenfield","description":"Advanced tagging/tokenizing plugin for input fields with a focus on keyboard and copy-paste support.","version":"0.12.0","main":"dist/bootstrap-tokenfield.js","homepage":"http://sliptree.github.io/bootstrap-tokenfield/","author":{"name":"ragulka","url":"https://github.com/ragulka"},"repository":{"type":"git","url":"git://github.com/sliptree/bootstrap-tokenfield.git"},"keywords":["jquery","javascript","bootstrap","tokenfield","tags","token","input","select","form"],"bugs":{"url":"https://github.com/sliptree/bootstrap-tokenfield/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jquery/jquery/blob/2.1.0/MIT-LICENSE.txt"}],"scripts":{"test":"mocha --ui bdd --recursive --reporter spec --require must"},"devDependencies":{"grunt":"~0.4.2","grunt-contrib-less":"~0.8.3","grunt-contrib-uglify":"~0.2.7","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.5.3","grunt-jekyll":"~0.4.1","mocha":"^1.17.1","must":"^0.11.0","jsdom":"^0.10.1","jquery-simulate-ext":"^1.3.0","grunt-exec":"^0.4.5","semver":"^2.2.1"},"dependencies":{"jquery":"^2.1.0"},"_id":"bootstrap-tokenfield@0.12.0","dist":{"shasum":"5d763c3d196de71078ac4d49dc2ea169cb870cdf","tarball":"https://registry.npmjs.org/bootstrap-tokenfield/-/bootstrap-tokenfield-0.12.0.tgz","integrity":"sha512-OgLQEQ1V3s69wgvjpWvPESNTv1RUZKtwpRQd3o5AQYdan47iUAL7ajSMjXMlSxWywrLTntF1l84aE7N1DvUlVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLuQIy/b80h0fx6CgQUhW1pYU6Cp2UX/+stllGgu2IawIhAK2o3LrCSFBHN4jRzKy2y4XoDO9JPJB6Zpw3VMA1YNDR"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ragulka","email":"illimar.tambek@gmail.com"},"maintainers":[{"name":"ragulka","email":"illimar.tambek@gmail.com"}]}},"readme":"Bootstrap Tokenfield\n====================\n[![NPM version][npm-badge]](http://badge.fury.io/js/bootstrap-tokenfield)\n[![Build status][travis-badge]](https://travis-ci.org/sliptree/bootstrap-tokenfield)\n[npm-badge]: https://badge.fury.io/js/bootstrap-tokenfield.png\n[travis-badge]: https://travis-ci.org/sliptree/bootstrap-tokenfield.png?branch=master\n\nA jQuery tagging / tokenizer input plugin for Twitter's Bootstrap, by the guys from [Sliptree](https://sliptree.com)\n\nCheck out the [demo and docs](http://sliptree.github.io/bootstrap-tokenfield/)\n\n### Installation\n\nRequirements: jQuery 1.9+, Bootstrap 3+ (only CSS)\n\n1. Install via npm or bower (recommended) or manually download the package\n2. Include `dist/bootstrap-tokenfield.js` or `dist/bootstrap-tokenfield.min.js` in your HTML\n3. Include `dist/css/bootstrap-tokenfield.css` in your HTML\n\n### Usage\n\n```js\t\n$('input').tokenfield()\n```\n\n### Features\n\n* Copy & paste tokens with Ctrl+C and Ctrl+V\n* Keyboard navigation, delete tokens with keyboard (arrow keys, Shift + arrow keys)\n* Select specific tokens with Ctrl + click and Shift + click\n* Twitter Typeahead and jQuery UI Autocomplete support\n\n### FAQ\n\n#### How can I prevent duplicate tokens from being entered?\n\nYou can use the `tokenfield:createtoken` event for that. Check the `event.attrs` property for token value and label,\nand the run your duplicate detection logic. If it's a duplicate token, simply do `event.preventDefault()`.\n\nHere's a simple example that checks if token's value is equal to any of the existing tokens' values.\n\n```js\n$('#my-tokenfield').on('tokenfield:createtoken', function (event) {\n\tvar existingTokens = $(this).tokenfield('getTokens');\n\t$.each(existingTokens, function(index, token) {\n\t\tif (token.value === event.attrs.value)\n\t\t\tevent.preventDefault();\n\t});\n});\n```\n\n### Changelog\n\nSee [release notes](https://github.com/sliptree/bootstrap-tokenfield/releases)\n\nPrevious releases:\n\n0.10.0\n\n* Fixed: Entering a duplicate token does not submit the underlying form anymore\n* Fixed: Selecting a duplicate token from autocomplete or typeahead suggestions no longer clears the input\n* Improved: Trying to enter a duplicate tag now animates the existing tag for a little while\n* Improved: Tokenfield input has now `autocomplete=\"off\"` to prevent browser-specific autocomplete suggestions\n* Changed: `triggerKeys` has been renamed to `delimiter` and accepts a single or an array of characters instead of character codes.\n\n0.9.9-1\n\n* Fixed: setTokens now respects `triggerKeys` option\n\n0.9.8 \n\n* New: `triggerKeys` option\n* Fixed: Long placeholders are not being cut off anymore when initializing tokenfield with no tokens #37\n* Fixed: createTokensOnBlur no more breaks token editing #35\n\n0.9.7 Valuable\n\n* Fixed: Twitter Typeahead valueKey support #18\n* Fixed: Removing multiple tokens returned wrong data #30\n* Fixed: If token is removed in beforeEdit event, no longer falls over #27, #28\n* Fixed: Change event was triggered on initialization #22\n* Fixed: When token is removed in tokenfield:preparetoken event, no longer tries to create a token\n* Fixed: Pressing comma key was not handled reliably\n* New: `prevetDuplicateToken` event\n* Improved: Typeahead integration\n* Improved: styling\n* Minor tweaks, fixes, improvements \n\n0.9.5 Typeable\n\n* New: Twitter Typeahead support\n* New: When triggering 'change' event on original input, setTokens is now called. This allows you to update tokens externally.\n* Fixed: Nnput labels did not work with tokenfield\n* Fixed: Set correct input width on fixed-width inputs\n\n0.9.2 Maintenance release\n\n* Many small fixes and improvements\n\n0.9.0 Bootstrappable\n\n* New: Bootstrap 3 support\n* New: Input group support\n* New: Disable/enable tokenfield\n* New: Tokenfield is now responsive\n* Deprecated: Bootstrap 2 support\n\n0.7.1 \n\n* Fixed: pressing comma did not create a token in Firefox\n* Fixed: tokenfield('getTokensList') returned array instead of string\n\n0.7.0 Autocompleted\n\n* New feature: jQuery UI Autocomplete support\n\n0.6.7 Crossable\n\n* Fixed: Firefox close icon was misplaced\n* New: IE 8-10 support (both CSS and Javascript)\n\n0.6.5 Shiftable\n\n* New feature: select specific tokens with Ctrl/Shift + click\n* New feature: select specific tokens with Shift + arrow keys\n* Internal API improvements\n\n0.6 Editable\n\n* New feature: Edit existing tokens by double-clicking or pressing enter\n* A lot of improvements and bugfixes\n\n0.5 Initial release","maintainers":[{"name":"ragulka","email":"illimar.tambek@gmail.com"}],"time":{"modified":"2022-06-13T04:57:42.961Z","created":"2014-03-06T20:00:46.207Z","0.11.1":"2014-03-06T20:00:46.207Z","0.11.6":"2014-03-07T07:18:50.688Z","0.11.7":"2014-03-07T09:27:01.223Z","0.11.8":"2014-03-07T11:33:04.609Z","0.11.9":"2014-03-10T10:17:03.871Z","0.12.0":"2014-04-26T13:15:24.511Z"},"homepage":"http://sliptree.github.io/bootstrap-tokenfield/","keywords":["jquery","javascript","bootstrap","tokenfield","tags","token","input","select","form"],"repository":{"type":"git","url":"git://github.com/sliptree/bootstrap-tokenfield.git"},"author":{"name":"ragulka","url":"https://github.com/ragulka"},"bugs":{"url":"https://github.com/sliptree/bootstrap-tokenfield/issues"},"readmeFilename":"README.md","users":{"dongyukang":true,"jairo.jfm":true}}