Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "ipol8", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Easy way to interpolate strings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,5 +6,7 @@ To interpolate your variables into one string, just add the **$** marks to the original string and pass each value as a parameter: | ||
var name = 'Porta8080'; | ||
var output = i('Hello, $',name); | ||
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. | ||
@@ -11,0 +13,0 @@ |
1146
16