Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 865 Bytes

README.md

File metadata and controls

68 lines (45 loc) · 865 Bytes

seguro-gateway README

The seguro-gateway library.

Usage

Add as a dependency to a Node.js project:

yarn add @conet-project/seguro-gateway

Import from the package:

import { launchSeguroGateway } from '@conet-project/seguro-gateway'

// Launch with default port of 3001 and path of ''
launchSeguroGateway()

// Launch on port 3005 and path of './'
launchSeguroGateway(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 ./

Development

Install

yarn

Lint

yarn lint

Test

yarn test

Build

yarn build

Clean

yarn clean