@nginstack/engine-node
Engine node API can be used to start and stop an Engine programmatically in a Node application.
Last updated 17 days ago by dyad-tecnologia .
Original npm · Tarball · package.json
$ cnpm install @nginstack/engine-node 
SYNC missed versions from official npm registry.

Engine Node

Engine node API can be used to start and stop an Engine programmatically in a Node application.

Install

Prerequisites

Installation

  1. Install @nginstack/dev-tools using npm (or yarn):

    yarn install @nginstack/engine-node
    

Usage

const Engine = require('@nginstack/engine-node');
const url = require('url');
const request = require('request-promise-native');

const engine = new Engine('installPath', 'http://myserver.com', 'DB_NAME');
engine.install().then(() => {
    return engine.start();
}).then(() => {
    return request.get(url.resolve(engine.url, '/api/service-status/v1/status'));
}).then(body => {
    console.log(body);
    return engine.stop();
}).catch(err => {
    console.error(err);
});

Current Tags

  • 36.0.1                                ...           beta (17 days ago)
  • 35.0.30                                ...           latest (17 days ago)

57 Versions

  • 36.0.1                                ...           17 days ago
  • 35.0.30                                ...           17 days ago
  • 35.0.22                                ...           19 days ago
  • 35.0.16                                ...           a month ago
  • 35.0.1                                ...           2 months ago
  • 34.0.33                                ...           2 months ago
  • 34.0.21                                ...           2 months ago
  • 34.0.11                                ...           2 months ago
  • 34.0.10                                ...           2 months ago
  • 34.0.7                                ...           2 months ago
  • 34.0.6                                ...           2 months ago
  • 34.0.5                                ...           2 months ago
  • 34.0.1                                ...           3 months ago
  • 33.0.38                                ...           3 months ago
  • 33.0.32                                ...           3 months ago
  • 33.0.14                                ...           3 months ago
  • 33.0.1                                ...           3 months ago
  • 32.0.39                                ...           3 months ago
  • 32.0.1                                ...           5 months ago
  • 31.0.29                                ...           5 months ago
  • 31.0.5                                ...           5 months ago
  • 31.0.1                                ...           6 months ago
  • 30.0.55                                ...           6 months ago
  • 29.0.73                                ...           7 months ago
  • 30.0.3                                ...           7 months ago
  • 30.0.1                                ...           7 months ago
  • 29.0.72                                ...           7 months ago
  • 29.0.68                                ...           7 months ago
  • 29.0.1                                ...           8 months ago
  • 28.0.54                                ...           8 months ago
  • 28.0.51                                ...           8 months ago
  • 28.0.48                                ...           8 months ago
  • 28.0.8                                ...           8 months ago
  • 28.0.1                                ...           9 months ago
  • 27.0.46                                ...           9 months ago
  • 27.0.29                                ...           9 months ago
  • 27.0.25                                ...           9 months ago
  • 27.0.24                                ...           9 months ago
  • 26.0.36                                ...           10 months ago
  • 27.0.1                                ...           10 months ago
  • 26.0.4                                ...           a year ago
  • 26.0.3                                ...           a year ago
  • 26.0.1                                ...           a year ago
  • 25.0.42                                ...           a year ago
  • 24.0.66                                ...           a year ago
  • 25.0.18                                ...           a year ago
  • 25.0.17                                ...           a year ago
  • 25.0.11                                ...           a year ago
  • 24.0.60                                ...           a year ago
  • 25.0.1                                ...           a year ago
  • 24.0.55                                ...           a year ago
  • 24.0.17                                ...           a year ago
  • 24.0.1                                ...           a year ago
  • 23.0.50                                ...           a year ago
  • 23.0.18                                ...           a year ago
  • 23.0.3                                ...           a year ago
  • 23.0.2                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 65
Dependencies (8)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |