1.1.1 • Published 4 years ago
yassium v1.1.1
yassium
ES2015 Template Tag for Python-like format strings. Powered by Proxy
Installation
$ npm install yassium
Usage
const y = require("yassium");
const simplePlaceholder = y`hello ${y}`;
simplePlaceholder("world") === "hello world";
const nestedValue = y`my favorite number is ${y.lol.length}`;
nestedValue({ lol: ["something"] }) === "my favorite number is 1";