{"_id":"2d-dungeon","_rev":"7-aeb527d575654c1d12eb1f989120a157","name":"2d-dungeon","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.4":{"name":"2d-dungeon","version":"0.0.4","repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"description":"prodecural dungeon generator for games","main":"index.js","scripts":{"test":"node -r esm test.js","build":"babel src --presets es2015 -d lib"},"keywords":["dungeon","generator","map","procedural","games"],"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13"},"dependencies":{"esm":"^3.2.25","random-seed":"^0.3.0"},"gitHead":"3898a90925dd7610a1ab1cd04a9dffc20e8dd41d","homepage":"https://github.com/Prozi/dungeon-generator#readme","_id":"2d-dungeon@0.0.4","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-QWiGVSM6r2rCZq1qyPeeOEUXWG+m6BhNOGeRkHjWQNMU3zb+h1tYho3pXR2fNKFp3VthV3B4/xolNbBt7pI/KQ==","shasum":"0541ff66c08ff5b84998c73968a240e1c247df80","tarball":"https://registry.npmjs.org/2d-dungeon/-/2d-dungeon-0.0.4.tgz","fileCount":24,"unpackedSize":87606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetzSlCRA9TVsSAnZWagAA+WEP/2NvDmAZJfnH6a783iVt\nzfzxec4xivuP7YXAHKrbjW5QzS04mDldFADN/vVPcC2sFErTvdKFUArPzbNW\nhxG5GgNcqrP3N5ksGnpg5UMI4xHlQjnJR0pHTIMzfxYe4CKyOttwpNJSEQr9\ndQk+udPo81IShwPv4YeMG21J3E5Jap5XUDhmzXRpjNxXkgRGLlr/hDNbO+kn\nCFKfCWmXgFsZsMdplEktsUxOjsfJZ3L0kksEA7SocckxWDZHgLZlSvfGo6na\nEZbJA2g5I/wgnyRS5tJ35r1MqnZUqP9doSmym0rJ9baI0GM4HzqLj1Iij0sF\nbW+4z89u0ZLlNgDN6xZeaEy2Bn0JWj6zRzMtyDB6ghLtQ3+NaDQkxc83g2qM\nU/RZaGkHwg7eQNFXoe+imp+PhTtxzHcZ9N++g5d7SUlEYU1Ooc/Wii8+zHdS\ngKqpcDt70ImPfcrLmdDB16snnlg0Z1ftZBg/7Bz+s50EVcqvhflj5PYEueS8\nmu9KH7MqkpvnzcZ25whTSz/sUAB9Id4AzLQuhdvwz5ejoaUbZ+B2JsjDpISr\ndbe+M/wPecG+p/QqanbBFImscUW4oE3yhpvG9XGILRd++t7NDiuQ5JE/CTs1\n22wbHxugoU3cXZJ9MOaC0C2+dUTMD7EC2eNeNTtaRjNJz0yVfrncOZMrE1Lm\njGiQ\r\n=k2+g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC74IJ8KaobC8G2R1OJI810zsjoATmEY7J6NDb6rfhU3wIhAISqAOyDSWjlH97cenfMpFnvYBrOm/JWQ6ZcoCT6jwQN"}]},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"_npmUser":{"name":"jacekpietal","email":"prozi85@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2d-dungeon_0.0.4_1589064869164_0.9817602815226174"},"_hasShrinkwrap":false},"0.0.5":{"name":"2d-dungeon","version":"0.0.5","repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"description":"prodecural dungeon generator for games","main":"index.js","scripts":{"test":"node -r esm test.js","build":"babel src --presets es2015 -d lib"},"keywords":["dungeon","generator","map","procedural","games"],"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13"},"dependencies":{"esm":"^3.2.25","random-seed":"^0.3.0"},"gitHead":"8eef648faf31ae4595e47578374e8e56d5d8aa40","homepage":"https://github.com/Prozi/dungeon-generator#readme","_id":"2d-dungeon@0.0.5","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-T1EQgk871nkV90a64oG2ILO7x2rEhX/5fwq+ytqqX60qudnFW0r1p5oEmQE93ESQecL2lIixLAxEWkU3uochmA==","shasum":"fbddf21946020cfd01c38c54184dd377845733eb","tarball":"https://registry.npmjs.org/2d-dungeon/-/2d-dungeon-0.0.5.tgz","fileCount":24,"unpackedSize":87664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetzUWCRA9TVsSAnZWagAAbQsP/R5qEoNR6jwR0qXLhnTo\nomlKASw9gRr3BNrHZGBDjkGfvQYpdL+j9T1NNb7XYRfLXky3Go+mOQehlNk8\nIMomERiy/JkyYWLlKdtMVQFWNC97P39sCvXN/Ekn0eyUmwib09tnjXVsf8CM\nNeT4ennXR9dDFNyhFaP8Vj+2J4VZNT/Dyo3MUTsz+oXkeoh52B2bdcZ6m2AN\n0LdcNfaKLo8cMVMQGxyzJqdSLUN6qgHueJN5b74HYkbWdCsLReRPGQeVPW/X\nQBPFkIr0/95+12DLxtLEul06lrxwhhg4fNfuXUnMglOMG1iKS0B+NNabK+aP\n71h43t91FprgehPIZw32t+7mJ5hqJbXhFb+A4SFIo964FMxqCbzqXDXiXdKT\noQ3UVxrfuQ3aU9JAhs5oz5mx3/gDha0aIKqlSViXj00jnXUwi/Sx0cdJgU+6\n5/3s4eWfyAN8r5rn9gMl/NHA4mGBgBIB1SX5YarldP3jtC/QAI+RECXtxbrb\neqFmMJv/xxarX1PU3VgL21aKiDtUu/zbi0QuLES83fzvCVsm9oGmle5mfS0z\n04kJ5Pv55DGtR8yU3KW/xePrhv1Nxwxw5VdEiUaDNKhsi7y+VKNdjdvyG7bJ\npoCtSbN9ziE+/rc+JTIDr1DISfjmuLGHSzCrfzVh+E/fYyCTPvgysJaHifxJ\n3abd\r\n=nlWI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID9VLleR7QkNkF9ZTBhcfaAYpyb85sM0Yxr3wU4gIrupAiEAmAzOKe50lCFHBm76n+6MEeARiLPlIdH1NtOd/vuy/Ik="}]},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"_npmUser":{"name":"jacekpietal","email":"prozi85@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2d-dungeon_0.0.5_1589064981993_0.5826055223875042"},"_hasShrinkwrap":false},"0.0.6":{"name":"2d-dungeon","version":"0.0.6","repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"description":"prodecural dungeon generator for games","main":"index.js","scripts":{"test":"node -r esm test.js","build":"babel src --presets es2015 -d lib"},"keywords":["dungeon","generator","map","procedural","games"],"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13","esm":"^3.2.25"},"dependencies":{"random-seed":"^0.3.0"},"gitHead":"aed9d776b1864dea2c0acaa65b590cadbce1795d","homepage":"https://github.com/Prozi/dungeon-generator#readme","_id":"2d-dungeon@0.0.6","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-YV2lWc0QfmOfZObX1J6lE6idxo+ST4somMJqZBFVxnNAst5tEMV8ALKlfI5pgGmnEqsdCZ1bGRBZQSGx0nKeMQ==","shasum":"567057d1363b5cce939ed47a4d817d20bdb8fd30","tarball":"https://registry.npmjs.org/2d-dungeon/-/2d-dungeon-0.0.6.tgz","fileCount":24,"unpackedSize":87664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetzVrCRA9TVsSAnZWagAAtgoP/21NKZcU5XXDdg+6QweR\nBUrbRs1wNqgZlOLl3a1EFKj9gpj1mdp9yTH2aPrs3QNDcbwiS2+MH2tC2V4w\nJr3Tpt/OT58MDsrEIqQ3W95g2kapFVPRYeqTnZknfJHs0atE6lHXHO0W3sT/\naoGijMoMGelpj458Ykk3yzYKaRpKTY63JA1JYIsS9UMXqUrOGf4UEusFoIC8\n2HQlCQGa4l+B465QiAdqhk33p6CUcWuQB76PqovkbMiSILqrP8ru4JXCQ1Tv\n5aAm05gkguc8tnwpkwY+rN1BbHf9/o0BOGO3B+v/Nx8E2esUjkUo5XuXWR7D\nmqCaphcgj0JhXQuqXKqCR5MLPHbWuJA3TS9vaaLkA7RJNTlCZib0mE3809Jh\nNxgFwb7MO2G4ZOLOcNTKT4ujWbYqUQVVxk3TDxFkhFzxHz2GsTrgvHdRnAn6\na/jkrOqCJTYw6jqi6Mm/G0FLe598CsdHpIY1uC0SkrrqgW2TFHJSa5aEyTVh\nEj/j7o2iSs1b6z1BZESZGFo+SHNWKZk2XXluU1l/VjKBcLHgrZxtZgyfewHt\n0e3nexyA+nVfkhYm3uaHyV/c0s2KYElVjG2JPbbd2ZuAC0P87s1auBDR7GSw\nVYxqnUqjeDNC/rl5MmHZwy9mN++6V7lT6GsV1AMBJvd4HJJeMBm2a4VclaRT\npWEx\r\n=L5Ja\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFSBtup7mPMh5b3TfFPo43fY2cEJcEpJms/IcQLduhUyAiEAxqNoNI5IEuqu3VxVOtRB4hylWbKeOIslcb4dRYHlS7s="}]},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"_npmUser":{"name":"jacekpietal","email":"prozi85@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2d-dungeon_0.0.6_1589065067158_0.1406477753788684"},"_hasShrinkwrap":false},"0.0.7":{"name":"2d-dungeon","version":"0.0.7","repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"description":"prodecural dungeon generator for games","main":"index.js","scripts":{"test":"node -r esm test.js","precommit":"eslint src --fix && prettier src --write","build":"babel src --presets es2015 -d lib"},"keywords":["dungeon","generator","map","procedural","games"],"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13","eslint":"^7.0.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.20.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","esm":"^3.2.25","prettier":"^2.0.5"},"dependencies":{"random-seed":"^0.3.0"},"gitHead":"9b9c54136c1898b4bfb2ba312c3d9bf956fa770b","homepage":"https://github.com/Prozi/dungeon-generator#readme","_id":"2d-dungeon@0.0.7","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-/4oy1nYNkx4pgJLWVYBMFYfVogdKE0fvGQJLwKs7ybhNH3u9+k9dVwxnSYOKg0E29iE9xHirMwRnmGjhVE6YHA==","shasum":"8473d70e2d1a8b9d4b0d844ba0f014399f7cd627","tarball":"https://registry.npmjs.org/2d-dungeon/-/2d-dungeon-0.0.7.tgz","fileCount":25,"unpackedSize":81966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetziKCRA9TVsSAnZWagAAlrsP/ROaAKfjMumuTIr/cIjO\no0gbZH1GKmJOTd/s3TDrh5KiZnR24aNQiQM9C6aBTpM09qaDb94bLcLatN+O\nkCNdYNNP91XYQxnyYDZ1h3lFNYzjIravuX2KhL112sgLt5NgrI13tGHmAjGs\n7oEU9ceQyPsspZVoL2XwRAzjUmtj+6E+NqqAWrd0UEzYrCOnnOtsdaBmmynI\nuoSXsUymYFzk5fFnhvq5KRtBP3+PnfbZ+Yi75HMdieXli3EXedo/5wppMqcN\nVK2cpDerVg6dKpCpJN6Uwve9Hzw7/7MS5at6Qao/g5tyXL4jkS4oztyTA5ka\nHfJ65rO8zjzgOPfWIDQlriR3lYKj6hcONA1uPyAfcA/omSxhMVS89tUAvfAN\n2eOu4PR+prpQjWh/BKPTVNTgtImjj6VxwmlpSnKDXCmnC0iBx/29geRjzfVN\n9bDq6yrEzL9jjt9tKve3SR3tVWz5X3woM77KUXhCWDn2zG7/hfqiRRCUWufX\nsdIH4GOfdiAQpefqycJwBoWoSop5JPycrzlehgz8IWF7R09MeVvNw6Y++k+N\nNTbjDez5MDpM7kIWXswX7/Y5Tb118r4mQHmTUbyBOrIi0LdQrc1o7NrlTLXf\nvMuGbsDc5NoBoPwesarMJBg52CBdm4nOjTHdY47QWCC5bbmK4doFElj3NPdk\njGjr\r\n=WApw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnERdX40lBRgcPlOL7IzfhGYS/FytvakaNzjvF4RP4zAiEA0/ck1O9cESW6rymJsmL44onsnjEsR5encyQO1Os5ze4="}]},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"_npmUser":{"name":"jacekpietal","email":"prozi85@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2d-dungeon_0.0.7_1589065866029_0.7813212911906264"},"_hasShrinkwrap":false},"0.0.8":{"name":"2d-dungeon","version":"0.0.8","repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"description":"prodecural dungeon generator for games","main":"index.js","types":"index.d.ts","scripts":{"test":"node -r esm test.js","precommit":"eslint src --fix && prettier src --write","build":"babel src --presets es2015 -d lib"},"keywords":["dungeon","generator","map","procedural","games"],"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13","eslint":"^7.0.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.20.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","esm":"^3.2.25","prettier":"^2.0.5"},"dependencies":{"random-seed":"^0.3.0"},"gitHead":"54644fe053b812358a74015d8e519b96b769e9d5","homepage":"https://github.com/Prozi/dungeon-generator#readme","_id":"2d-dungeon@0.0.8","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-YOe8Rn3x6Hbe9r0rsrYQMJTOoS80L1A/YNyZzWv7/dei7gJTLCNTCDaxuXi5JA18o/kEx2eDKI2rageXT+FUcQ==","shasum":"c3f27735ebbb5eb578144c76cf4fec4bde6d21f1","tarball":"https://registry.npmjs.org/2d-dungeon/-/2d-dungeon-0.0.8.tgz","fileCount":26,"unpackedSize":82754,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXDii1c5zPGX8740JY6SRpEvLyAp2uEJGeiR/S1Q5Z+wIgV0Fluk7toDQN1so6/bgQKrvOvKWeS8njY1bz+4zk1g0="}]},"_npmUser":{"name":"jacekpietal","email":"prozi85@gmail.com"},"directories":{},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2d-dungeon_0.0.8_1685294309338_0.7689465224267464"},"_hasShrinkwrap":false},"1.0.0":{"name":"2d-dungeon","version":"1.0.0","repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"description":"prodecural dungeon generator for games","main":"index.js","types":"index.d.ts","scripts":{"test":"node -r esm test.js","precommit":"eslint src --fix && prettier src --write","build":"babel src --presets es2015 -d dist"},"keywords":["dungeon","generator","map","procedural","games"],"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13","eslint":"^7.0.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.20.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","esm":"^3.2.25","prettier":"^2.0.5"},"dependencies":{"random-seed":"^0.3.0"},"gitHead":"470c89471ea1c8626b4acaa24634baea29ac33e3","homepage":"https://github.com/Prozi/dungeon-generator#readme","_id":"2d-dungeon@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-HIXuyTC8A4cTDDcHRSf/HBFvniLYWmZauinBfbIYdmCEcYK5bpPcu0PpHCWhE2qlw1jJoQ+hzGfKiTBgNkmecQ==","shasum":"c3540eb92ec8a11bbaa964ba6348acb6a9214136","tarball":"https://registry.npmjs.org/2d-dungeon/-/2d-dungeon-1.0.0.tgz","fileCount":10,"unpackedSize":36913,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDySH/LP/7cROfIvuHvXhffVbZYDjB1eOZ7P6a3JGss1gIhAIExYSs8GyUBtNh3Zj06XeIGfcelIqxKCQSHKz4+Y0Y2"}]},"_npmUser":{"name":"jacekpietal","email":"prozi85@gmail.com"},"directories":{},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2d-dungeon_1.0.0_1685297028153_0.6647309727644837"},"_hasShrinkwrap":false},"1.0.1":{"name":"2d-dungeon","version":"1.0.1","repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"description":"prodecural dungeon generator for games","main":"index.js","types":"index.d.ts","scripts":{"test":"node -r esm test.js","precommit":"eslint src --fix && prettier src --write","build":"babel src --presets es2015 -d dist"},"keywords":["dungeon","generator","map","procedural","games"],"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-es2015":"^6.3.13","eslint":"^8.41.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.1.1","eslint-plugin-standard":"^4.1.0","esm":"^3.2.25","prettier":"^2.8.8"},"dependencies":{"random-seed":"^0.3.0"},"gitHead":"7746592f628242b5d5c08c1be292ca27c848724e","homepage":"https://github.com/Prozi/dungeon-generator#readme","_id":"2d-dungeon@1.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-KzTsIlzjEnJaADiRX4XOgIZnEj7glwhyLLfM0mNMpu5chqGz3KRO6cL7VG5DdsGPO8GKow0SKNKNM4uMr0Fs3Q==","shasum":"dbe6f84d407f9058e136c23bde760e620cd68ae1","tarball":"https://registry.npmjs.org/2d-dungeon/-/2d-dungeon-1.0.1.tgz","fileCount":14,"unpackedSize":55287,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdumbLJyyCoNYI87DVk5KNiBdajli96Bi3+o4hihjOVAiEA7pOsrO6WiQqy6z90nOZJEOawQYVi9LfWKLoZXtLc+Bg="}]},"_npmUser":{"name":"jacekpietal","email":"prozi85@gmail.com"},"directories":{},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2d-dungeon_1.0.1_1685297266866_0.855087613435711"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-09T22:54:29.163Z","0.0.4":"2020-05-09T22:54:29.263Z","modified":"2023-05-28T18:07:47.222Z","0.0.5":"2020-05-09T22:56:22.085Z","0.0.6":"2020-05-09T22:57:47.312Z","0.0.7":"2020-05-09T23:11:06.153Z","0.0.8":"2023-05-28T17:18:29.525Z","1.0.0":"2023-05-28T18:03:48.334Z","1.0.1":"2023-05-28T18:07:47.101Z"},"maintainers":[{"name":"jacekpietal","email":"prozi85@gmail.com"}],"description":"prodecural dungeon generator for games","homepage":"https://github.com/Prozi/dungeon-generator#readme","keywords":["dungeon","generator","map","procedural","games"],"repository":{"type":"git","url":"git+https://github.com/Prozi/dungeon-generator.git"},"author":{"name":"domasx2@gmail.com, prozi85@gmail.com"},"bugs":{"url":"https://github.com/Prozi/dungeon-generator/issues"},"license":"MIT","readme":"# Dungeon generator\n\nThis is a procedural dungeon generator written in javascript.\n\n[Live demo](https://domasx2.github.io/dungeon-generator/)\n\n## Installation\n\n```\nyarn add 2d-dungeon --save\n```\n\n## Features\n\n1. Pre-defined, tagged rooms\n2. Highly configurable\n3. Seeded rng\n4. Feedback about exits, perimeter, etc\n5. (Optional) corridors\n6. (Optional) circular paths\n\n## Output examples\n\n![Sample 1](https://domasx2.github.io/dungeon-generator/samples/sample1.png)\n![Sample 2](https://domasx2.github.io/dungeon-generator/samples/sample2.png)\n![Sample 3](https://domasx2.github.io/dungeon-generator/samples/sample3.png)\n![Sample 4](https://domasx2.github.io/dungeon-generator/samples/sample4.png)\n\n## Usage\n\n@TODO\n\n```javascript\nimport { Dungeon } from \"2d-dungeon\";\n\nlet dungeon = new Dungeon({\n  max_iterations: 50,\n  size: [100, 100],\n  seed: \"abcd\", //omit for generated seed\n  rooms: {\n    initial: {\n      min_size: [3, 3],\n      max_size: [3, 3],\n      max_exits: 1,\n      position: [0, 0], //OPTIONAL pos of initial room\n    },\n    any: {\n      min_size: [2, 2],\n      max_size: [5, 5],\n      max_exits: 4,\n    },\n  },\n  max_corridor_length: 6,\n  min_corridor_length: 2,\n  corridor_density: 0.5, //corridors per room\n  symmetric_rooms: false, // exits must be in the center of a wall if true\n  interconnects: 1, //extra corridors to connect rooms and make circular paths. not 100% guaranteed\n  max_interconnect_length: 10,\n  room_count: 10,\n});\n\ndungeon.generate();\ndungeon.print(); //outputs wall map to console.log\n\ndungeon.size; // [width, heihgt]\ndungeon.walls.get([x, y]); //return true if position is wall, false if empty\n\nfor (let piece of dungeon.children) {\n  piece.position; //[x, y] position of top left corner of the piece within dungeon\n  piece.tag; // 'any', 'initial' or any other key of 'rooms' options property\n  piece.size; //[width, height]\n  piece.walls.get([x, y]); //x, y- local position of piece, returns true if wall, false if empty\n  for (let exit of piece.exits) {\n    let { x, y, dest_piece } = exit; // local position of exit and piece it exits to\n    piece.global_pos([x, y]); // [x, y] global pos of the exit\n  }\n\n  piece.local_pos(dungeon.start_pos); //get local position within the piece of dungeon's global position\n}\n\ndungeon.initial_room; //piece tagged as 'initial'\ndungeon.start_pos; //[x, y] center of 'initial' piece\n```\n\nor\n\n```js\nimport { createDungeon } from \"2d-dungeon\";\n\nconst size = 48; // width, height\nconst scale = 2; // will stretch the array\nconst options = {};\nconst dungeon = createDungeon(size, scale, options);\n```\n","readmeFilename":"README.md"}