{"_id":"@aamathews23/battleship-web","_rev":"9-93280224b442cf23b5ccef0f6415694e","name":"@aamathews23/battleship-web","dist-tags":{"latest":"3.0.3"},"versions":{"1.0.1":{"name":"@aamathews23/battleship-web","version":"1.0.1","_id":"@aamathews23/battleship-web@1.0.1","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"dist":{"shasum":"179714558dbdcdead6b784ff616b2c3c6d7a7344","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-1.0.1.tgz","fileCount":3,"integrity":"sha512-mzHyzC6Wd7+KyB5l/qPYFMigfwfBvF/ICn+DLgKw7NDX56quCA2ZMsRATl7hCUIUHIA5iatg82r7HzKLwcJJYQ==","signatures":[{"sig":"MEUCIH0nz1zWR0PFpFFolQZkLCTfegyZfFe/WAKOw1rxOkSHAiEA9iMKOAILOPd3z9XsFQc0c52Os9ASCTueQ2gVd4/gMHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1552},"type":"module","_from":"file:aamathews23-battleship-web-1.0.1.tgz","types":"./dist/battleship_web.d.ts","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"cargo build && wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json","lint:fix":"cargo clippy --fix","typecheck":"echo 'No type checking in battleship-web package'","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/307e91a134d8bd53dae9821fd8866d75/aamathews23-battleship-web-1.0.1.tgz","_integrity":"sha512-mzHyzC6Wd7+KyB5l/qPYFMigfwfBvF/ICn+DLgKw7NDX56quCA2ZMsRATl7hCUIUHIA5iatg82r7HzKLwcJJYQ==","_npmVersion":"10.9.2","description":"This is a WASM library for the Battleship game.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_1.0.1_1758669645871_0.7472277791919586","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aamathews23/battleship-web","version":"1.0.2","_id":"@aamathews23/battleship-web@1.0.2","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"dist":{"shasum":"20146a28600b3d072a84fb67349f6a9f4d7956d5","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-1.0.2.tgz","fileCount":7,"integrity":"sha512-myZZtp7+uFmjioEB7IzWztWoqp2vfik/eFfIxd3HNJoS8ZJKklgRhUJWhmUxZhYo2Dool3SsGGEdqq5R3Mb0KA==","signatures":[{"sig":"MEYCIQD4Iy2wVUyLjMd18etF5PQtBCK8yPV3WVVQXHf7twVlbAIhAIHG7hRXKFa844E/iDgcbQHczvedWMB1RXovftq8VB4G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74582},"main":"./dist/battleship_web.js","type":"module","_from":"file:aamathews23-battleship-web-1.0.2.tgz","types":"./dist/battleship_web.d.ts","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"cargo build && wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore","lint:fix":"cargo clippy --fix","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/9cc9f0422bfcc0abd8da6af3014ec9f8/aamathews23-battleship-web-1.0.2.tgz","_integrity":"sha512-myZZtp7+uFmjioEB7IzWztWoqp2vfik/eFfIxd3HNJoS8ZJKklgRhUJWhmUxZhYo2Dool3SsGGEdqq5R3Mb0KA==","_npmVersion":"10.9.2","description":"This is a WASM library for the Battleship game.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_1.0.2_1758670792812_0.30310178391769393","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aamathews23/battleship-web","version":"1.0.3","keywords":["battleship","rust","wasm","webassembly","game","browser"],"author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"license":"MIT","_id":"@aamathews23/battleship-web@1.0.3","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","bugs":{"url":"https://github.com/aamathews23/personal/issues"},"dist":{"shasum":"d3f8b99cbfbcca4b35845043d5bf1ca8367e8506","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-1.0.3.tgz","fileCount":7,"integrity":"sha512-oldVs1VjbvJ027IBGx+1+ylT1WKC3XNIL+tTV14Ns9iSq20HUADifD/gm3OUAC322ideriqSjrGswholVsdYuQ==","signatures":[{"sig":"MEUCIQD7cLWZRYyLsVWjYqTaHkIgSEvZem/KRehlXaW6wA88zQIgIbMnupndKsNHPTKG6+k7m9JvdFnmfpjJNFvlwTW9Sq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75978},"main":"./dist/battleship_web.js","type":"module","_from":"file:aamathews23-battleship-web-1.0.3.tgz","types":"./dist/battleship_web.d.ts","module":"./dist/battleship_web.js","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"cargo build && wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore dist/README.md","lint:fix":"cargo clippy --fix","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/345dca1822a01ce9004a507713d48ac9/aamathews23-battleship-web-1.0.3.tgz","_integrity":"sha512-oldVs1VjbvJ027IBGx+1+ylT1WKC3XNIL+tTV14Ns9iSq20HUADifD/gm3OUAC322ideriqSjrGswholVsdYuQ==","repository":{"url":"git+https://github.com/aamathews23/personal.git","type":"git"},"_npmVersion":"10.9.2","description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_1.0.3_1758719724234_0.7441250664221151","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aamathews23/battleship-web","version":"1.1.0","keywords":["battleship","rust","wasm","webassembly","game","browser"],"author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"license":"MIT","_id":"@aamathews23/battleship-web@1.1.0","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","bugs":{"url":"https://github.com/aamathews23/personal/issues"},"dist":{"shasum":"59f7be11aa0e047af351bdb5efa1e412f037483a","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-1.1.0.tgz","fileCount":7,"integrity":"sha512-LIbZsib7JolqciHKOCVlJ2luLDECE/jOFN9mTKtq/jB7Hy29iK3FaGzG0vtMJYoi12wT36LsMN3+bLX1kMsocA==","signatures":[{"sig":"MEUCIQDcTH+QvWPUp3omYRwq8uPE36tdYCR/EMjfTMi52q2CoAIgNzsO0FWM6PxnVZrxj0XpHP+7MHDdWbK+RxvJjly3/dg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76936},"main":"./dist/battleship_web.js","type":"module","_from":"file:aamathews23-battleship-web-1.1.0.tgz","types":"./dist/battleship_web.d.ts","module":"./dist/battleship_web.js","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore dist/README.md","lint:fix":"cargo clippy --fix","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/2d9dd7889a5f75eabac6f462c3848129/aamathews23-battleship-web-1.1.0.tgz","_integrity":"sha512-LIbZsib7JolqciHKOCVlJ2luLDECE/jOFN9mTKtq/jB7Hy29iK3FaGzG0vtMJYoi12wT36LsMN3+bLX1kMsocA==","repository":{"url":"git+https://github.com/aamathews23/personal.git","type":"git"},"_npmVersion":"10.9.2","description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_1.1.0_1759121232584_0.8703531797932849","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@aamathews23/battleship-web","version":"2.0.0","keywords":["battleship","rust","wasm","webassembly","game","browser"],"author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"license":"MIT","_id":"@aamathews23/battleship-web@2.0.0","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","bugs":{"url":"https://github.com/aamathews23/personal/issues"},"dist":{"shasum":"d764e4e710c3cc6b57e3e7518f97f0e05fea0d28","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-2.0.0.tgz","fileCount":7,"integrity":"sha512-yC6XG9lGZXTnZbAJqbuuJseQwbClaz7S1Z+eBMOOJJu5lN8rsH0TmgK0Qh4N24G+myFvIro5DXw7ut5IaiQmNQ==","signatures":[{"sig":"MEQCIGAHI4tyed0041LQDGhhX9cuxbjU0lS5zwczKZsTp+bQAiAkpJOLKvDqYoMLINnsVaP11WSVWT04cYsUpvi/BSLRCw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81127},"main":"./dist/battleship_web.js","type":"module","_from":"file:aamathews23-battleship-web-2.0.0.tgz","types":"./dist/battleship_web.d.ts","module":"./dist/battleship_web.js","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore dist/README.md","lint:fix":"cargo clippy --fix","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/9349d3c975fd46cc081bde7e17cd7836/aamathews23-battleship-web-2.0.0.tgz","_integrity":"sha512-yC6XG9lGZXTnZbAJqbuuJseQwbClaz7S1Z+eBMOOJJu5lN8rsH0TmgK0Qh4N24G+myFvIro5DXw7ut5IaiQmNQ==","repository":{"url":"git+https://github.com/aamathews23/personal.git","type":"git"},"_npmVersion":"10.9.2","description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_2.0.0_1759121936793_0.3391261610573013","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@aamathews23/battleship-web","version":"3.0.0","keywords":["battleship","rust","wasm","webassembly","game","browser"],"author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"license":"MIT","_id":"@aamathews23/battleship-web@3.0.0","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","bugs":{"url":"https://github.com/aamathews23/personal/issues"},"dist":{"shasum":"541028f916b3646f7590c3dc0f93d7d3b91139f3","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-3.0.0.tgz","fileCount":7,"integrity":"sha512-UMeHngl5PEFTyyPcsPARuOgjxWdBJ7o9z1wUI9xkqTsmX7YAZJkCik2ovlBzjJhD9sTW9/rTypKMxzea0enuhA==","signatures":[{"sig":"MEYCIQC09tQ7VExxg/Xu3uc0Fa6zHGkpn19tb5Ganrw4xZWlBgIhAIRNI5GJ2L2r61oRKyyj4qfl6QIa/I8wYuUzseLNhajf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78501},"main":"./dist/battleship_web.js","type":"module","_from":"file:aamathews23-battleship-web-3.0.0.tgz","types":"./dist/battleship_web.d.ts","module":"./dist/battleship_web.js","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore dist/README.md","lint:fix":"cargo clippy --fix","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/22887623af679f2e15a4fadf5b7520f5/aamathews23-battleship-web-3.0.0.tgz","_integrity":"sha512-UMeHngl5PEFTyyPcsPARuOgjxWdBJ7o9z1wUI9xkqTsmX7YAZJkCik2ovlBzjJhD9sTW9/rTypKMxzea0enuhA==","repository":{"url":"git+https://github.com/aamathews23/personal.git","type":"git"},"_npmVersion":"10.9.2","description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_3.0.0_1763935190461_0.53485714773682","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@aamathews23/battleship-web","version":"3.0.1","keywords":["battleship","rust","wasm","webassembly","game","browser"],"author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"license":"MIT","_id":"@aamathews23/battleship-web@3.0.1","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","bugs":{"url":"https://github.com/aamathews23/personal/issues"},"dist":{"shasum":"51ffb29deaf9dd844a37aea0d65a982f4d3836bd","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-3.0.1.tgz","fileCount":7,"integrity":"sha512-QZCQEpfnahbZrPNg/BGnN4swdYPRxv+MhPV7snSjoWUC/RCcP1dPjapDFdakH+lGEOqjR3iK3rqPxw7Gaq73MQ==","signatures":[{"sig":"MEUCIHqRSpkClCjdhUOFL45ICsTpCKxLfK/+Ytst0acDDjAMAiEAr3JjrmeQM9YdTBVAOS4lixSilcjsjUxvrTot/DNxykU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78501},"main":"./dist/battleship_web.js","type":"module","_from":"file:aamathews23-battleship-web-3.0.1.tgz","types":"./dist/battleship_web.d.ts","module":"./dist/battleship_web.js","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore dist/README.md","lint:fix":"cargo clippy --fix","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/23e921293f116ac78cf97ab27a5078d0/aamathews23-battleship-web-3.0.1.tgz","_integrity":"sha512-QZCQEpfnahbZrPNg/BGnN4swdYPRxv+MhPV7snSjoWUC/RCcP1dPjapDFdakH+lGEOqjR3iK3rqPxw7Gaq73MQ==","repository":{"url":"git+https://github.com/aamathews23/personal.git","type":"git"},"_npmVersion":"10.9.2","description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_3.0.1_1764311088893_0.9094265837679236","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@aamathews23/battleship-web","version":"3.0.2","keywords":["battleship","rust","wasm","webassembly","game","browser"],"author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"license":"MIT","_id":"@aamathews23/battleship-web@3.0.2","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","bugs":{"url":"https://github.com/aamathews23/personal/issues"},"dist":{"shasum":"c21e70cb4bf6ce725a7c442de3ebcaf2141ebef1","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-3.0.2.tgz","fileCount":7,"integrity":"sha512-P3yUHWRceXTtuEJ74ZX3+VqWOdUqXbkkFy6XLeSsCWOBJ80y26EWn6P6m2V1O70w5fa1lL6lBTLbvMjrF2xpIQ==","signatures":[{"sig":"MEQCIH/OJK8KXMk3gBB3KMj72lzgDz/2CBPsr3c3bybMh6aQAiBMFBcgfeWT7UcTCJIa9/d9Imon6jXt49YKF995p534AQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78684},"main":"./dist/battleship_web.js","type":"module","_from":"file:aamathews23-battleship-web-3.0.2.tgz","types":"./dist/battleship_web.d.ts","module":"./dist/battleship_web.js","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"scripts":{"lint":"cargo clippy","test":"cargo test","build":"wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore dist/README.md","lint:fix":"cargo clippy --fix","clean:workspace":"git clean -xdf dist node_modules"},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"_resolved":"/tmp/dbb74698072c3f8483c5a358dc0f070b/aamathews23-battleship-web-3.0.2.tgz","_integrity":"sha512-P3yUHWRceXTtuEJ74ZX3+VqWOdUqXbkkFy6XLeSsCWOBJ80y26EWn6P6m2V1O70w5fa1lL6lBTLbvMjrF2xpIQ==","repository":{"url":"git+https://github.com/aamathews23/personal.git","type":"git"},"_npmVersion":"10.9.2","description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/battleship-web_3.0.2_1766616960502_0.4327591919560505","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"@aamathews23/battleship-web","version":"3.0.3","description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","keywords":["battleship","rust","wasm","webassembly","game","browser"],"homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","bugs":{"url":"https://github.com/aamathews23/personal/issues"},"repository":{"type":"git","url":"git+https://github.com/aamathews23/personal.git"},"license":"MIT","author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"type":"module","exports":{".":"./dist/battleship_web.js","./battleship_web_bg.wasm":"./dist/battleship_web_bg.wasm"},"module":"./dist/battleship_web.js","main":"./dist/battleship_web.js","types":"./dist/battleship_web.d.ts","sideEffects":false,"devDependencies":{"rimraf":"6.1.3"},"scripts":{"clean:workspace":"git clean -xdf dist node_modules","build":"wasm-pack build --out-dir=dist --target=web --release && rimraf dist/package.json dist/.gitignore dist/README.md","lint":"cargo clippy","lint:fix":"cargo clippy --fix","test":"cargo test"},"_id":"@aamathews23/battleship-web@3.0.3","_integrity":"sha512-QitOhI15ZSTomk1Qr1Auh/5yqo06nQWpn1bEZeol7Xwa45EbVdtfubytlKA9iCCiL6TlTd9grsw0xulsfJ1rxw==","_resolved":"/tmp/49d754fb54e81111aa27285c15f1ec01/aamathews23-battleship-web-3.0.3.tgz","_from":"file:aamathews23-battleship-web-3.0.3.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-QitOhI15ZSTomk1Qr1Auh/5yqo06nQWpn1bEZeol7Xwa45EbVdtfubytlKA9iCCiL6TlTd9grsw0xulsfJ1rxw==","shasum":"385f40cca7b8dd323d0033a417be8744bd570e46","tarball":"https://registry.npmjs.org/@aamathews23/battleship-web/-/battleship-web-3.0.3.tgz","fileCount":7,"unpackedSize":78683,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDyb/1vHvlRGMrMkBW1R4TWUwdQr6iL+Yf3S6gVlPD01wIgFbP1Ih+l9BMttLMwfk+Qh0gApyJqG9B4njG5ZHDIWHM="}]},"_npmUser":{"name":"aamathews23","email":"aamathews23@gmail.com"},"directories":{},"maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/battleship-web_3.0.3_1777840389791_0.5558987268608"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-23T23:20:45.615Z","modified":"2026-05-03T20:33:10.053Z","1.0.1":"2025-09-23T23:20:46.070Z","1.0.2":"2025-09-23T23:39:53.009Z","1.0.3":"2025-09-24T13:15:24.462Z","1.1.0":"2025-09-29T04:47:12.775Z","2.0.0":"2025-09-29T04:58:57.033Z","3.0.0":"2025-11-23T21:59:50.664Z","3.0.1":"2025-11-28T06:24:49.094Z","3.0.2":"2025-12-24T22:56:00.646Z","3.0.3":"2026-05-03T20:33:09.945Z"},"bugs":{"url":"https://github.com/aamathews23/personal/issues"},"author":{"name":"Aaron Mathews","email":"aamathews23@gmail.com"},"license":"MIT","homepage":"https://github.com/aamathews23/personal/tree/main/packages/battleship_web","keywords":["battleship","rust","wasm","webassembly","game","browser"],"repository":{"type":"git","url":"git+https://github.com/aamathews23/personal.git"},"description":"The game of battleship, implemented in Rust, compiled to WASM, and distributed in JS / TS.","maintainers":[{"name":"aamathews23","email":"aamathews23@gmail.com"}],"readme":"# battleship_web\n\nThis is a JS wrapper for my Battleship Rust engine.\n\nThis package handles:\n- The initialization of the WASM engine.\n- The random placement of ships on the board.\n- Shooting the ships on the board.\n- Checking if the game has ended.\n\n## usage\n\nInstall the package:\n```sh\nnpm install @aamathews23/battleship-web\n```\n\nInitialize WASM and start the game:\n```js\nimport init, {\n  build_board,\n  shoot_ship,\n  is_end_of_game,\n} from '@aamathews23/battleship-web';\n\ninit().then((wasm) => {\n  const board = build_board();\n\n  const result = shoot_ship(3, 5);\n\n  if (result === 1) {\n    console.log('Hit!');\n  } else if (result === 2) {\n    console.log('Miss!');\n  } else {\n    console.log('Already shot here!');\n  }\n\n  if (is_end_of_game()) {\n    console.log('Game Over!');\n  }\n});\n```\n","readmeFilename":"README.md"}