nodeswork
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Nodeswork

Nodeswork is a framework to build simple applications and to deploy easily to nodeswork.com.

Installation

$ npm install nodeswork

Quick Start

let nodeswork = require('nodeswork');
 
let devConfig = require('./dev-config.json');
 
nodeswork
  .config(devConfig)
  .process(async function(ctx) => {
  })
  .start();

Configuration

Options Required Details
appletId required
appletToken required
name required
server required
host Default: localhost
port Default: 28888

Example

nodeswork
  .config({
    name: 'My Applet',
    server: 'localhost:3000',
    host: 'localhost',
    port: 28888,
    appletId: 'copy my applet id here',
    appletToken: 'copy my applet token here',
  });

Readme

Keywords

Package Sidebar

Install

npm i nodeswork

Weekly Downloads

15

Version

0.1.1

License

Apache-2.0

Last publish

Collaborators

  • andyzhau