New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

productionprocessor

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

productionprocessor

This is the ProductionProcessor.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Production Processor

SEE LICENSE.TXT FOR LICENSING INFORMATION

The ProductionProcessor is simply a templating engine that converts variables to variable definitions.

Variables look like this: {{path/to/file}}

and

Variable definition are files inside of the Variables directory in the current directory.

NOTE!!! In the event you would like to use double curly brackets ({{/}}) then use {{ and it will automaticaly be replaced with double curly brackets at the end of the ProductionProcessor. i.e {{HelloWorld}} will be replaced with {{HelloWorld}}

CLI Usage:

To process index.html, login.html, and signup.html run this command: node ProductionProcessor.js index.html login.html signup.html.

For example:

index.html

<html>
<body>
	<h1>{{Text/WelcomeMessage}}</h1>
</body>
</html>

&

Variables/Text/WelcomeMessage

Hello, World!

Result:

<html>
<body>
	<h1>Hello, World!</h1>
</body>
</html>

FAQs

Package last updated on 22 Jun 2018

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