2.3.3 • Published 3 years ago
json-to-nbt v2.3.3
json-to-nbt
A converter to convert json to nbt!
install
npm i json-to-nbt -g
Usage
cli
json-to-nbt <file>
json-to-nbt <path to file>
cli options
Option | Default Value | Description |
---|---|---|
--name | '' | Specify the name of the first compound |
--compress | false | Commpresses the nbt file with gzip |
javascript
const { jsonToNBT } = require('json-to-nbt');
typescript
import { jsonToNBT } from 'json-to-nbt';
Development
- split fuctions into mutilple files
- allow use as a lib
- first compound naming
- compression
Please report any bugs found in bug reports