npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

matrix-app-config-helper

v0.2.2

Published

MatrixOS Application Configuration Helper Utility - Makes sure the config file is valid, and adds defaults.

Downloads

11

Readme

Matrix Configuration Utility

Hello, welcome to Matrix Configuration. This module helps to verify, construct and validate MatrixOS Application configurations.

We use YAML to make configuration easy for humans.

https://en.wikipedia.org/wiki/YAML

Bugs

https://github.com/matrix-io/matrix-app-config-helper/issues

Questions

http://community.matrix.one

Documentation

http://matrix-io.github.io/matrix-documentation

Ecosystem Touchpoints

  • Matrix OS - Used to provide runtime variables, initialize sensors, integrations and watch for CrossTalk events.
  • Dashboard - Used to Layout Dashboards, Provide widgets with formatted & filtered data, manage control events, provide display formatting information for widgets
  • MXSS - Used to generate schemas and potentially configure vision services
  • App Store - Images, icons, name, description, version, keywords
  • MVF - Config Services describes CV algorithms and parameters.
  • CLI - Matrix CLI can be used to view and modify the Firebase configuration

Configuration Lifecycle

When a MatrixOS application starts, by default it loads the Firebase configuration. If there is no config saved, MatrixOS reads from app.matrix/config.yaml, then parses, validates and populates the Firebase record. The population step is important because it expands the configuration and makes it more accessible for humans to write powerful code with simple configuration commands. Functionally, this means What is saved in Firebase WILL be slightly different from what is in config.yaml. So don't be surprised.

Meta information is stripped from config when an application is installed to deviceapps/ in firebase.

When a dashboard loads an application, it loads the configuration from Firebase.

When the CLI changes a configuration variable, it will restart the MatrixOS application.

Currently, you must manually delete an old application configuration from Firebase before loading a new one from config.yaml. Soon, there will be an CLI invalidate command of some sort to make this easier. matrix config appname -x

Development Note

To integrate new configuration features properly, they should be validated here first, then changes should be made to the MatrixOS and dashboard.

Testing

To use this codebase to test if you have a valid Configuration

node index.js test config.yaml

These are also exposed via the read() and validate() methods.

Configuration

Documentation: http://github.io/matrix-io/matrix-documentation/Configuration