{"_id":"@coltonneifert/word-search-generator","_rev":"3-25fd44ce04d78d5c6112efe7535ee63a","name":"@coltonneifert/word-search-generator","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.3":{"name":"@coltonneifert/word-search-generator","version":"0.1.3","keywords":["word-search","puzzle","words"],"author":{"url":"http://arbitraryclark.blogspot.com/","name":"James Clark","email":"jameswclark@gmail.com"},"license":"MIT","_id":"@coltonneifert/word-search-generator@0.1.3","maintainers":[{"name":"coltonneifert","email":"colton.neifert@gmail.com"}],"homepage":"https://github.com/sbj42/maze-generator-core#readme","bugs":{"url":"https://github.com/sbj42/maze-generator-core/issues"},"dist":{"shasum":"458e3d3c47d73f045779535555828162b133a83e","tarball":"https://registry.npmjs.org/@coltonneifert/word-search-generator/-/word-search-generator-0.1.3.tgz","fileCount":6,"integrity":"sha512-DKKwTZf8GmEyuHtN92+KxO1iM2DIkvyM2SBNDdOMjSTU59c0K6zl9VyKj+8WNxUmX2lMF0TWr+CZJFhIzs3eBg==","signatures":[{"sig":"MEQCIBLmmWbZPvvdd7u7CaB2a4XkvpunwFzntuM36zmdDf8dAiBIbR9F75lqxKi8HkSSLo6N+o/51X3h9c0sOq3waVMfmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJbWXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3AhAAnjV8hc9a+ZcSS7vhPD/NPmjck256Y0XY4VxFqWuzBMpqwB6K\r\nJnhcemnwh/jU7ZjaOKVoRdIzx3RvNcbiIxBJOUa+JnrUIviIFrKuMdl9qEvH\r\nIzYl5HYr1jgwimTdMwaf+W4s893bIxwmYTbMilXc2IvFgAe0AHjjIWkg+JeA\r\n0vNQAericGkotklI2wppIPxLsVktepOPCLIZjQg3qZkNKwfmclXAhmNcIBss\r\na4fxxu6dbisDe40lPQ+qlaeHNc1QeZhMnpYc6/ASfZSU1zDi/akUp5xiBCq4\r\n9UY7UaVDNiXsY/TVL8+gdE2m51EIkrexNw5t4qcECTp7Vea5GKD4+qiRr13O\r\nvou9LQbxrW2H3OJ7s/COYrY8bxBJPId2KuurNQ/IQRDJdFeq2cBi9m+O6KhO\r\n81PFf5aXj8gOGqzpg505IOtzUveukJPba3JrpLMcFvbysx7HkPKdKFy23sdB\r\nX3ZXAb01pdIZ5i1rb4/wJ8yiAwzetFOKYBcT8gMkxt3qug0NyjYaWykSAa0G\r\ntjnHjDKD6GuF7+UQaX8Sv3d0Ut2oyMh41b0c52brYWHBAfa8vBwOzLPhw4h0\r\nNiMOZsuwUBZAlcPClgrMPpUauPya9OQDR4BGGldcOeLKewWZpzlptuTDGGK3\r\nuR+XBSyc2Ompm2eSZlM9vubYwfwDbzLk/QM=\r\n=wL/q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/generator.js","gitHead":"33389937139f05755b4ab6fcd330215d54ec6cb3","scripts":{"test":"npm run build && node test/cli","build":"gulp"},"_npmUser":{"name":"coltonneifert","email":"colton.neifert@gmail.com"},"repository":{"url":"git+https://github.com/colton-neifert/word-search-generator.git","type":"git"},"_npmVersion":"9.5.0","description":"A program to generate word search puzzles","directories":{},"_nodeVersion":"19.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","typescript":"^4.1.3","@types/node":"^14.14.21","gulp-typescript":"^6.0.0-alpha.1"},"_npmOperationalInternal":{"tmp":"tmp/word-search-generator_0.1.3_1680192918804_0.55027576583437","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@coltonneifert/word-search-generator","version":"0.1.4","keywords":["word-search","puzzle","words"],"author":{"url":"http://arbitraryclark.blogspot.com/","name":"James Clark","email":"jameswclark@gmail.com"},"license":"MIT","_id":"@coltonneifert/word-search-generator@0.1.4","maintainers":[{"name":"coltonneifert","email":"colton.neifert@gmail.com"}],"homepage":"https://github.com/sbj42/maze-generator-core#readme","bugs":{"url":"https://github.com/sbj42/maze-generator-core/issues"},"dist":{"shasum":"9883d3f3be5fefb0b2977198a68f41959487f285","tarball":"https://registry.npmjs.org/@coltonneifert/word-search-generator/-/word-search-generator-0.1.4.tgz","fileCount":6,"integrity":"sha512-jLLZPDjdsrNtACwa9VAa3+tLMaOJnudrlT/ZktJZ9Ww1v+NwoqKpG7hERqz1cGX40ZGrBt8EaB6kyML3qOPWTg==","signatures":[{"sig":"MEQCIC5nL/JZ2d2EjC5izfTcYju+NlQ49upPb4Ss2qK3KTp+AiBrSnNHeEBYKkrPLcrUzv9AWKL/YFrbXUktwvHN/ChTmw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24585},"main":"dist/generator.js","gitHead":"33389937139f05755b4ab6fcd330215d54ec6cb3","scripts":{"test":"npm run build && node test/cli","build":"gulp"},"_npmUser":{"name":"coltonneifert","email":"colton.neifert@gmail.com"},"repository":{"url":"git+https://github.com/sbj42/word-search-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A program to generate word search puzzles","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","typescript":"^4.1.3","@types/node":"^14.14.21","gulp-typescript":"^6.0.0-alpha.1"},"_npmOperationalInternal":{"tmp":"tmp/word-search-generator_0.1.4_1744818624916_0.2984270476018076","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@coltonneifert/word-search-generator","version":"0.1.5","description":"A program to generate word search puzzles","main":"dist/generator.js","scripts":{"build":"gulp","test":"npm run build && node test/cli"},"author":{"name":"James Clark","email":"jameswclark@gmail.com","url":"http://arbitraryclark.blogspot.com/"},"license":"MIT","keywords":["word-search","puzzle","words"],"repository":{"type":"git","url":"git+https://github.com/sbj42/word-search-generator.git"},"bugs":{"url":"https://github.com/sbj42/maze-generator-core/issues"},"homepage":"https://github.com/sbj42/maze-generator-core#readme","devDependencies":{"@types/node":"^14.14.21","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","typescript":"^4.1.3"},"_id":"@coltonneifert/word-search-generator@0.1.5","gitHead":"33389937139f05755b4ab6fcd330215d54ec6cb3","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-yy9PJNQxbPof0AKkbc0nhvDRe2Epu2iN37FjdSAlwixKSy/W0x4ZuybfFDnXdLppQ28m8f3LcKj3YvARZy3G4A==","shasum":"dc59b7e91ae11e4eb5ba796fc1e44f086a90e5e7","tarball":"https://registry.npmjs.org/@coltonneifert/word-search-generator/-/word-search-generator-0.1.5.tgz","fileCount":6,"unpackedSize":24398,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDCY/BW+PDOJchhLpOjLDWhK4F9edoIdSkxYjr0/QucBQIgILj2WlkmG9RiavFWyW/lFqDlup3yybVHkryLqhAfHNM="}]},"_npmUser":{"name":"coltonneifert","email":"colton.neifert@gmail.com"},"directories":{},"maintainers":[{"name":"coltonneifert","email":"colton.neifert@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/word-search-generator_0.1.5_1744818859100_0.11521862544815753"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-30T16:15:18.746Z","modified":"2025-04-16T15:54:19.457Z","0.1.3":"2023-03-30T16:15:19.012Z","0.1.4":"2025-04-16T15:50:25.132Z","0.1.5":"2025-04-16T15:54:19.281Z"},"bugs":{"url":"https://github.com/sbj42/maze-generator-core/issues"},"author":{"name":"James Clark","email":"jameswclark@gmail.com","url":"http://arbitraryclark.blogspot.com/"},"license":"MIT","homepage":"https://github.com/sbj42/maze-generator-core#readme","keywords":["word-search","puzzle","words"],"repository":{"type":"git","url":"git+https://github.com/sbj42/word-search-generator.git"},"description":"A program to generate word search puzzles","maintainers":[{"name":"coltonneifert","email":"colton.neifert@gmail.com"}],"readme":"# word-search-generator\nA word search generator\n\n## usage\n\n```\nvar generator = require('@sbj42/word-search-generator');\nvar puzzle = generator();\nconsole.info(puzzle.toString());\nconsole.info(puzzle.words.join(','));\n```\n\nThat might print:\n\n```\nH T E S A D A N W O\nA O W O R T R U N K\nR E A D I O M P I G\nD T O W D L Y D A M\nL G I S E D H C A E\nY N O N D R R O C K\nD C U D U A I Y N L\nK T A T O D Y C E O\nJ U D G E O O T H U\nE H T O B P R G W D\n\nadd,army,both,day,dog,door,dry,each,god,hardly,judge,let,loud,\nmad,old,own,pet,pig,read,rich,ride,rock,row,sad,set,sock,the,\ntoe,trunk,tune,unit,when,win,wind\n```\n\n# options\n\nThe generator function takes an optional options object, with these options:\n\n`diagonals` (boolean)\n\nDefaults to `true`.  Determines whether words can be placed diagonally on\nthe puzzle.\n\n`backwards` (boolean)\n\nDefaults to `true`.  Enable or disable words placed backwards on\nthe puzzle.\n\n`width` and `height` (integer)\n\nDefaults to 10x10.  Sets the size of the puzzle.\n\n`minLength` and `maxLength` (integer)\n\nUseful for making sure the words aren't too short or too long.  The default\nfor `minLength` is 3, and for `maxLength` is undefined.\n\n`words` (array of strings)\n\nWords will be chosen randomly from this list.  If this is not provided, it\nuses a built-in set of around 2,000 words.\n\n# puzzle api\n\nThe object returned from the generator function has the following properties:\n\n`width` and `height` (integer)\n\nThe size of the puzzle.\n\n`grid` (array of string)\n\nThe letters in the puzzle.  For row R and column C, the letter can be found at\n`grid[R * width + C]`.\n\n`words` (array of string)\n\nThe words placed in the puzzle, in alphabetical order.\n\n`get(C, R)`\n\nA helper function to fetch the letter at row R and column C.\n\n`toString()`\n\nPrints the puzzle to a string, for testing or command-line output.\n","readmeFilename":"README.md"}