@route-builders/oud-to-json
TypeScript icon, indicating that this package has built-in type declarations

2.0.13 • Public • Published

oud-to-json

Convert between .oud and .json .

Document
https://doc.route.builders/oud-to-json/

usage

.oud -> .json

const { readFileSync, writeFileSync } = require('fs');
const { Oud2JSON } = require('@route-builders/oud-to-json');

const buffer = readFileSync('/path/to/file.oud');
const oj = new Oud2JSON(buffer);
writeFileSync('result.json', oj.parse());

.json -> .oud

const { writeFileSync } = require('fs');
const { JSON2Oud } = require('@route-builders/oud-to-json');

const json = '{"FileType":"OuDia.1.02","Rosen": ... }';
const jo = new JSON2Oud(json);
writeFileSync('result.oud', jo.parse());

developer

LICENSE

under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i @route-builders/oud-to-json

Weekly Downloads

2

Version

2.0.13

License

MIT

Unpacked Size

46.3 kB

Total Files

54

Last publish

Collaborators

  • route-builders-release-bot
  • up-tri