Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 520 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 520 Bytes

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.