Skip to content

metekamil/NodeJS-Meat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

NodeJS Meat

Installation

npm install nodejs-meat

Usage Example:

Required files
meat = require('./nodejs-meat');

Declaring variables
var meat, bones, food;

Add Bones
bones =" My name is {firstName} {lastName} ";

Add Food
food = { firstName : "Mete", lastName : "Kamil"};

Calling replacement function
meat = meat.process(bones,food);

Display results
console.log(meat);

Bones

bones =" My name is {firstName} {lastName} ";

Food

food = { firstName : "Mete", lastName : "Kamil" };

Output

My name is Mete Kamil

About

NodeJS HTML Template Engine

Resources

Stars

Watchers

Forks

Packages

No packages published