@allanoricil/node-red-module-parser

1.0.0 • Public • Published

node-red-module-parser

Install

npm install node-red-module-parser

Useage

const nodeRedModule = require('node-red-module-parser')

let moduleInfo = nodeRedModule.examinModule('/path/to/module/dir')
let moduleInto = nodeRedModule.examinTar('/path/to/tar/file','/path/to/temp/dir/location')

Where the module dir is the directory that holds the package.json file for the node, or the tgz file is the output of npm pack or the packaged module downloaded from a npm repository.

moduleInfo is an augmented package.json with details of the node types, default values and icon information.s

Readme

Keywords

none

Package Sidebar

Install

npm i @allanoricil/node-red-module-parser

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

9.38 kB

Total Files

4

Last publish

Collaborators

  • allanoricil