node-matrix-asset-status

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i node-matrix-asset-status

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • joshgillies