Installation

Requirements#

  • Node.js version >= 12

Installation#

You need the core package for basic operation. It contains a chromium browser and a server.

npm i --dev puth

Start the server#

puth start

or you can add a start script to your package.json

package.json
{
// ...
"scripts": {
// ...
"puth": "puth start",
}
}

And execute it with

npm run puth

Configuration#

You can configure plugins for puth in the puth.config.json file inside your projects root directory. Puth will create this file after you have installed Puth. The configuration file is only used if you use Puth`s CLI.

puth.config.json
{
"plugins": [
"puth/lib/plugins/PuthStandardPlugin"
]
}