The seguro-gateway library.
Add as a dependency to a Node.js project:
yarn add @conet-project/seguro-gateway
Import from the package:
import { Daemon } from '@conet-project/seguro-gateway'
// Launch with default port of 3001 and path of ''
Daemon()
// Launch on port 3005 and path of './'
Daemon(3005, './')
Run CLI command:
yarn run seguro-gateway [--port] [port] [--path] [./path/to/workers]
Examples:
// Run with default port 3001 and empty path
yarn run seguro-gateway
// Run with port 3005 and current path
Ex: yarn run seguro-gateway --port 3005 --path ./
yarn
yarn lint
yarn test
yarn build
yarn clean