UNPKG

xquery-cli

Version:

A command-line tool for XQuery

13 lines (10 loc) 240 B
#!/usr/bin/env node const { startParentProcess, startChildProcess } = require('../dist'); if (!process) { throw new Error(); } if (process.send) { startChildProcess(); } else { startParentProcess(process.argv.splice(2), __filename); }