2.9.70 • Published 1 year ago

@hishprorg/vero-optio v2.9.70

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@hishprorg/vero-optio

NPM version Build Status Gitpod ready-to-code

A simple command line Node.js tool to read and write NBT files to JSON and back. Supports big, little and little-varint encoding.

Uses prismarine-nbt for serialization and deserialization, see https://github.com/PrismarineJS/prismarine-nbt for more info on schema.

Usage

via npx:

npx @hishprorg/vero-optio --help

via npm:

npm install -g @hishprorg/vero-optio
@hishprorg/vero-optio --help
usage, feel free to use natural language:
Parse an NBT file to JSON: 
    @hishprorg/vero-optio <path-to-nbt-file> [out-json-file] [little|big|varint]

    @hishprorg/vero-optio level.dat
        (Dump the contents of level.dat to terminal)
    @hishprorg/vero-optio level.dat to level.json
        (Dump the contents of level.dat to JSON)
    @hishprorg/vero-optio level.dat as little to level.json
        (Dump the contents of little endian encoded level.dat to JSON)

Write an JSON file to uncompressed NBT (defaults to big endian):
    @hishprorg/vero-optio write <path-to-json> [out-nbt-file] [little|big|varint]

    @hishprorg/vero-optio write level.json to level.dat
    @hishprorg/vero-optio write level.json to level.dat as little

You can also pipe the input to @hishprorg/vero-optio:
    cat level.dat | @hishprorg/vero-optio
    cat level.dat | @hishprorg/vero-optio to level.json
    cat level.json | @hishprorg/vero-optio write
    cat level.json | @hishprorg/vero-optio write to level.dat

Example

If you do not specify endianness, it will automatically be inferred.

Parse to json, and back to nbt as big endian

$ @hishprorg/vero-optio level.dat level.json
* Dumping NBT file "file.nbt" to "file.json" as JSON
(as big endian)
$ @hishprorg/vero-optio write level.json level.dat
* Writing JSON from "file.json" to "file.nbt" as big endian
written!

Write as little endian

$ @hishprorg/vero-optio level.dat level.json
* Dumping NBT file "file.nbt" to "file.json" as JSON
(as big endian)
$ @hishprorg/vero-optio write level.json level.dat little
* Writing JSON from "file.json" to "file.nbt" as little endian
mixinsArray.prototype.findLastECMAScript 2023descriptionmakefigletbytejapanesevariablespreserve-symlinksECMAScript 7ES2019entriesdependenciespropertiesdatemkdirhasOwndropRegExp#flagsfindeventEmitterinterruptspruneharmonystatelessArray.prototype.containsi18ndayjsclassesTypedArraysetterasciielbObject.iscurlhookformjson-schema-validatorMicrosofttrimRightimportpositivewindowcloudfrontfindLastlrulocationfullwidthcolorroutenameloggingdynamodbswflocaldom-testing-libraryzodaccessibilitynodejspropcoremobilefastifySetmanagerdeeprobustdefinetoSortedhas-ownopensslinspectES2020deepclonecliremoveassertperformanceJSONjsdomObject.entriessharedboundES2023weaksetimportexporttraverseairbnbequalbcrypttypeinferencediffcolourtelephonekinesisqueryArray.prototype.flattenparsereveryes8Streamstyleguidebindhelperscommandmapless compilerclassnamesquoteanimationcss nestingcharactersigtermintrinsic_.extendreact posevalidatorredux-toolkitUint32ArrayglobalcompilerreadRxlivestatewafbundlersyntaxerrorArrayBuffer.prototype.slicebyteOffsetsyntaxmergebinaryECMAScript 2019@@toStringTagdirfilepuremoment3dtermlastbusysqsWeakMapfull-widthsideReactiveExtensionssomecommanderschemeidleglobperformantwaapienvironmentsloadbalancingfastcloneECMAScriptpredictablefast-deep-clonetypeses-shim APIdragtsregexapiartArrayBuffer#slicesnsES2022childcss-in-jsreact-testing-librarybddcomparees6pnpm9installerramdathreeutil.inspectFloat32ArrayWeakSetignorereducerschemaviewnumberrecursive6to5user-streamses-shimsmatchesgroupBytoobjectphonefast-clonemockindicatorutilsauthenticationregularmkdirspropertyworkflowgraphqlchannelArraytouchdomloggeryamllistenersjwtcachesetPrototypeOfhandlerdefinePropertytranspilerpipesignedinstallfindLastIndexES2015asterisksFloat64Arraysuperagentfilterawesomesaucemetadatautilitiesshellsubprocessworkerqueuecss lessponyfillpatchmatchcallbindargumentstringifierRxJSjQueryUint8ClampedArraySystem.globaldescriptorsECMAScript 2017fsfastcopyfunctionsString.prototype.trimefficientsortsymlinksStreamsassertsbrowserlistsignalwidthfetchrangeerrornamessuperstructes2017colorspackage.jsonArray.prototype.flatMapcrypttypedarraystablepostcssdataflagsECMAScript 6URLtrimLeftunicodeassigneventscloudformationglobalscheckamazongetterYAMLbrowserArray.prototype.includesstyled-componentstextES3requireawsString.prototype.matchAllelmonceObject.values0trimEnddataViewruleselasticachejsxlogserializerquerystringinconcatiejshintreact-hook-formcjkqscreatetyped arrayInt8ArrayimmutableECMAScript 5ObservablenpmtypesafelesscsslinuxIteratorwhatwgsetImmediateexit-codeasyncprefixhashmonorepostarterformatoperating-systemtoolkitarrayinternal slotbeanstalkisConcatSpreadablereplayweakmapBigInt64Arraygroupregular-expressionvaluesajaxhttplockfilechaireact-hookssymlinkexitidentifiersjsonformattingInt16Arrayvarrgbreact animationECMAScript 2022argvreactPushomitPromisetoolsArray.prototype.findLastIndexoutputstylingcss variablehandlersfromgetPrototypeOfsetarktypeiterationprogressArray.prototype.filtertypeofglobal objectnopehardlinksdirectorymacosescirculardescriptorstyleeast-asian-widthTypeBox__proto__JSON-Schemawindowsvariables in cssreal-timestatusflatMaptypescriptsymbolsprotobufagentlengthes-abstractjsmulti-packagemockingprotocol-buffersruntimettytime-0pyyamlqueueMicrotaskvarssettingsECMAScript 2015forEachzxES5specpinoglobal this valuepathreadablestreamtranspilereducenativespinnerstc39negativecomputed-typesnested cssglobalThispopmotionbuffersassertionhigher-orderlintECMAScript 2021nodejson-schema-validationimmerserializationequalitypostcss-pluginvpceslintpluginparseFunction.prototype.nameredirectastvaluematchAlltoStringTagCSSStyleDeclarationtakeacornES6gdprshrinkwraptslib.envauthletrapidlibphonenumberwriteES8flaggitignoredatastructurecloudtrailprettytypanionenderminimalroutingsafeiamconsumees2016WebSocketsignalsReflect.getPrototypeOfObject.fromEntriesrdsconsoletostringtagstreamemrpolyfillapollopersistentCSSArray.prototype.flatcodesInt32Arrayfast-deep-copydataviewincludespreprocessorfast-copyvestreact-componentgetOwnPropertyDescriptortransportsymbolconfigurabletypeerrorconfigconststringcore-jsdeletecall-boundselfuploadtestershimcurriedstructuredClonees7RFC-6455Object.definePropertyvisualpoint-freejsdiffjoifastpromiseresolveutilityiteratorsimpledbclientscheme-validationlazylanguageES2017trimStartcolumnssequencecloudsearchObjectjson-schemainputtacitdeepcopyhasOwnPropertyendpointshebangECMAScript 2018stylesheettest[[Prototype]]ECMAScript 2016ownfile systemelectronexpressio-tsenvironmentaccessortestinggetintrinsiccontainsgradients css3form-validationhooksbabelcertificatescommand-linekeyobjectvalidationObject.assigninternalproxyclass-validatorcensorsharedarraybufferclassname.gitignorea11ygradients cssinvariantfpMapUint8Arraywritablechromiumsigintslotajvmoveeffect-tsObservablesfantasy-landpluginReactiveXregular expressiontoArraystoragegatewaybundlinggesturesURLSearchParamsextend$.extendnpmignoreexpressionfpsoptimisttypedarraysECMAScript 3eslintprotoerrormodulescollectionAsyncIteratorcollection.es6deep-clonepackagesbinmoduleobjbabel-corefunctionalposebinariesestrees3ses256callbackhelperoptimizershamtddec2enumerablejsonschemaless.jsprivateecmascriptStyleSheetTypeScriptcryptoautoscalingxhrArrayBufferdependency managerreuseirqconcatMapservicegetslicearrayshothttpsframerextraworkspace:*private dataObject.keysserializemapreducebootstrap lessautoprefixerbootstrap cssUint16ArrayglacierbrowserslistgetoptHyBifullspinnercolumnpushuninstalltypedyupescapebannerises5function.lengthflatwhichback-endObject.getPrototypeOfebscall-bindspawnkeysredactcloudwatchoffsetSymbol.toStringTagsameValueZerogenericsES2016cloneroute53ES2018iteratewalkforkRegExp.prototype.flagschineseemitbufferBigUint64Arrayfront-endwgetlinkprocessfunctionless cssfixed-widthlesses2015picomatcharraybuffernegative zerostylescompile lessstringifywaitmruprototypeformdotenvwarningflattentrimUnderscorefluxpackage managerreduxsortedzeroexecfilees2018validateexecuteserverECMAScript 2020javascriptcallrequestkoreanutilspringES7urlloadingcallboundfnmatchpasswordrandomreadableeventDispatcherencryption
2.9.70

1 year ago

2.9.69

1 year ago

2.9.68

1 year ago

2.9.67

1 year ago

2.9.66

1 year ago

2.9.65

1 year ago

2.8.65

1 year ago

2.7.65

1 year ago

2.7.64

1 year ago

2.7.63

1 year ago

2.7.62

1 year ago

2.6.62

1 year ago

2.6.61

1 year ago

2.6.60

1 year ago

2.6.59

1 year ago

2.6.58

1 year ago

2.6.57

1 year ago

2.6.56

1 year ago

2.6.55

1 year ago

2.6.54

1 year ago

2.6.53

1 year ago

2.6.52

1 year ago

2.6.51

1 year ago

2.6.50

1 year ago

2.6.49

1 year ago

2.6.48

1 year ago

2.6.47

1 year ago

2.6.46

1 year ago

2.6.45

1 year ago

2.6.44

1 year ago

2.6.43

1 year ago

2.6.42

1 year ago

2.6.41

1 year ago

2.6.40

1 year ago

2.6.39

1 year ago

2.6.38

1 year ago

2.5.38

1 year ago

2.5.37

1 year ago

2.5.36

1 year ago

2.4.36

1 year ago

2.4.35

1 year ago

2.4.34

1 year ago

2.3.34

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.29

1 year ago

2.3.28

1 year ago

2.3.27

1 year ago

2.3.26

1 year ago

2.3.25

1 year ago

2.3.24

1 year ago

2.3.23

1 year ago

1.3.23

1 year ago

1.3.22

1 year ago

1.3.21

1 year ago

1.3.20

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.1.6

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago