xpftojson

A commandline utility for converting crossword puzzles in xpf format to the json format used by crossword.js

Usage no npm install needed!

<script type="module">
  import xpftojson from 'https://cdn.skypack.dev/xpftojson';
</script>

README

xpftojson

A commandline utility written in node.js which converts XPF files XPF Universal Crossword Puzzle Data Format files into JSON.

Usage:

Install using NPM.

sudo npm install -g xpftojson

Generate JSON to sdtout.

xpftojson puzzle.xml

Optionally, write JSON to a file.

xpftojson -t output.json puzzle.xml

Development

Check out the source.

git clone https://github.com/collectivecognition/xpftojson
cd xpftojson

Install dependencies:

npm install

Run tests.

npm test