{"_id":"suggest-box","_rev":"29-9818478f1ede3e29369de78e8b96c7df","name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","dist-tags":{"latest":"2.2.3"},"versions":{"1.0.0":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.0.0","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","gitHead":"58810d87d5cc9c682a7c05ea95b50b65e7916d2b","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.0.0","scripts":{},"_shasum":"db5623289ba039ed25d8debae89d9d50da4f08fc","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"db5623289ba039ed25d8debae89d9d50da4f08fc","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.0.0.tgz","integrity":"sha512-kLRzZvOEzafwWGzN45RGV3F7wLnsVJYsgaKioEW33S0rnx3ecJ4I01rKp/pZiuYsganlDv9divtq75hJkr5G/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUuJCe4VAK3GBs3hPCeowd8B6uNpaheyI2YE32Mz+jVAiEA/nrIWcHCj0DTmmpZeyob81Yv7Uk0h1HaLz/ZYpYdH0w="}]}},"1.1.0":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.0","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"7bd5c56623f3cf99a1540866dbd4f16da17f909a","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.0","_shasum":"3ed680850088a555f842a0ed1caf64ae643f08b6","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"3ed680850088a555f842a0ed1caf64ae643f08b6","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.0.tgz","integrity":"sha512-WelHr/GtbXSANhgLxsPhRfQw+BaYm+EtVdbI9GMMlyTwfimgMr9p1yPLeuKwifawkkVoiKtlodU8SHzLiovFFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1MWYoVLtPPd71eEO4S0tLBrSWc9ZzKwPRrJM/ij69GAiB84EMkGadNV8/dplCdwVFj1cpVjgzTfpcbX9s36e4PxA=="}]}},"1.1.1":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.1","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"aded14042c890dea3309b1a6f782af5f97dad6bd","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.1","_shasum":"a52430cb24869ae202b85e92fe89f00b992cce55","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"a52430cb24869ae202b85e92fe89f00b992cce55","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.1.tgz","integrity":"sha512-wfuCoX4jZr19aAKM5LxmFHXUFiC213hExpetpSU7ykjba36AtUFj5wqo2F07s5fKem8dZeNjoWZ42NGOBBXtLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIChoa5JyYICKrAwyIFEZrue3+y2EMtG8E0SQI6aXbdwnAiEAyZd99gBhEjfZlVrdW1eZPOmtUM6l3NkvVb60s51HAKQ="}]}},"1.1.2":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.2","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"68dc3e6dfce2ef5780d51e8719bd77af910761e2","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.2","_shasum":"b87d0bfcf8abd384f823b96414b36ea8b7430ffb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"b87d0bfcf8abd384f823b96414b36ea8b7430ffb","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.2.tgz","integrity":"sha512-SPciFEeqoSQNkTwK3+ND2XTEgRrxe9eEVP21Vaz0xF/KXY2+3YtA9WCNaeu7f6Iq0xm9PSRXeUtitiv5/snAJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6SHtFJ53wAWJYNatC38f2oTPa+BtJJF5eIFzDCCYHxwIgCnyUqjX6m4UqINkieZRnJ7xaxyaXvzPGUOcCrEtLWvs="}]}},"1.1.3":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.3","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"cd1a10a30c4a69e2382715793a3801bae78e54e9","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.3","_shasum":"43f2845593e5450beddf747cf8c865409ebb8028","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"43f2845593e5450beddf747cf8c865409ebb8028","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.3.tgz","integrity":"sha512-JqcKLz5JjLEA4UmVTsiTLIjO8sp4c7nxZ6fGOSUMNjPZEmy6kFa2ilncqj0Yo5TPbBR77r+yjxM9RqdgXY7rIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHX/pqRkvJc7djfB8OaRfOdrWWeU51AKATfat3XneYW9AiA/kB66IdsoFaJznjJXBFmZ6LZDp46L4XCOiqV3nxqD9A=="}]}},"1.1.4":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.4","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"7c4f45d7570fa5759dfe7f3045eb58f17b7492b6","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.4","_shasum":"92707665d798e82c384b564fbf3555a163af0b3c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"92707665d798e82c384b564fbf3555a163af0b3c","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.4.tgz","integrity":"sha512-8IZKAcRPwD7npj5lxzxKYylf7b1uwB3tAQVy14SBuo3wztLwur8tjmD5RKLMidzxVTP3R5P3Bhi3ozcBSt6oAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSF9jrlMw33fxavwOY7Qhpvz5qF1IfOEruptUHA+sqlQIgLr/vnTdgOSHZwiZNBbNMK2RWD85oxtbtQVVgic/bNJk="}]}},"1.1.5":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.5","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"b8d1c2042b111107681166b8e7ad00915f7160ce","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.5","_shasum":"d1204698efa7ad50e6cd0a751fea1e9334da5572","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"d1204698efa7ad50e6cd0a751fea1e9334da5572","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.5.tgz","integrity":"sha512-9WeBOvMAQGXpXPMYOQztKDJPTkXRofuv7v2Uh47djE8yXR65l3IMuGkMh87CQN1mV1QNyuRq0v/CqOrfie0bcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiVjPo+/73guIhGtcWAERzruagXv8edjf05V+x3Cij8AIhAOeY/+grAWPwRt3GpHw87Rbirp2IetdHRMsFnK+psZpd"}]}},"1.1.6":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.6","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"cd781a4ea2f1c6d2487f232e823712b09749d66a","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.6","_shasum":"aa0374554151285ff30347a69cbf1d4b329efe2c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"dist":{"shasum":"aa0374554151285ff30347a69cbf1d4b329efe2c","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.6.tgz","integrity":"sha512-/ejLczLeCcDCEGlN7buxVxKkZjdDfZ4yRulg+D9KOibH6vd1SVLo8P2CaQjlWc+y8yqa0mN0QTQDVEPKFcR96w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV5Lnc74PQVPPCfsIqfjs5mqSRyVC1mn6gYKbORyFx9wIhAPwqCsbf2IZHsmTpCqxI2ERWZiaOZ98KW74T5B4Bsz+2"}]}},"1.1.7":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.7","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"4f3314f54cde430c25dfdbfbd9ddc60c39c66908","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.7","_shasum":"fcec9126114c179e92cabfabb5bfcb3e6d4b90e1","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"fcec9126114c179e92cabfabb5bfcb3e6d4b90e1","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.7.tgz","integrity":"sha512-n5x78shVUtJVRivPnjfbHlypQbAfGvn38r/nKbzVlQ1O383q3MQ5Dg72QRVBWqZ3mxxUOSWBmYXPcv7KqC360A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNb7e1QfkruNklbNZSU6OlndkvRplyVmLIArUC23cD2AiEA0u3V80C4d+DbE3M5ttw74bgpS7O3dnlOeY8+peM9kXc="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}]},"1.1.8":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.8","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"ba9d8f37b0c8c9a06e600a07929c04ed63bb313f","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.8","_shasum":"fb1fd750bc053db6ba3ea6926a4c9902f2b716c0","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"fb1fd750bc053db6ba3ea6926a4c9902f2b716c0","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.8.tgz","integrity":"sha512-0/EsLEXgF3KLttNcnoNL7E7BFvEYvDHcQwb0Br0VutCy0jsrKrZm+VPJx0+f/4QRD3g5RoRuj4FFNeLXWOVn/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvn97hphS/OTCHHcXd5FTQ2YsEve1VqOJfSoJiZ9lQwgIhAIt6hf1NpFPzFGp0JpG1jOzGz2Fpxbe16R2NWv6iCebG"}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}]},"1.1.9":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.9","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"4b2b6b9bc1c36b2b264ec94ef841e4fe4a301eb3","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.9","_shasum":"9da8b5edc184cd1c77a3bdf72016eeca5d7138fd","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"9da8b5edc184cd1c77a3bdf72016eeca5d7138fd","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.9.tgz","integrity":"sha512-z9/ESvP4e1Mx6LMR/sj5SmGViRyaFcaS84U1Tm9z/aEREIjhy6HKbsH6B88MsvpqFw5kVqpto9BqyEchseXyHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhMG6Lc34HBndhKPsq6L0MAU1948mG9Yl9DMjIa2qhAAIgQ1VFfrTzddb5lsak7wb8Pl3/asqQ8hBK+BgUmweSsaI="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}]},"1.1.10":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.10","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"7c40d46c2f074d476a4f1fc8150f58aa0021d9ff","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.10","_shasum":"75fcfbf641825de22ad95a33d3ac5fdd5967ae57","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"75fcfbf641825de22ad95a33d3ac5fdd5967ae57","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.10.tgz","integrity":"sha512-U1RXUT44L9fUe3AgWOJC9A64WRs4XWpnei6spegNK27nC3oahstsVSeIqQQtRKJnUgjBg494D85siyakex9Srg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5huDKP/3OQjJ0kMqVUZoHV5STU/p3pMTPzNT39IydWAiEA5H+bha8LN0+yxoFOb7etdjFK2j/wg1PiKikkC0YFkrg="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}]},"1.1.11":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.11","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"35025a0468f7528771d6e5ff5871197f9001f9b3","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.11","_shasum":"ef732e69cdea195aec386616dabbb56d6b2bbd6d","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"ef732e69cdea195aec386616dabbb56d6b2bbd6d","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.11.tgz","integrity":"sha512-sNFY/HibkMvAzdvbAxngbVgoMBPkPi4INO+/nUrCGB1bGi7fpXvwQ8/drb668+QKNtcarCFoXxgAK34y6P1z0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbvdkMEJ9iL9GjW/VMQxqTkp8lVFkuf3WOwvAs7NoZ0AiA7h00nmtjEDj7r1any0zsTn2FBp9IezDr9DLg93V+ExA=="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}]},"1.1.12":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"1.1.12","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"indexhtmlify":"~1.2.0","browserify":"~8.0.3"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"91b1168f147753cf5099cdc912cf327bd9efbdcc","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@1.1.12","_shasum":"aa8ee9db9e9b8246c150d4be6273bca232a4b9c5","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"aa8ee9db9e9b8246c150d4be6273bca232a4b9c5","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-1.1.12.tgz","integrity":"sha512-b78uPAXBUwIOWFxtbyQgRjZSrO4k+s30iPU+BZGpt08doEgt10k3VaYS01sdIuJDdtlLTWiFtN4pCvXjIPAwDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzSax6mmvmG7NvEKGXgXxPxT8Mnuvs2TMuBrbQ6X6etwIhAI7aOLO9f3IycYD8MBOJ8IaiBL3mW0r/fWKVPzLYZClQ"}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}]},"2.0.0":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"2.0.0","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"browserify":"~8.0.3","indexhtmlify":"~1.2.0","tape":"^4.4.0"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"b8e86bbb4706a0d0c4b6fe2e06b534e1f943cdd4","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@2.0.0","_shasum":"27bb1e1d0b560477397691aa9bf1d0a065b9818c","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"27bb1e1d0b560477397691aa9bf1d0a065b9818c","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-2.0.0.tgz","integrity":"sha512-mEebrGDb8cxMCqcTD9JIPDzD6vAXWod7jtaCteMw9FycBoeg6U0YBRw7nY1+k9GIgWaSplkmA3/2VhBBolZoKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDejAIXa+M1fl9oDbqGw1fyu5aC946GW/CkEL/xkTxejgIgM42b3UdOTCCGg0Yh3xgo4ynQBLwoUqLqAV5NMj9o2rk="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}]},"2.1.0":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"2.1.0","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"browserify":"~8.0.3","indexhtmlify":"~1.2.0","tape":"^4.4.0"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"a564ede9f25ad54bfd0ca4949b217e75352b8d43","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@2.1.0","_shasum":"7319fdee0bc70182e3c9aafe2b3124509c25b9d7","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"7319fdee0bc70182e3c9aafe2b3124509c25b9d7","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-2.1.0.tgz","integrity":"sha512-0mWTwETFqIPEqNjMmcVmbg3WTYFhixhnXR9g8+MhmGxl6Pv4pw7yscmeXTCS3oxJH1PzutWyqj2pkTi2XG9xaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV4rjNWio87OfhntwQ6wMCM72oDyd8TRW0L9SI8okaRQIgTcvt0czSW/5NCO7W9TdlYMEX8A7cCaS0XytRE3uNMWY="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/suggest-box-2.1.0.tgz_1465767782024_0.022459031082689762"}},"2.2.0":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"2.2.0","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"browserify":"~8.0.3","indexhtmlify":"~1.2.0","tape":"^4.4.0"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"6f16067e6d1b877246527ad6b88f4baba5d4a58b","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@2.2.0","_shasum":"d0f7d377d76a0327c139f8bfdcb9a29ac497712f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"d0f7d377d76a0327c139f8bfdcb9a29ac497712f","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-2.2.0.tgz","integrity":"sha512-vUnbIJShU6I1plzQnoWxK/Mc26sAD3xX7KnWy1eDuRNpiruALIoiTpYkJYvnZZfU6Zr4UEquhcnPR4Vj19Io3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/nzRyWRAtQjsn6LIRqkcCgUZ6Gve8h90VznwvkIDLgAIhAJ9sKwrC80k2O5lfUVyBmtgqKpAEsZRcIhooR9UPFWqH"}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/suggest-box-2.2.0.tgz_1470059083661_0.8418353907763958"}},"2.2.1":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"2.2.1","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"browserify":"~8.0.3","indexhtmlify":"~1.2.0","tape":"^4.4.0"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"71f4c86ab35aabfe98e9fd5697059e20c50355fa","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@2.2.1","_shasum":"0dca802969f8eb558828d9fca6c8f55760ed0c0f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"0dca802969f8eb558828d9fca6c8f55760ed0c0f","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-2.2.1.tgz","integrity":"sha512-iN8mGj59e485ojMPIWwDsQEKnvxreOlf5SNNYkFzkFVGBuoSuWA0BohUDzfoUl13yXRpsjwlipJt0hinmwEr5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICy4X1HhXvl3Igi+hg0GWoLGV11Muub149BSe5SkxQuHAiB8fJGRL1UlhZr1KvIoIZg5s4J4huvrqq0QjT4wgANCnQ=="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/suggest-box-2.2.1.tgz_1470101610874_0.0337058634031564"}},"2.2.2":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"2.2.2","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"browserify":"~8.0.3","indexhtmlify":"~1.2.0","tape":"^4.4.0"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"683cd0c1ecb576ed6a99b97a61cdebe880e98859","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@2.2.2","_shasum":"2182293a6b86d91109fef9643d2cb3cb6ca557ef","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"2182293a6b86d91109fef9643d2cb3cb6ca557ef","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-2.2.2.tgz","integrity":"sha512-c9oZ8KJHY5IKz4T2JkQWkwggjIptjn9Io4AMvjneNxu0kIdqeSL5lS+NhBKrEbrES/lNDex5rwZLZPSGELmT1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFgxJqKDOU1Kv/n5ukZ87izUO3kaeI7tQgHxhKBbNxKbAiEAkqbL0o1OcSWpfbvNCR0QGsOapsJ869B+hgcQkNtFt3Y="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/suggest-box-2.2.2.tgz_1470426593093_0.03502134094014764"}},"2.2.3":{"name":"suggest-box","description":"decorates a textarea with GitHub-style suggestion popups (eg for emojis and users)","version":"2.2.3","homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"dependencies":{"hyperscript":"~1.4.2","textarea-caret-position":"^0.1.1"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"license":"MIT","devDependencies":{"browserify":"~8.0.3","indexhtmlify":"~1.2.0","tape":"^4.4.0"},"scripts":{"build":"browserify example/index.js | indexhtmlify > example/index.html"},"gitHead":"b810713b54de15ee8bafb29a524832816e59596a","bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"_id":"suggest-box@2.2.3","_shasum":"c06bf0e30517531fdf747ffe0c6ff5e52bff0e44","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"pfraze","email":"pfrazee@gmail.com"},"dist":{"shasum":"c06bf0e30517531fdf747ffe0c6ff5e52bff0e44","tarball":"https://registry.npmjs.org/suggest-box/-/suggest-box-2.2.3.tgz","integrity":"sha512-BH2qtqTL8db/mgx5M77DN0iUqyB1vm990cNDt79FjMwEgjRgHqzbNF9viWcG/N7JD7g6gt0Pe+/KE7ZOmeo/zQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3BMThBrxvf45rWvH7Za/s1xHix2BHrxSwNStWg/LD9AiAJ8Xwk0tcoxvrPCji3sbBABe+34fy+VU9jBhxsbWKllg=="}]},"maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/suggest-box-2.2.3.tgz_1479319315881_0.45925275213085115"}}},"readme":"# Suggest Box\n\nDecorates a textarea with GitHub-style suggestion popups (eg for emojis and users)\n\n![Screenshot](/screenshot.png?raw=true)\n\n## Usage: SuggestBox(textarea, suggester, options)\n\nSuggest box is a decorator; it takes in a textarea element and binds to its events. The second param is object of options to suggest after an initial character has been typed.\n\n```js\nvar textarea = document.querySelector('textarea.my-text-area')\nsuggestBox(textarea, suggester, {\n  cls: 'my-suggest-box' // optional, extra class for the suggest-box popup\n})\n```\n### options\n* `cls` additional classes to set on the suggest box. appended to `'.suggestbox'+cls`. see syntax for [hyperscript classes](https://github.com/dominictarr/hyperscript#classes--id)\n* `stringify` a function called to map a selected value to a string. \n\n\n## suggestor\n\nthe `suggestor` can be a function that calls back on suggestions for each word.\n\n``` js\nfunction suggester (word, cb) {\n\n  //check first char for @\n  if(word[0] === '@')\n    lookupUsers(word, cb)\n  //else if it's an ordinary word, cb immediately.\n  else cb()\n}\n\n```\nthe signature of the callback is `cb(err, suggestions)`\nif there is an error, it will be logged.\n`suggestions` is an array of suggestions. Each suggestion is of the form\n\n``` js\n{\n    title: 'Bob',              // title to render\n    // image: '/img/user.png', // optional, renders the image instead of the title (title still required for matching)\n    // cls: 'user-option',     // optional, extra class for the option's li\n    subtitle: 'Bob Roberts'    // subtitle to render\n    value: '@bob'              // value to insert once selected\n}\n```\n\nwhen an item is selected. the value of the `value` property is inserted at the cursor.\nIf `options.stringify` is provided, then `options.stringify(value)` is inserted (which means `.value` may be an object)\notherwise `value` must be a string.\n\ncan use `showBoth` to display image and title\n``` js\n{\n  title: 'Bob',              // title to render\n  image: '/img/user.png',    // renders the image at left of the title\n  // cls: 'user-option',     // optional, extra class for the option's li\n  subtitle: 'Bob Roberts'    // subtitle to render\n  value: '@bob'              // value to insert once selected\n  showBoth: true             // display image + title\n}\n```\n\n`value` is what will be inserted if the user makes that selection.\nIf you are using a sigil (say, @ at the start of user names,\nthe value needs to include that at the start)\n\nAlternatively, if you already know all the possibilities,\nthe suggestor can be a map of sigils (prefix characters) to arrays of suggestions.\n``` js\nvar suggester = {\n  '@': [ // the initial character to watch for\n    {\n      title: 'Bob',              // title to render\n      // image: '/img/user.png', // optional, renders the image instead of the title (title still required for matching)\n      // cls: 'user-option',     // optional, extra class for the option's li\n      subtitle: 'Bob Roberts'    // subtitle to render\n      value: '@bob'              // value to insert once selected\n    },\n    ...\n  ]\n}\n\n```\n\nThis example will watch for the '@' symbol and begin suggesting usernames (bob or alice).\n\nAlternatively, if you want all inputs to trigger the suggest-box, just pass the array directly.\nThis is good for, for example, tag inputs:\n\n```js\nvar input = document.querySelector('input.my-tags-input')\nsuggestBox(input, [ // trigger for any character\n    {\n      title: 'Bob',\n      ...\n    },\n    ...\n  ]\n)\n```\n(this also works as\n\nAlso, the option may be provided as an async function, this should\ncallback with an array of objects with this shape: `{title, subtitle?, value}`\n\n``` js\nsuggestBox(textarea, {\n  '@': function (word, cb) {\n    getSuggestion(word, cb)\n  }\n})\n```\n\n## Event: suggestselect\n\nIf you want to listen for a suggest-box selection, you can attach to the 'suggestselect' event on the element. It will include the option object in the `detail`.\n\n```js\ntextarea.addEventListener('suggestselect', function (e) {\n  console.log(e) /* => {\n    title: 'Bob',\n    subtitle: 'Bob Roberts',\n    value: '@bob'\n  } */\n})\n```\n\n## Styles\n\nYou must add your own styles to the page. Here is a some recommended styling in less:\n\n```css\n.suggest-box {\n  position: fixed;\n  border: 1px solid #ddd;\n  z-index: 100;\n  background: white;\n\n  ul {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n    li {\n      padding: 4px 8px;\n      font-size: 85%;\n      border-bottom: 1px solid #ddd;\n      &:last-child {\n        border: 0;\n      }\n      &.selected {\n        color: #fff;\n        background-color: #428bca;\n        border-color: darken(#428bca, 5%);\n      }\n      img {\n        height: 20px;\n      }\n    }\n  }\n}\n```\n\n## License\n\nMIT Licensed, Copyright 2014 Paul Frazee\n\n\n\n\n\n\n","maintainers":[{"name":"pfraze","email":"pfrazee@gmail.com"}],"time":{"modified":"2022-06-27T01:57:30.830Z","created":"2014-12-24T18:55:38.058Z","1.0.0":"2014-12-24T18:55:38.058Z","1.1.0":"2015-01-05T16:47:49.940Z","1.1.1":"2015-01-09T20:19:27.012Z","1.1.2":"2015-01-09T20:35:40.645Z","1.1.3":"2015-05-30T20:24:49.918Z","1.1.4":"2015-06-19T18:15:56.180Z","1.1.5":"2015-06-19T18:25:26.336Z","1.1.6":"2015-06-19T18:42:07.920Z","1.1.7":"2015-06-24T18:47:44.583Z","1.1.8":"2015-07-09T01:40:28.545Z","1.1.9":"2015-08-13T20:34:58.599Z","1.1.10":"2015-10-15T21:48:28.253Z","1.1.11":"2016-01-08T20:07:23.706Z","1.1.12":"2016-01-12T21:00:23.960Z","2.0.0":"2016-01-21T20:27:09.981Z","2.1.0":"2016-06-12T21:43:04.836Z","2.2.0":"2016-08-01T13:44:45.826Z","2.2.1":"2016-08-02T01:33:31.733Z","2.2.2":"2016-08-05T19:49:55.023Z","2.2.3":"2016-11-16T18:01:58.084Z"},"homepage":"https://github.com/pfraze/suggest-box","repository":{"type":"git","url":"git://github.com/pfraze/suggest-box.git"},"author":{"name":"Paul Frazee","email":"pfrazee@gmail.com"},"bugs":{"url":"https://github.com/pfraze/suggest-box/issues"},"license":"MIT","readmeFilename":"README.md","users":{"nlokare":true,"tapmodo":true,"jekrb":true}}