# node-matrix-asset-list

> A requireable object list of Squiz Matrix' core assets

Latest version **1.1.0** (published 2015-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-matrix-asset-list
pnpm add node-matrix-asset-list
yarn add node-matrix-asset-list
bun add node-matrix-asset-list
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-09-23 |
| First published | 2015-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Josh Gillies |
| Maintainers | joshgillies |
| Keywords | mysource, my, source, squiz, matrix, assets |

## Links

- npm: https://www.npmjs.com/package/node-matrix-asset-list
- Repository: https://github.com/joshgillies/node-matrix-asset-list
- Issues: https://github.com/joshgillies/node-matrix-asset-list/issues
- npm.io page: https://npm.io/package/node-matrix-asset-list

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2015-09-23
- 1.0.0 — 2015-09-23

## README

# node-matrix-asset-list

A requireable object list of Squiz Matrix' core assets.

Extracted using the [JS API getAssetTypes] function.

[![Build Status](https://travis-ci.org/joshgillies/node-matrix-asset-list.svg)](https://travis-ci.org/joshgillies/node-matrix-asset-list)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

# Usage

```js
var assets = require('node-matrix-asset-list');
```

`node-matrix-asset-list` provides a simple querying interface wich allows you to retrieve
asset info with the following:

```js
console.log(assets('page_standard').name); // asset type code
console.log(assets('Standard Page').name); // capital case name
console.log(assets('standard page').name); // lower case name

// all return 'Standard Page'
```

In addition you can require directly the entire assets object with:

```js
var assets = require('node-matrix-asset-list/assets');
```

with which you can select assets via their type code:

```js
console.log(assets['page_standard'].name);

// 'Standard Page'
```

# License

MIT

[JS API getAssetTypes]: http://manuals.matrix.squizsuite.net/web-services/chapters/javascript-api#getAssetTypes

---
_Source: https://npm.io/package/node-matrix-asset-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
