1.0.1 • Published 10 years ago

curb v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

curb NPM version

Inline string templating for Node.

$ npm install curb

Quickly render a string inline

Curb is intended for very quick and simple inline string renders and only uses %s as a delimiter.

var str = require('curb');
str('Hello %s!', 'World'); //=> Hello World!
str('$%s.%s', 3, 50); //=> $3.50