dylanarmstrong / puz

puz parser
ISC License
6 stars 2 forks source link

Puz Parser

Just a simple .puz parser.

Can be seen in action with code / demo.

Install

npm install @dylanarmstrong/puz --save

Usage

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

Types are available in src/types.ts.