{"_id":"6bmk","_rev":"9-a3410e07e466f28182479ae06121b972","name":"6bmk","dist-tags":{"latest":"0.0.10"},"versions":{"0.0.1":{"name":"6bmk","version":"0.0.1","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pronouncing":"github:aparrish/pronouncingjs"},"dependencies":{"pako":"^2.1.0"},"gitHead":"df3d1306297b0b95968a6f6212817b35d332c277","_id":"6bmk@0.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-MirTjaqKjZsC5uGAUfJJdMu+296M8f3feh6kcRkQDLWTMoWW3RK49vek/bqBSstL7qBS09Owgwj5EOXC/goAzQ==","shasum":"ed6ff1011618469536d4be99060e928bd583c68b","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.1.tgz","fileCount":34,"unpackedSize":4260686,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJ0smI3b12D1orhsfk2bedfzJ3wnbMmCNaJjkCcvwUqwIhAJmKKJGF8fibz6qpilTwY6M6kIrvI+miZ63t2WODYlUi"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEi9XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCNg/9Es0JahWOkK9h2tNMRsyKECvqyLJEfVRxWU3vFhB82NDV9nRb\r\nPyvdD3gDPSF6rz1r9n0o9MBvNSYl7+tIz26qjCHh+Z3Yy5QPUSib7QRQyVot\r\nXDzaWYMGUopBb01vhnoFESDi/ncPvRMU6UeXMJcIVKWKrI84wZKoKKqNIJWb\r\nLu4N0lQs7qsDrJXLCX7SWUXxbllVWcY/udono+G/90wD/ntqyY/8SbMUtjJa\r\nJbbh5aY1wX2wFoW8N90IcVLXbOvK7Yq79NhOjWkj4TNSPkHsnNrpK7VYu5Ru\r\nQsF+DGMToJqN2SsGEg6viZweUUB8PX86Dqh++RBi0sd1I6/HHdRh6X/cRIx3\r\n1XhspI1QV/Xpg/Rp5GnFuMIvVBkfnhfTynWJeDqPpVL0QsIRgQqWpJkkDOe4\r\nai8opRfRRcguizWFpVZDbZnCxKKt7pAl9K0q5SjDmN9hFDPJnTFwnajMRVGK\r\n7EWqtkacWFESpzIwOStU23F8VSlb6jNOOxNcDEE267US7YlK7Xp0jmMTiR5P\r\nI5UNvbNIyTU9BLxiYkWRUdm6/P2jSGU+oAWNZrq7bfTrHA4tkmm3mUTAgnm2\r\nCAIDEMNKO5YLuoY2zR1mpsqzAPRU/ZmE1DJ6Jq3myo8q0++u9NYS5xqw3iTq\r\n/zSYpRKIyCNthTmTUjJovtj53sX2KBzwruI=\r\n=/7gl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.1_1678913367029_0.5607379975618185"},"_hasShrinkwrap":false},"0.0.2":{"name":"6bmk","version":"0.0.2","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pronouncing":"github:aparrish/pronouncingjs"},"dependencies":{"pako":"^2.1.0"},"gitHead":"df3d1306297b0b95968a6f6212817b35d332c277","_id":"6bmk@0.0.2","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-L3oBSZytYdVz1ozyKP+OsdjmazUDeQCOz0LqOQMGGjrwv4DYLwqSCQ9AYOhTRKWNWckodJkCCa2VAmJGUWHFjg==","shasum":"3acc053bfee891d64078fb8c17d7ec4b86d29d6b","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.2.tgz","fileCount":34,"unpackedSize":4260632,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDH+aLagjPjmwUlxjjXeUmLIR2FniOjvq8qGqUvJ4ANtAiBdOfiU4Cmpl9TKJJwvjuKSiwYk6kmd4cV6sOqnRr9tbg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEk36ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLcw//ZwN2H3YmhIFige+FD3myixeZiea0p/6oD8TfYOXH39mcyRDa\r\ndh/MTSbXcDVZXfOFEfB8U4xjZALG/2oT/OWGuhsjCFZGEMcUMxojSnJSnPL1\r\n20lG/EX7aQ+ti22fOPJtiarBHNF93eZ+/FvaQFBBUt908wI5ynTCPJvgb+Hj\r\nvXdom7KwdZuA9vEouFDO/jbg5bHJDdEVmZAyFg3fL8sDtB9VjwoCgiSHmTyJ\r\nr3swwUieCvK25baUfEMzALTV3BaywPzTC4Gmeb55guOKcWfRHCi0U0EzVNhy\r\na3n2Wg16xV48KtwVpEyr2eAooWwRsxEvWDNyILvEk1+6FplcIQwMKZdHI3si\r\nyj2eZtpTKSGC1f3vE1uDULWsuc1FCgoDtUOOAM3lD4NYZKlnuUkhPPGe5FQG\r\nxbOcKdGZaXqqw0XqEvUvDsIVsP0ZDL1QkeSenve9SNj3RCK1vPJuQwnaxKQ7\r\nrL/hWPt9hp9yx5aGYHRSocndMzn73UzvkKm9aPcITnA1fgGGQxTT2sDNLJFT\r\nnATIZuwqI+r4Jy0MPkDBOgraqY48SwoWeXYfKEJF1pJTlas1puFoyKTU97Cg\r\nY6vmhUzWUtNz533lGlSIPtPEVzP0sWBOEy8u4LZDe76gs6IfmEPPacGMPZxq\r\nSWN4f1LW8Prs9TuP1yjfQG/VFqELwvz8hLQ=\r\n=9hG6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.2_1678921209950_0.6131286027887346"},"_hasShrinkwrap":false},"0.0.3":{"name":"6bmk","version":"0.0.3","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pronouncing":"github:aparrish/pronouncingjs"},"dependencies":{"pako":"^2.1.0"},"gitHead":"adade7947eee73d9603dc8b4ccf4268635b359df","_id":"6bmk@0.0.3","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-7CXCAG5++8kz2vIAD5lhRjR1pdjJF3XoW8Rbg0FRVwlEU0/JnFL9WK4VOrqHkBMwYfFWZXOCI+ln21pbUgQEzA==","shasum":"73b32d66c26c0d298262942166c52adb585ff895","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.3.tgz","fileCount":42,"unpackedSize":4501570,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU8csBn0hhYVigQT3CkVWPYCMAM3Gt5S6hY1I3PikNhAIhAJ/Gt8GgfIVoP1Q8EtA9mBqVOiq1PfjSz+EwEF0x+bEn"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkG6ZoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGFhAAg0DwjioZbsaZzaNF1IhMGExI1m2hxuFWgZfTdOANgu3FnamT\r\ngv5CS4K7vxaSrD3Y5tAMRWVEB5AqSFnYF88w70ZyZYO7Ztm4Q3pgEkURkQ+G\r\nX0a8RjpDDDl+BBUmizBH2lcbCoW29BxHISWhofhydtZYRhjgfhnOFmcY4vPI\r\ntANRuAJaDR6sXt5wF9uqLKBGu+0kjPlNqMUXXaeEc8LMxC2PmZnXRnocRVL+\r\nbK9V5MdaVH5y2UCzlbxQTNbRBT5Brt0kII+h6jH3yAuTLTdLfUFucrgPKgzD\r\nV6Yy3TwSOUsVuWjyyxsdpGbrT1xOugN3HzlVLg7fiSLrBvVcDKo9rW7QglsV\r\nFsqnqyqtN7rFDhDEaREwycJj0bXAaio6HZquheOX2fKqUeYQwrwfm9z1SGlf\r\nxhhQH2pKsRtGqbwgifUM3ZJGgYb6ZAAJFfytXZwuTtXVM89d1BwMSyCWIfdf\r\nNzLG2gMvMTwMSZPYAgnti++pEPOelDtu2MxXj933oXIJUEvKeGUDNY125pLF\r\nkAAa4kVQ7DB2upkrz/nNLQSxVy20xKkQfGlBx/zIwn+aGnvkd6ajHjx/iNyS\r\ndsL1T2TAJyAJUw4DuyWYh1of9qQZrDG7ZdniPD9B0zTK9MgxaSIa1gzkWCJa\r\nA12Y0UvtIFhlzxiGMmmjtnduvYbfcy0kBNw=\r\n=9VSd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.3_1679533672353_0.6379592215818812"},"_hasShrinkwrap":false},"0.0.4":{"name":"6bmk","version":"0.0.4","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pronouncing":"github:aparrish/pronouncingjs"},"dependencies":{"pako":"^2.1.0"},"gitHead":"ad3ad6e926e4f616906f7989d64361b076812724","_id":"6bmk@0.0.4","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xCdpNG/p5L+Z5aJpiA1JlauRWh+God1S/Wd4PT09nyYmtkpzCSO6fhxqoBwnv5hm9EifeVeRTx20n7+5kACDcg==","shasum":"498a49dc0e9d02e882725ce2e612ff36bab9b362","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.4.tgz","fileCount":42,"unpackedSize":4502029,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkPtxP1bCdTuiu0s4vr938ss/owcBHGv2ZHSQ0TypsmgIgMLMmP+7THFIEioofLcK3wDiUHN5oW3iOGDjtcamww+I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHrKUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8+Q/+L17SCVdbHhYZLLMTYWbgdiKWle6BJiu4sAy1fykH2KNaxWbJ\r\nNJpuWvg1IB5K4ubK/WXFQrOgYnd5n1TiGLuf4ShQ9Nl034FhK+rvSjv1qq+/\r\nA/N06YWu4EzHIGdB0c7I6b7Y7rAW5VVcQdV9cf6jn33PA68y4NZJmuWF2yzN\r\nnf4wmmNTTKjJB1HTuNoYROH46Px9xh6DNBk51hIkZCYZhGsPV/D2mI/bgaeS\r\nIaxkqSaovlyUc01eik3ak+/4VPts8Io5w44YolD2FfOqrQbcEMgfaR2ck4M2\r\n7xnxbkMZmYrZj3kbR6oZehX0PG9TAZXi/0ZXeLeCpZ2iP0SLg67dqYxTOIFI\r\nBOrxLAuCwiGEls5kdjZG7GdNPiQmbhQk0RJ81VJfyY3GIAPxqaoD9bil6RNL\r\ncaqzKULpTOdkQM1BpQABtrwNz8mm2F/QdQkG5Dr4e4AErnPEka7ugVbtDnIz\r\n7EJhhMO3uPusLwH3AwL9UNVW8TXSAXmL9gWdiOzMPdAe1O0b7xjQmbklN5yx\r\nIMFueoL1jSGEbHVab2BDxU1b56Ysm0U77HmI0j8qkW+aw0OtZHeYaR188iXc\r\n9HF/2Fjg4bq5FoVW+Nv37yDzBpi/ipBSTdDyvWto/Hkgfy4foWjyCJWik7Ba\r\nlV0XqatFXdqb9iGdorqzL1w690JP64FPB6M=\r\n=xNwV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.4_1679733395907_0.47498838045987335"},"_hasShrinkwrap":false},"0.0.5":{"name":"6bmk","version":"0.0.5","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js","rollup":"./node_modules/rollup/dist/bin/rollup -c rollup.config.cjs"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./cjs":"./index.cjs","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pako":"^2.1.0","pronouncing":"github:aparrish/pronouncingjs","rollup":"^3.20.2"},"gitHead":"af75aab4319b50d69c64b0fb233fe7ba36ca427a","_id":"6bmk@0.0.5","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-f2kp6LhEwGHyeQQO6/CrIuNjT1nySmwm+3XsPRwUwGvGcx+56h3br8C5DwxXBurGObRu7UArZHEw3IgdepZgQA==","shasum":"1a42370b84621bd1dc8941143f8e5827f37f8ebc","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.5.tgz","fileCount":43,"unpackedSize":4528478,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUSzwQQUE7UYnRDF7YpTMNlGOFBW+UYtWUgTM1vms8SAiEAsaKbCviG1AI6MMqHqw7C2wGeDYlwB2KHcB/hchefvts="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIqRLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4wRAAjWUQ6P22M+Yul2DVbldhGdVoagY3bNPTn76kbkWnmbtIpO3Q\r\nQt+jfIH/7EIOgJ46KZUTQc4+Lg32gh04b6Hvt82LeTUrSJ/cDyx8fv5I6HQh\r\nwoy/CQ7ZEdOO61n5NlmZYQwJxYvIYkMXBJPlavliWV9FywUiYqhWEgmE/pNY\r\nuSToYZxov2Wdvmu3CSoy1l58YxWytoer62eOSEuDgdGjZDYJYwoiC8rkUOdL\r\n0Eu8aNQahQWKNw0ozUB3c0/DSDqpyfIzysjLFL1i9mA2pf98Vq0DWxEuY+/8\r\nq7cZ+FooNq3u5KWv2/H9+Gmn5VAZ5B07+i9qEiD6ojfH7DCyvNFFiFJtK2ax\r\nK9DhmUqnewZtGnG7wPmWKlIaez0/BB66ps6TXVvzXLyDfLyvhUpPJ8h+VYui\r\nUnzMswkbDVu5amWWYd7815KQ8XhWbQPqQOZsxN3pniJZjhiOxBHFIF5LHtCz\r\n5SuYgij/XE+UPWlnrzyfIPN9chwAsRyCQiwfQ2KqEhR29KvLAY8Lqd8ZwX0K\r\nOyhs62JPPtAfhspvy6FTixMoHssFA8oH+CiVcrI22CYgDzXDOOdBT4lw+KqO\r\nXWMEnXniw0Fs3lz2RYS5Dl+CV4D4ofhCVf1mnnIY27FlJLmD+0fIK616JuCL\r\nhBCOZghpdaotXYTmCdzt7beZ1dPgFbhvvtg=\r\n=/zzr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.5_1679991882689_0.8470310501091567"},"_hasShrinkwrap":false},"0.0.6":{"name":"6bmk","version":"0.0.6","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js","rollup":"./node_modules/rollup/dist/bin/rollup -c rollup.config.cjs"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./cjs":"./index.cjs","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pako":"^2.1.0","pronouncing":"github:aparrish/pronouncingjs","rollup":"^3.20.2"},"gitHead":"af75aab4319b50d69c64b0fb233fe7ba36ca427a","_id":"6bmk@0.0.6","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-cNOnTWoqTcLqIstwZ3NGRCM604363iuUT/yZnhUu9GhFo9r6UjPZo0vlIH7vi+kH84enJ66wNeARSfbfujoI2g==","shasum":"d0e46da74151b2074421edd3ffa47d9f44c0bae2","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.6.tgz","fileCount":43,"unpackedSize":4528753,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3gcFSBJb2tOhxtUdem4/iQJ/PkMIt3EVOQ6ZMchXuBAiBr4YLCfqxRg4pyU9Ps9mE2L4JGJs0uVIl5pDZQ1kTYMg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIrfCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXaRAAiqLLMlMb62EFR+NHPyirqQuEw+C9ts0HmU84R9GzHyfsz+WA\r\nzKGNRalrby0UCoyaF6o9l/wCnIUTiFiQtwUGBjHzUoKCvJ+BKr+zUhAX33aT\r\nmBdt/XR7jw1NxwrOeFXPthnWB7UZoRE9pCgWinwXRsFzFvRPNPyAqXk32WW2\r\n+BEQGtVi/W+8gOMbpFebNwSnCT7MWDtAFxE4Jmke7zJ704dn1+1zMtDk5bvM\r\n4DJ7cRxh8EMBGW/oAxYLTxk/pqIyobuQkkQDFtKQ8W5mPMmJPCI3RSX5fhoM\r\ngLVxzR6vgwapUb/T5XMeHEO4YXGZrjaDX5E98l97/az2IH64s820RtLpDEUf\r\n/cPbo4eQ80o0MYIGEOiEVxtWzjvZFxkpCrQRKZUA3Z7DZlC/9Qyq+IR7a/0/\r\n/r5mtwYfG6A/c2tZL1BTzp1PfWua+hGDEdAEJ+GFEjeKoq4XEtsWrYOVn1ob\r\nz6P9UPTCaTwawe3f597ELbSJqXB1mVzPgUQMhq5ssEVVohyz1ckDi3CCGi0G\r\nI0n81V26o/0PGZ/szZuRzPLqC4+JQZ+PQKx02gXF2ahZCKWMsfRwANPf+bLB\r\nhgviTnN0JPJki0M9EfT0RfP4vmda/nYLGFPQeqCQw0h7Q+vvgEdOpB09QijC\r\n16NkxJnCuJ6+/ZbGQxKB42XsA8Q+cwAYVHI=\r\n=oxPq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.6_1679996866368_0.03405268590531252"},"_hasShrinkwrap":false},"0.0.7":{"name":"6bmk","version":"0.0.7","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js","rollup":"./node_modules/rollup/dist/bin/rollup -c rollup.config.cjs"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./cjs":"./index.cjs","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pako":"^2.1.0","pronouncing":"github:aparrish/pronouncingjs","rollup":"^3.20.2"},"gitHead":"af75aab4319b50d69c64b0fb233fe7ba36ca427a","_id":"6bmk@0.0.7","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-HxWBzW7YHX2cG/kHzgQZSyKXJ9xfteoZMOOnADqEaRadj6dxuy47nYKBPrw7W4oIgJmztaNwNIcSIobLgd/xiQ==","shasum":"46b00e06ecd6e97be0f6ad9a2787065dd16e5d1f","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.7.tgz","fileCount":43,"unpackedSize":4528730,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAx+kFSdo5JxfstuyZtnXkNEUqUCb1SGxF0ccAQm8kBPAiAGUVtIvZBPuS1zZaJa7yC6bPlPhL7R8ByDRg4dX3HeLA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIrhNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSBg/9GjM7KWye/ByDES39Q6yC9Tfa0B2zjW7fOBhHAfKq00OTizW5\r\nYZozcobmV/YwsnGvWDZNm7R4Blu/ZHamDDQ1qJhkRVxo98BtMXmIbTpDWbch\r\nWCgGF/QVGdwd96n+96A5rjApzLjgaKzfqmLyktsWQK2nHFTICxTn5el2cZ7N\r\n4QWGdOyEVcvXbJPDWA6Y7Xh5kvIK+g0JRGHhm6ZTCkLhwp3zxIDFEI7tYhJC\r\nb1/DuyU0W1lUb9W0bNcfKC3O0g44kszp9+tK55gc1Kd5UpT53H8WP0BaBlzp\r\nPTUuI8/0P8dFfAGiuUFRyw6VxMuUnpZkuuxlpGGRZEaA+6dIDCckrrUFzh3s\r\nqiLHtKO8FibAJ5x2n9PAcoQkBz01SuZsCiLs9/OCTBqw1gQbGxVvpR8QTNFL\r\nTI/249Z+GTBtd3IuJEVsptnlk2tHUP08QV7bB0qmfdU1CYFBRDTU/pSYpvl6\r\nkgYFhmeOtJYqdR6T6MQyQsYLPkCmUrPIc33w31S6Jtiy6BIplZt9RNvMgptd\r\nbmHHhpNGaYYge7Y0XOOmm3pYVq8dY/UAytCCgSl+cpDHnULiV5KsnpFPHpCo\r\nnj2YlK3oOC7fa3VaZrQwGAL5zqCCGnIOVfytKr830sObM/XblLgBWHCMvZCN\r\n4SAcMh2mFqz3dBh841NMPelTFMRTKeWKLlo=\r\n=fEqy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.7_1679997005319_0.9040064444829614"},"_hasShrinkwrap":false},"0.0.8":{"name":"6bmk","version":"0.0.8","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js","rollup":"./node_modules/rollup/dist/bin/rollup -c rollup.config.cjs"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./cjs":"./index.cjs","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pako":"^2.1.0","pronouncing":"github:aparrish/pronouncingjs","rollup":"^3.20.2"},"gitHead":"938b548a7445a9ef7d48bb3026d0e3dea554e8ad","_id":"6bmk@0.0.8","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-PXW4dw0VL4yoIma7vweQf090UE4sVub6Tw1dVD/XgSAUnozyg85Fk/Arx1VWfHSKtoRqqyfYV8sCydq4dNrQBA==","shasum":"eddf10bf576b61e8a73d6d5568e30c4c268fa3c4","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.8.tgz","fileCount":43,"unpackedSize":4528720,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+KL+oKinKXkIRx/9Rv4yZPo3PgZH3dMNWZZ5v2SQGnAiEArxpf59jFkIZA8SRoSm9TrA8GaNOo6ZweegPcq/3mdYg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkI1pWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVNw/+LludalvbX99sLOlNny78psrRcxlxSbQkkUWVrU5qK7NuBhYS\r\nRYGk9cOHSrNIXOwyA3djWCAKqFrMi6yGZMBiAmS8/RYvmnzNlfsCWryoZN5z\r\nJhE/45pQS+RAxJxE8/A+KSvLu5ZRYUBQLGpd2+Q/5ty1vOqFpJ5zSvwXreJw\r\nZZyWg0CRANyuCED0/Ih3rge7aBr1VQmh8LNqyb4MSXl2nAEFRtIDiiNJajra\r\nHQqHVexTvgFaTxR+Fik8CVENxDLJH5bl6kzyWKv40N1WE9dW3AGb/98S2QLN\r\nnqL1cCfiHm6ikxaA3VaLyvJ+WvcnY+4Cm8csKA1JuiMqA9qSXvvRNIWvhbez\r\n1qFp72124TqbCrBTJ4+UAkW5wrBrvbPBZphJBATV3GMsBJJ5ghdu0EAQDE5k\r\nFW2CoeCgBpiITjNP6qRZMJHW8H500gg9AXyKsYAbQvvySxqe3Zkc6dvW5MK0\r\nm/7x1IPkinImQZMow4JssQThNllxQvy5wW8rV0uSNPGf/kSWIwamdFnsFKwL\r\n6QNRKEcB4ENXUhMeSx6/N1/DZxDNhMsG+NIsmamQCEQInXCqHO14lL9HsfLp\r\nWEOdU6t4j7MN0thOPx24NLLObWXZHUSKWkePVJ2XVDBOt6Q4dUy7NwE5jouw\r\njoZCYH8nGEXyBoun+lKmrS+6wWUpzOL+8Sc=\r\n=bA2W\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.8_1680038486271_0.14202571735252212"},"_hasShrinkwrap":false},"0.0.9":{"name":"6bmk","version":"0.0.9","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js","rollup":"./node_modules/rollup/dist/bin/rollup -c rollup.config.cjs"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./cjs":"./index.cjs","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pako":"^2.1.0","pronouncing":"github:aparrish/pronouncingjs","rollup":"^3.20.2"},"gitHead":"0443fbf9b62cee04feb44b6a886ef2c71b02ce97","_id":"6bmk@0.0.9","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-eO+Es/ZiHyFJ/ExSVGR4FWwbXuw5LEkS1o/twxg+yF9ST+EBwrfPe1795DuVcTSzniYlipaf3kxGF1yOjMe1Cg==","shasum":"2ac8206019a2841b4016643492a66bfe361f6a2e","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.9.tgz","fileCount":43,"unpackedSize":4523495,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBwWewjEStxSQILBFilYt+kYUuXDTwDb1nwyEHbY6d6mAiEAvxT4AzmONECtBWNyzNMgri0wZMvqwBwRgSeHHg3DOSg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLIOIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMqQ//dA1U/5mfBe4izwPp0pKQQwGri+lEDc81GadwGg8R3DOOVGdc\r\nuiGedpKAkS78k8BdE1A+GKoPypf2ktqamSNSwQSZtaveoH/l+iSwUpBFNYu3\r\neecR9sbfKkPmnkRwrkxoBf2eFJShXW+yvSuRyflJBxmRdEL6GZevhaMJ+7Gr\r\n0HelszvQo/QQUiOYDkM2ZPGMl5kqtd708o/piztllxOV2OYCk+4mfkLgSzEp\r\nQQziz79Dp+XFp8gJIg705XebbSKltN35mdIf7ozHUh/6nzHv34FDANrccxBm\r\nmZXYmpwCYKo//AXzgIarinttTGZoblNAV6415fTmCmVwrhz/qT5ep0NsDz9N\r\nFcArFuRd4GEhCbn9v8z8m4kaauONWRTE/ERF4UpwyP8A83P7v4oqYQt3dkZV\r\nBLjXgim6AO4jfXm1oG76wrs7zSaNCt3JVUBd1QW7WAZLxnSa2kL/3HIeI+km\r\nopNTwOrB0Pfj4kV//E1TpuZGEeapUWgpeivWnAzH2H1Nw/YZaDW+00ZT7gSQ\r\nqq6zCa4axmj/2Zyk2EiuW6pjaQbFA3NhVI8UGT1vi+wWJrmjlzXsiFJy+ASE\r\nqcy+eeS2GkkBjxk4Xg8a69KyqrACOnBpOzEo36skRp9E8mS0pAf+2sbeMfsJ\r\n3XMO20aqJ0DKWHOjaMQS/8xggLGZMErS5rA=\r\n=oYxP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.9_1680638855802_0.14314515464749533"},"_hasShrinkwrap":false},"0.0.10":{"name":"6bmk","version":"0.0.10","description":"Random haiku generator","main":"index.js","type":"module","scripts":{"test":"./node_modules/mocha/bin/mocha.js -- test/*.js","test:debug":"./node_modules/mocha/bin/mocha.js --inspect-brk -- test/*.js","test:watch":"./node_modules/mocha/bin/mocha.js --parallel --watch -- test/*.js","coverage":"./node_modules/c8/bin/c8.js ./node_modules/mocha/bin/mocha.js --parallel -- test/*.test.js","rollup":"./node_modules/rollup/dist/bin/rollup -c rollup.config.cjs"},"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"keywords":["haiku","random"],"exports":{".":"./index.js","./cjs":"./index.cjs","./browser":"./browser.js"},"author":{"name":"Chung Leong"},"license":"MIT","bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"homepage":"https://github.com/chung-leong/6bmk#readme","devDependencies":{"c8":"^7.13.0","chai":"^4.3.6","chai-as-promised":"^7.1.1","mocha":"^10.0.0","node-fetch":"^3.3.1","pako":"^2.1.0","pronouncing":"github:aparrish/pronouncingjs","rollup":"^3.20.2"},"gitHead":"436a6f5008303fea427330ad1349cfd7df90125c","_id":"6bmk@0.0.10","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xOjpHngyqQ3ki4Kfo8V5BhTosCC7N+LCZZqZJEcHW8ACK0kWlAomIEQYArQxBb22XKGivgqNt5vTkPoYj/aWBA==","shasum":"9042f8906f670bb03d35061cf3dab4474cde634d","tarball":"https://registry.npmjs.org/6bmk/-/6bmk-0.0.10.tgz","fileCount":43,"unpackedSize":4523520,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTwmoFg0H+Vt7M7Hf/lcDqBafhtfaXCeBg5DlHaGyldQIgHpIhNdlI4fdOQ+UXL1e/2yx1VU8Ij09JnuWOPvaDn84="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLyHMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0Sg/9H22xglWlN+M+/1jw0lmL+HCR6f1E/wT3QXuTEDgxAbO9QfSA\r\nrk9EJpWwQdWzK7j/q4t1k2SlnUsh+nYXky27K263D2oBt0g3RvlmUhYvtv8X\r\nj2R+YiyTxPSz4oxg2dXoxc0L2dtP7xbOzPTGOekS0AXYCizqkygyPggSNllW\r\nrla7BNLIpHpaO5HSNTuxATKa/9NAR7Bre4ivH4G1Hff++wkCRDfbACulngcN\r\nEwqgMBnpWxwzMt/Mfja5VuqNchxybasz04rQmZr0n6usr8bsTVqMqabm1eZU\r\nHV4BuBqEm9eXPGIhFX4mXljUb+agDAiZ35EKArPvLV6lqQ36PET5ziG6YrI3\r\nWOh4cbtYyi88Uc7Ik9Dy5blLFM5xRTjiNtCr0LJtVJv80N27J6LibHAzF8EV\r\nELCKJ/vF9ITp+siEN1sGuWC2kihk9dCWauE5yaisVRYm++gQOBjNqFyr7/y7\r\nqUCv2a3FYdb73+bUJ6s7XP+/gov1tMVX37lRtnhw+hgu2ZFZCnv/fzIJoRmg\r\noi1Fa9woIgnD/LzRttRGR43ZQ6zHlvCpgj8Wx7r5coSVMknubUmSTUxT69ZT\r\ndX3dHNUNkoaViDXUaIJS0Sg9sFirsE5xoSljG9qTFq74cb7TL/Z0bdU7dnly\r\nzHzpMk/XWsnmKsqK3qlYOgQofbs5OMYfbog=\r\n=70ax\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cleong","email":"chernyshevsky@hotmail.com"},"directories":{},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6bmk_0.0.10_1680810443672_0.37705074657281923"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-15T20:49:27.029Z","0.0.1":"2023-03-15T20:49:27.358Z","modified":"2023-04-06T19:47:24.105Z","0.0.2":"2023-03-15T23:00:10.239Z","0.0.3":"2023-03-23T01:07:52.728Z","0.0.4":"2023-03-25T08:36:36.194Z","0.0.5":"2023-03-28T08:24:43.078Z","0.0.6":"2023-03-28T09:47:46.687Z","0.0.7":"2023-03-28T09:50:05.653Z","0.0.8":"2023-03-28T21:21:26.530Z","0.0.9":"2023-04-04T20:07:36.089Z","0.0.10":"2023-04-06T19:47:23.981Z"},"maintainers":[{"name":"cleong","email":"chernyshevsky@hotmail.com"}],"description":"Random haiku generator","homepage":"https://github.com/chung-leong/6bmk#readme","keywords":["haiku","random"],"repository":{"type":"git","url":"git+https://github.com/chung-leong/6bmk.git"},"author":{"name":"Chung Leong"},"bugs":{"url":"https://github.com/chung-leong/6bmk/issues"},"license":"MIT","readme":"# 6bmk ![ci](https://img.shields.io/github/actions/workflow/status/chung-leong/6bmk/node.js.yml?branch=main&label=Node.js%20CI&logo=github) ![nycrc config on GitHub](https://img.shields.io/nycrc/chung-leong/6bmk) ![ci](https://img.shields.io/github/actions/workflow/status/chung-leong/6bmk/php.yml?branch=main&label=PHP%20CI&logo=github)\n\n![Monkey](./doc/images/infinite-monkey.svg)\n\n6bmk is an access control mechanism for Internet discussion boards. It consists of two parts:\na random haiku generator and a PowerPoint flyer generator. The haiku serve as a form of \none-time code. Only people possessing a strip of paper torn from the flyer can join the \ngroup.\n\n![Flyer](./doc/images/photo-1.jpg)\n\n![Strip](./doc/images/photo-2.jpg)\n\nThis project is inspired by bulletin board systems (BBSes) of yesteryears. Users of such \nsystems generally all live in the same area code. This geographic proximity meant people\ncould easily meet up in the real world. And they did frequently, either at group events \nor visiting each other's homes. \"Like a family\" is not an uncommon description when \npeople speak of their BBS experience. It's hope that by imposing a geographic limit on \nmembership, we could recreate the old social dynamic on the Internet.\n\n## Installation \n\nNode.js:\n```sh\nnpm install 6bmk\n```\n\nPHP\n```sh\ncomposer require cleong/sixbeermk\n```\n\n## Usage - Node.js\n\n### Generating haiku\n\n```js\nimport { generateHaiku, normalizeHaiku } from '6bmk';\nimport { createHash } from 'crypto';\n\nasync function *getAccessHaiku(db, flyerId, locale) {\n  // load existing haiku first\n  const rows = await db.query(`SELECT text FROM haiku WHERE flyer_id = ?`, [ flyerId ]);\n  for (const { text } of rows) {\n    yield text;\n  }\n  // generate new ones if there aren't enough\n  for await (const text of generateHaiku({ locale })) {\n    // generate hash\n    const sha1 = createHash('sha1');\n    sha1.update(normalizeHaiku(text));\n    const hash = sha1.digest('hex');\n    // save to database\n    db.query(`INSERT INTO haiku (flyer_id, text, hash) VALUES(?, ?, ?)`, [ flyerId, text, hash ]);\n    yield text;\n  }\n}\n```\n\n[`generateHaiku`](./doc/generateHaiku.md#readme) returns an async generator. Generally you would \nsave its output to a database so you can verify later that a user has entered a correct \nhaiku. [`normalizeHaiku`](./doc/normalizeHaiku.md#readme) removes punctuations, normalizes\nwhitespaces, and converts characters to lowercase. These steps ensure we would get the \nsame hash despite minor differences.\n\n### Generating flyer\n\n```js\nimport { createFlyer } from '6bmk';\n\nasync function createDownload(db, flyerId) {\n  const [ row ] = await db.query(`SELECT address, instructions, options FROM flyer WHERE id = ?`, [ flyerId ]);\n  const { address, instructions, options } = row;\n  const { paper, orientation, mode, locale } = JSON.parse(options);\n  const haiku = getAccessHaiku(db, flyerId, locale);\n  return createFlyer({ paper, orientation, mode, address, instructions, haiku });\n}\n```\n\n[`createFlyer`](./doc/createFlyer.md#readme) returns a Node \n[Readable Stream](https://nodejs.org/api/stream.html#readable-streams). If you're using \n[Fastify](https://www.fastify.io/), you can simply return the stream in your handler. \nIf you're using [Express](https://expressjs.com/), you would need to pipe the stream \ninto `res`. In both cases you should set the appriopriate HTTP headers so the response \nis handled as a download by the browser.\n\nFor a working example, check out the code in [examples/fastify](./examples/fastify#readme)\nor [examples/express](./examples/express#readme).\n\n### CommonJS\n\n```js\nconst { createFlyer, generateHaiku } = require('6bmk/cjs');\n```\n\n## Usage - PHP\n\n### Generating haiku\n\n```php\n<?php\n\nuse cleong\\sixbeermk\\HaikuGenerator;\n\nfunction get_access_haiku($db, $flyer_id, $locale) {\n  // load existing haiku first\n  $result = $db->query(\"SELECT text FROM haiku WHERE flyer_id = $flyer_id\");\n  $rows = $result->fetch_column();\n  foreach ($rows as $text) {\n    yield $text;\n  }\n  // generate new ones if there aren't enough\n  $options = [ 'locale' => $locale ];\n  foreach(HaikuGenerator::generate($options) as $text) {\n    // generate hash\n    $hash = sha1(HaikuGenerator::normalize($text));\n    // save to database\n    $stmt = $db->prepare(\"INSERT INTO haiku (flyer_id, text, hash) VALUES(?, ?, ?)\");\n    $stmt->bind_param(\"iss\", $flyer_id, $text, $hash);\n    $stmt->execute();\n    yield $text;\n  }\n}\n```\n\n[`HaikuGenerator::generate`](./doc/HaikuGenerator.md#readme) returns a generator. \nGenerally you would save its output to a database so you can verify later that a user \nhas entered a correct haiku. \n[`HaikuGenerator::normalize`](./doc/HaikuGenerator.md#readme) removes punctuations, \nnormalizes whitespaces, and converts characters to lowercase. These steps ensure we \nwould get the same hash despite minor differences.\n\nFor a working example, check out the code in [examples/php](./examples/php#readme).\n\n### Generating flyer\n\n```php\n<?php\n\nuse cleong\\sixbeermk\\FlyerGenerator;\n\nfunction create_download($db, $flyer_id) {\n  $result = $db->query(\"SELECT address, instructions, options FROM flyer WHERE id = $flyer_id\");\n  list(\n    'address' => $address,\n    'instructions' => $instructions,\n    'options' => $options,\n  ) = $result->fetch_assoc();\n  $options = json_decode($options, true);\n  $haiku = get_access_haiku($db, $flyer_id, $options['locale']);\n  return FlyerGenerator::generate($options + [\n    'address' => $address,\n    'instructions' => $instructions,\n    'haiku' => $haiku,\n  ]);\n}\n```\n\n[`FlyerGenerator::generate`](./doc/FlyerGenerator.md#readme) returns a stream.\nUse [`fpassthru`](https://www.php.net/manual/en/function.fpassthru.php) to send \nthe file content to the browser. You should set the appriopriate HTTP headers \nbeforehand so that the response is handled as a download.\n\n## Number of possible haiku\n\nBy default, the small en-US dictionary is used during haiku generation. Its content\nis as follows:\n\n```sh\n1-syllable words: 5956\n2-syllable words: 12443\n3-syllable words: 8549\n4-syllable words: 3892\n5-syllable words: 1260\n6-syllable words: 191\n7-syllable words: 15\n```\n\nThe number of possible haiku is thus `1.5009341463235493e+64`. Run `calc-combo.js` \nin the `tools` folder to see what results from the larger dictionaries.\n\n## Acknowledgement\n\nThe word lists used by this library come from the Spell Checker Oriented Word Lists\ndatabase (http://wordlist.aspell.net/).\n\nThe CMU Pronouncing Dictionary is used to determine the number of syllable \nin each word (https://github.com/aparrish/pronouncingjs).","readmeFilename":"README.md"}