download
raw
363 Bytes
#!/usr/bin/env node
/* eslint-disable no-var, unicorn/prefer-node-protocol */
var parser = require("..");
var fs = require("fs");
var filename = process.argv[2];
if (!filename) {
console.error("no filename specified");
} else {
var file = fs.readFileSync(filename, "utf8");
var ast = parser.parse(file);
console.log(JSON.stringify(ast, null, " "));
}

Xet Storage Details

Size:
363 Bytes
·
Xet hash:
1bd81001d34893edd15aab44e744ccf1f01cb0d05c68ab5ba2946173d762222b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.