{"name":"minecraft-data","version":"3.87.0","keywords":["minecraft","data","node.js"],"author":{"name":"Romain Beaumont","email":"romain.rom1@gmail.com"},"license":"MIT","_id":"minecraft-data@3.87.0","maintainers":[{"name":"rom1504","email":"romain.rom1@gmail.com"}],"homepage":"https://github.com/PrismarineJS/node-minecraft-data#readme","bugs":{"url":"https://github.com/PrismarineJS/node-minecraft-data/issues"},"dist":{"shasum":"01745d2df68f68ebbb5956b16172589f3d969e5c","tarball":"http://registry-npm.ywwl.com/minecraft-data/download/minecraft-data-3.87.0.tgz","fileCount":995,"integrity":"sha512-XdiWvBA7wrxYKjMhi/SjUs5OzPkkaJtBiMYqzJdfQwZnitkJg6VPNNf8E+TdHBvtbcH0g0rqPEnLhI+W5REfVQ==","signatures":[{"sig":"MEUCIHzBcSpjMGiHCzNgt1PonhAne9iFU4h34fy3EZL2cHd+AiEAzGdHGiq4pXOPahdShBuppsFytC0UIQ37d4+PR8lPbOk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":318733327,"size":17787845,"noattachment":false,"key":"/minecraft-data/-/minecraft-data-3.87.0.tgz"},"main":"index.js","types":"./index.d.ts","gitHead":"e0b94d2aede6c8f934a4415489c18c3847bcbfa6","scripts":{"fix":"standard --fix","lint":"standard","test":"npm run generate:types && npm run generate:data && npm run lint && npm run test:types && mocha","prepare":"npm run generate:data && npm run generate:types","test:types":"tsc typings/test-typings && node typings/test-typings.js","generate:data":"node ./bin/generate_data.js","generate:types":"node typings/generate-typings.js"},"_npmUser":{"name":"rom1504","email":"romain.rom1@gmail.com"},"standard":{"ignore":["minecraft-data/**/*.js"]},"repository":{"url":"git+ssh://git@github.com/PrismarineJS/node-minecraft-data.git","type":"git"},"_npmVersion":"10.5.1","description":"Provide easy access to minecraft data in node.js","directories":{},"_nodeVersion":"22.0.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^11.0.1","standard":"^17.0.0","typescript":"~5.8.3","@types/node":"^22.1.0","minecraft-data":".","minecraft-packets":"^1.4.0","json-schema-to-typescript":"11.0.5"},"tonicExampleFilename":"example.js","_npmOperationalInternal":{"tmp":"tmp/minecraft-data_3.87.0_1747585922205_0.03665868662845995","host":"s3://npm-registry-packages-npm-production"},"readme":"# node-minecraft-data\n\n[![NPM version](https://badge.fury.io/js/minecraft-data.svg)](http://badge.fury.io/js/minecraft-data)\n[![Tonic](https://img.shields.io/badge/tonic-try%20it-blue.svg)](https://tonicdev.com/npm/minecraft-data)\n[![Build Status](https://github.com/PrismarineJS/node-minecraft-data/workflows/CI/badge.svg)](https://github.com/PrismarineJS/node-minecraft-data/actions?query=workflow%3A%22CI%22)\n[![Try it on gitpod](https://img.shields.io/badge/try-on%20gitpod-brightgreen.svg)](https://gitpod.io/#https://github.com/PrismarineJS/node-minecraft-data)\n\n`node-minecraft-data` provides easy access to [minecraft-data](https://github.com/PrismarineJS/minecraft-data) in node.js.\n\nThe objective of this module is to make easier to look for information in `minecraft-data` in node.\n\n## Features\n\nThis package allows the lookup of blocks, items, entities, etc. by name, id, etc., and for the easy lookup of other data.\n\n## Example\n\n```js\nconst minecraftData = require('minecraft-data')\n// or for es6: import minecraftData from 'minecraft-data';\n\nconst mcData = minecraftData('1.19')\n\nconsole.log(mcData.blocksByName['stone']) // Information for \"Stone\"\nconsole.log(mcData.windows['minecraft:brewing_stand']) // Information for the \"Brewing Stand\" GUI\nconsole.log(mcData.version) // Information about the current version\nconsole.log(mcData.effectsByName['Haste']) // Information for the \"Haste\" effect\n```\n\n## Documentation\n\n* See [doc/api.md](doc/api.md)\n* See [doc/history.md](doc/history.md)\n","publish_time":1747585922588,"_cnpm_publish_time":1747585922588,"dist-tags":{"latest":"3.119.0"}}