2.0.1 • Published 7 years ago

apeman-service-base v2.0.1

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

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

ParamTypeDescription
args*

ApService Class

Abstract service

new ApService()

Constructor of ApService class

License

This software is released under the MIT License.

Links