Just a simple .puz parser.
Can be seen in action with code / demo.
npm install @dylanarmstrong/puz --save
const parse = require('@dylanarmstrong/puz');
// Or
import parse from '@dylanarmstrong/puz';
// Load a .puz file
const data = new Uint8Array(buffer);
// Parse the Uint8Array data
const puz = parse(data);
Types are available in src/types.ts.