Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atscm/transformer-help

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atscm/transformer-help

A transformer that generates help for displays and scripts

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@atscm/transformer-help

This module is still under development

A transformer that generates help for displays and scripts.

screenshot

Usage

This module is not yet published! You'll have to install it manually in the meantime: Install from source with npm i --save-dev github:atscm/transformer-help, then run npm install and npm run build inside it's directory.

  • Install the package with npm: npm i --save-dev @atscm/transformer-help.
  • Add it to your Atviseproject's transformers. (See ./example/Atviseproject.js for an example).
  • Run atscm push to generate help documents

Note that this will override any custom help documents.

How it works

atscm creates a json file for every display and script describing the parameters available. This transformer reads this information when running atscm push and creates an HTML help file for every node pushed.

Possible improvements

  • Add a custom description from a markdown file (e.g. src/AGENT/DISPLAYS/Main.display/help.md) to the generated help document.
  • Support multiple languages
  • Wrap the code to provide type-safe access to parameters. (Currently, when a parameter with name "test" is set to be a number, webMI.query.test is equal to "13" instead of 13)
  • Any ideas/thoughts? -> Create an issue

Keywords

FAQs

Package last updated on 09 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc