Mercury Parser API
This repo provides a drop-in replacement for the Mercury Parser API. In fact, this AWS Lambda-based API for running the Mercury Parser is the same code and serverless infrastructure that powered the Mercury Parser API.
# If you don't already have the mercury parser api installed, do that git clone https://github.com/postlight/mercury-parser-api.git # Install dependencies yarn install
API Gateway-like local dev server
To spin up a local dev server that will more closely match the API Gateway endpoint/experience:
yarn deploy will deploy to "dev" environment. You can deploy to
yarn deploy:stage # -- or -- yarn deploy:prod
After you've deployed, the output of the deploy script will give you the API endpoint for your deployed function(s), so you should be able to test the deployed API via that URL.
Licensed under either of the below, at your preference:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Unless it is explicitly stated otherwise, any contribution intentionally submitted for inclusion in the work, as defined in the Apache-2.0 license, shall be dual licensed as above without any additional terms or conditions.