@balena/jellyfish-plugin-product-os
v8.0.1
Published
Product OS Jellyfish Plugin
Downloads
3,055
Readme
Notice: This utility has been discontinued. The contracts provided by this module have been merged into jellyfish-worker
.
Jellyfish productOS Plugin
Provides a set of contracts for adding productOS functionality to Jellyfish, such as loops.
Usage
Below is an example how to use this library:
import { productOsPlugin } from '@balena/jellyfish-plugin-product-os';
import { PluginManager } from '@balena/jellyfish-worker';
// Load contracts from this plugin
const pluginManager = new PluginManager([productOsPlugin()]);
const contracts = pluginManager.getCards();
console.dir(contracts);
Documentation
Visit the website for complete documentation: https://product-os.github.io/jellyfish-plugin-product-os
Testing
Unit tests can be easily run with the command npm test
.