UNPKG

pdf2json

Version:

A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js

9 lines (7 loc) 207 B
var optimist = require('../'); var test = require('tap').test; test('whitespace should be whitespace' , function (t) { t.plan(1); var x = optimist.parse([ '-x', '\t' ]).x; t.equal(x, '\t'); });