UNPKG

pto-assignments

Version:

Library and CLI tool for parsing USPTO assignment data

25 lines (15 loc) 629 B
# PTO Assignment Processor A quick tool to parse XML data from [United States Patent and Trademark Office Bulk Downloads](https://www.google.com/googlebooks/uspto.html) # Installation npm install pto-assignments # Usage __Warning:__ has not been fully tested with varying XML files yet (or supplied with fallback/default values for missing items) ## As a module var fs = require('fs'); var XML = require('pto-assignments').XML; var xmlContent = readFileSync("filename.xml", 'utf-8'); var file = new XML(xmlContent); ## As a CLI tool pto-assignment input-file.xml > output-file.json # License MIT