#!/usr/bin/env node 'use strict'; const { handleInput } = require('..'); process.stdin.resume(); process.stdin.setEncoding('utf8'); let input = ''; process.stdin.on('data', chunk => { input += chunk; }); process.stdin.on('end', () => { handleInput(input, err => { if (err) { throw err; } }); });