Skip to content

CoNET-project/CONET-Gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0cde233 · May 6, 2025
Jul 7, 2021
May 6, 2025
Jul 7, 2021
Dec 2, 2024
Jul 7, 2021
Jun 25, 2024
Jul 5, 2024
Feb 10, 2025
Sep 4, 2024
Jun 22, 2024
Sep 29, 2023
Jul 7, 2021
May 14, 2023
May 6, 2025
Jul 7, 2021
Jul 10, 2024
Jul 24, 2024

Repository files navigation

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 { 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:
curl -v -4 -x http://127.0.0.1:3002 "https://conet.network"
// 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published