1.0.2 • Published 3 years ago

msbt2json v1.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

msbt2json

msbt2json is an npm package to convert MSBT file to JSON file.

TypeDescriptionConversion destination
LBL1Message labelsJSON Key
TXT2Message stringsJSON Value
ATR1AttributesDo not convert
TSY1Text styleDo not convert

Installation

npm version

npm i msbt2json

Usage

The JSON file converted from the MSBT file will be output to the same directory as the MSBT file.

const msbt2json = require('msbt2json');
const jsonFilePath = msbt2json.convert('<MSBT file path>');

Example

const msbt2json = require('msbt2json');
const jsonFilePath = msbt2json.convert('/home/foo/bar.msbt');
// --> output "/home/foo/bar.json"

npm run

npm run convert -- <MSBT file path>
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago