Strings
Powerful and easy-to-use string generation and transformation library.
Please report any bugs or feature requests, thanks!
Install
npm i strings --save
bower install strings --save
Getting started
Main concepts:
structures
: a sort of template that tells Strings how to assemble your data into a formatted string.patterns
: patterns tell Strings how to parse and tokenize structures. Patterns may be simple strings or RegExp.data
: data source that Strings will use to replace the tokens into the provided structurereplacements
: string or function used to tranform the data
(TODO)
API
(TODO)
middleware
(TODO)
Author
Brian Woodward
License
Copyright (c) 2014 Brian Woodward, contributors.
Released under the MIT license