# 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
