Skip to content

yashha/percollate-api

Repository files navigation

Description

Public API to transform website content to pdf using the percollate package .

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# incremental rebuild (webpack)
$ npm run webpack
$ npm run start:hmr

# production mode
npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

API

  • GET: /load.pdf
    • Query: mutiple url queries possible
      other queries are other options of percollate