2.0.1 • Published 9 years ago

apeman-proto-spawn v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

apeman-proto-spawn

Build Status Code Climate Code Coverage npm Version

Prototype for spawning apps.

Installation

$ npm install apeman-proto-spawn --save

Usage

/** This is an example Apemanfile.js */

'use strict'

module.exports = {
  $ctx: {
    spawnRoutes: {
      '/api/my-plugin': {
        cmd: 'node',
        cmdArgs: '_my_cmd_script_path',
        proxy: { host: 'localhost', port: 3000 }
      }
    }
  },
  $pkg: { /* ... */ },
  $proto: [
    // Inherit apeman-proto-spawn project.
    require('apeman-proto-spawn')
  ],
  $tmpls: { /* ... */ },
  $tasks: { /* ... */ }
}

Apemanfile Configurations

$pkg

NameValue
nameapeman-proto-spawn
version2.0.1
descriptionPrototype for spawning apps.

$proto

$apps

NameDescription
spawn:handle{}

$needs

BinHow to install
apemannpm install -g apeman

License

This software is released under the MIT License.

Links

2.0.1

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago