#!/usr/bin/env node // cli usage: `node 1p-parser.js input.1pif` 'use strict'; const getJSON = require('1pif-to-json'); (async () => { const items = await getJSON(process.argv.slice(2)[0]); console.log(`${items.length} items`); })();