apeman-service-base
Abstract service
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apeman-service-base 
SYNC missed versions from official npm registry.

apeman-service-base

Build Status npm Version JS Standard

Abstract service

Installation

$ npm install apeman-service-base --save

Usage

#!/usr/bin/env node

'use strict'

const apemanstore = require('apemanstore')
const { ApService } = require('apeman-service-base')

{
  let store = apemanstore()
  let service = new ApService(store)

  service.set('foo', 'bar')
  console.log(service.get('foo'))
}

API

apeman-service-base@2.0.0

Abstract service

Functions

create(args) -> ApService

Create the service instance

Param Type Description
args *

ApService Class

Abstract service

new ApService()

Constructor of ApService class

License

This software is released under the MIT License.

Links

Current Tags

  • 2.0.1                                ...           latest (2 years ago)

22 Versions

  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.9                                ...           2 years ago
  • 1.1.8                                ...           2 years ago
  • 1.1.7                                ...           2 years ago
  • 1.1.6                                ...           2 years ago
  • 1.1.5                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |