GMali / paychex

Parses Paychex PDF files into JSON data that you can work with

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paychex Build Status

Parses Paychex PDF files into JSON data that you can work with

Getting Started

Install the module with:

npm install paychex

Install with cli command

$ npm install -g paychex
$ paychex --help
$ paychex --version

Examples

In your project:

var Paychex = require('../lib/paychex.js');
var stub = new Paychex('my_paycheck.PDF');
// => [ 'Payrolls by Paychex, Inc.',
//      'PERSONAL AND CHECK INFORMATION',
//      ...
//     ]

Using CLI:

$ paychex my_paycheck.PDF
[ 'Payrolls by Paychex, Inc.',
  'PERSONAL AND CHECK INFORMATION',
  ...
]

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Repo structure

  • The main logic is in /lib/paycheck.js
  • cli.js has the CLI version of this tool
  • test/ and example/ are what they say they are

License

Copyright (c) 2014 Gaurav Mali
Licensed under the MIT license.

About

Parses Paychex PDF files into JSON data that you can work with

License:MIT License


Languages

Language:JavaScript 100.0%