Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 344 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 344 Bytes

amazonEmailParser

Parse an Amazon receipt email into a JavaScript object

Requires jQuery. Pass in the entire HTML string of the email as a parameter, and the function will return a parsed JavaScript object.

To test, go to any of the test emails in the test directory. In the console enter 'parseAmazonEmail(htmlString)'.