apeman-demo-service
Demo of service projects
Last updated 8 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-demo-service 
SYNC missed versions from official npm registry.

apeman-demo-service

Build Status npm Version JS Standard

Demo of service projects

Installation

$ npm install apeman-demo-service --save

Usage

#!/usr/bin/env node

'use strict'

const { DemoService } = require('apeman-demo-service')
const { createStore } = require('redux')
const { reducer } = require('apeman-service-base')
const co = require('co')

co(function * () {
  let store = createStore(reducer)
  let service = new DemoService(store)


}).catch((err) => console.error(err))

API

apeman-demo-service@1.1.1

Demo of service projects

Functions

create(args) -> DemoService

Create the service instance

Param Type Description
args *

DemoService Class

Service

new DemoService(store, options)

Constructor of DemoService class

Param Type Description
store Object Redux store
options Object Optional settings

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (4)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |