{"id":16916465,"url":"https://github.com/extremeheat/nbt-dump","last_synced_at":"2025-04-11T11:31:24.322Z","repository":{"id":55676626,"uuid":"325153166","full_name":"extremeheat/nbt-dump","owner":"extremeheat","description":"CLI tool to read and write Minecraft named binary tag files in big, little, little-varint encoding","archived":false,"fork":false,"pushed_at":"2024-03-12T13:56:09.000Z","size":29,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T13:21:11.736Z","etag":null,"topics":["bedrock","minecraft","nbt","nbt-parser"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/extremeheat.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-12-29T01:10:43.000Z","updated_at":"2025-01-25T00:30:08.000Z","dependencies_parsed_at":"2024-03-11T22:55:44.628Z","dependency_job_id":null,"html_url":"https://github.com/extremeheat/nbt-dump","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremeheat%2Fnbt-dump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremeheat%2Fnbt-dump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremeheat%2Fnbt-dump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extremeheat%2Fnbt-dump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extremeheat","download_url":"https://codeload.github.com/extremeheat/nbt-dump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247725930,"owners_count":20985796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bedrock","minecraft","nbt","nbt-parser"],"created_at":"2024-10-13T19:27:42.643Z","updated_at":"2025-04-11T11:31:24.000Z","avatar_url":"https://github.com/extremeheat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nbt-dump\n[![NPM version](https://img.shields.io/npm/v/nbt-dump.svg)](http://npmjs.com/package/nbt-dump)\n[![Build Status](https://github.com/extremeheat/nbt-dump/actions/workflows/ci.yml/badge.svg)](https://github.com/extremeheat/nbt-dump/actions/workflows/)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/extremeheat/nbt-dump)\n\nA simple command line Node.js tool to read and write NBT files to JSON and back. Supports big, little and little-varint encoding.\n\nUses `prismarine-nbt` for serialization and deserialization, see https://github.com/PrismarineJS/prismarine-nbt for more info on schema.\n\n### Usage \n\nvia npx:\n```sh\nnpx nbt-dump --help\n```\n\nvia npm:\n```\nnpm install -g nbt-dump\nnbt-dump --help\n```\n\n```\nusage, feel free to use natural language:\nParse an NBT file to JSON: \n    nbt-dump \u003cpath-to-nbt-file\u003e [out-json-file] [little|big|varint]\n\n    nbt-dump level.dat\n        (Dump the contents of level.dat to terminal)\n    nbt-dump level.dat to level.json\n        (Dump the contents of level.dat to JSON)\n    nbt-dump level.dat as little to level.json\n        (Dump the contents of little endian encoded level.dat to JSON)\n\nWrite an JSON file to uncompressed NBT (defaults to big endian):\n    nbt-dump write \u003cpath-to-json\u003e [out-nbt-file] [little|big|varint]\n\n    nbt-dump write level.json to level.dat\n    nbt-dump write level.json to level.dat as little\n\nYou can also pipe the input to nbt-dump:\n    cat level.dat | nbt-dump\n    cat level.dat | nbt-dump to level.json\n    cat level.json | nbt-dump write\n    cat level.json | nbt-dump write to level.dat\n```\n\n### Example\n\nIf you do not specify endianness, it will automatically be inferred.\n\nParse to json, and back to nbt as big endian\n```sh\n$ nbt-dump level.dat level.json\n* Dumping NBT file \"file.nbt\" to \"file.json\" as JSON\n(as big endian)\n$ nbt-dump write level.json level.dat\n* Writing JSON from \"file.json\" to \"file.nbt\" as big endian\nwritten!\n```\n\nWrite as little endian\n```sh\n$ nbt-dump level.dat level.json\n* Dumping NBT file \"file.nbt\" to \"file.json\" as JSON\n(as big endian)\n$ nbt-dump write level.json level.dat little\n* Writing JSON from \"file.json\" to \"file.nbt\" as little endian\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextremeheat%2Fnbt-dump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextremeheat%2Fnbt-dump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextremeheat%2Fnbt-dump/lists"}