1.1.0 • Published 1 year ago
utaformatix-data v1.1.0
UtaFormatix Data in TypeScript
TypeScript definitions of UtaFormatix Data Format.
Install
This package is published on npm.
npm install utaformatix-data --save
Example
import { UfData, UtaFormatixDataVersion } from "utaformatix-data";
const jsonString = `...` // load from somewhere
const ufdata = JSON.parse(jsonString) as UfData;
console.log(ufdata.version); // version of the data loaded
console.log(UtaFormatixDataVersion); // version of the format used by current library version
console.log(ufdata.project.title); // access members