Using HashML
Note that HashML is still in version 0.y.z, and is still experimental.
Installation
HashML requires at least Node 12. You can check your Node version by running:
$ node -v
You can install HashML using npm by running:
$ npm install @hashml/hashml
Loading a schema file
import { Schema } from "@hashml/hashml";
const schema = new Schema(file);
const { Schema } = require("@hashml/hashml");
const schema = new Schema(file);