/puz

puz parser

Primary LanguageTypeScriptISC LicenseISC

Puz Parser

Just a simple .puz parser.

Install

npm install puz-parser --save

Usage

const parse = require('puz-parser');
// Or
import parse from 'puz-parser';

// 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.