1.0.0 • Published 9 years ago

node-matrix-asset-status v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

node-matrix-asset-status

Asset status helper for Squiz Matrix

Extracted using the SOAP API GetAllStatuses function.

Build Status js-standard-style

Usage

var status = require('node-matrix-asset-status')

node-matrix-asset-status provides a simple querying interface wich allows you to retrieve asset status codes with the following:

console.log(status('Live')) // 16
console.log(status('live')) // 16

In addition you can pass in a valid status code and get the status name back:

console.log(status(16)) // 'Live'

License

MIT