TypeScript library for interacting with, and creating, BYAML files
npm i @pretendonetwork/byaml
import BYAML from '@pretendonetwork/byaml';
const byaml = new BYAML();
byaml.parseFromFile('./WeaponInfo_Main.byaml');
console.log(JSON.stringify(byaml.rootNode, null, 4));
- Encoding
- Reading from file paths
- String node
- Binary data node
- Binary data node with param
- Array node
- Dictionary node
- String table node
- Binary table node
- Bool node
- Int32 node
- Float node
- Uint32 node
- Int64 node
- Uint64 node
- Double node
- Null node