@vivoil/asset-service

0.0.2 • Public • Published

asset-service

Fornisce api per la registrazione di un nuovo asset, la modifica del suo stato e l'interrogazione dello stato di un asset.

##INSTALL

npm install @vivoil/assert-service

Usage

const assetService = require('@vivoil/asset-service')

var service = assetService()

Adding an asset

service.add({name}[, callback])

Updating an asset

service.update({id, state}[, callback])

Queryiung an asset state

service.query({id}[, callback])

Readme

Keywords

none

Package Sidebar

Install

npm i @vivoil/asset-service

Weekly Downloads

0

Version

0.0.2

License

UNLICENSED

Last publish

Collaborators

  • vivoil