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

Package detail

puz-parser

dylanarmstrong52ISC0.3.6TypeScript support: included

Just a simple .puz parser

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

readme

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.