apeman-service-base

2.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i apeman-service-base

Weekly Downloads

19

Version

2.0.1

License

MIT

Last publish

Collaborators

  • okunishinishi