New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ferrugemjs-node

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ferrugemjs-node

a node package to convert html template to Incremental DOM

  • 2.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ferrugemjs-node

a npm package to convert html to incremental dom

ferrugemjs-node

ferrugemjs-node is a simple node package to converte template HTML engine to google incremental-DOM.

NPM

Install

'npm install ferrugemjs-node --save-dev'

Usage
var ferrugemjs_node = require('ferrugemjs-node');//import the plugin
// your code here!!
ferrugemjs_node('<template><div>test</div></template>',<<options>>)
Options
	{
		templateExtension: ".html",
		env: "production" // default is "development"
	}

Usage as CLI

usage
node_modules/.bin/ferrugemjs-node-cli --name <comp-name>  --tpl '<raw html>'

eg.

node_modules/.bin/ferrugemjs-node-cli --name teste  --tpl '<template><div></div></template>'

License

MIT License

Keywords

FAQs

Package last updated on 23 May 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