A Hain plugin is just a nodejs module. Plugin configuration is located in the package.json file.
hain-plugin-
?@=\/#
prefix
name
hain-0.6.0
{ "name": "hain-plugin-google", "author": "Heejin Lee", "version": "0.0.1", "keywords": [ "hain-0.6.0" ], "hain": { "prefix": "/g", "usage": "type /g something to google it", "icon": "#fa fa-google", "redirect": "/g " } }
Generated using TypeDoc
package.json Format
A Hain plugin is just a nodejs module. Plugin configuration is located in the package.json file.
hain-plugin-?@=\/#prefixOptionalnamevalue) Optionalhain-0.6.0for sharing your pluginExample package.json
{ "name": "hain-plugin-google", "author": "Heejin Lee", "version": "0.0.1", "keywords": [ "hain-0.6.0" ], "hain": { "prefix": "/g", "usage": "type /g something to google it", "icon": "#fa fa-google", "redirect": "/g " } }