Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@dylanarmstrong/puz

dylanarmstrong328MIT0.3.3TypeScript support: included

Just a simple .puz parser

crossword, crosswords, puz, puz-parser, puz-file-format

readme

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.