node-matrix-asset-status
v1.0.0
Published
Asset status helper for Squiz Matrix
Downloads
2
Maintainers
Readme
node-matrix-asset-status
Asset status helper for Squiz Matrix
Extracted using the SOAP API GetAllStatuses function.
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