Skip to content

victorsferreira/ipol8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

To interpolate your variables into one string, just add the $ marks to the original string and pass each value as a parameter:

var i = require('ipol8');
var name = 'Porta8080';
var output = i('Hello, $ and welcome to $!',name,'Ipol8');

You can pass any number of parameters.

Alternatively, you can pass the values as an array to programatically make interpolations.

i('Hello, $ $',['John','Doe']);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published