strings

String replacement and transformation library.

npm install strings
12 downloads in the last day
96 downloads in the last week
404 downloads in the last month

Strings NPM version

Powerful and easy-to-use string generation and transformation library.

Please report any bugs or feature requests, thanks!

Install

npm

npm i strings --save

bower

bower install strings --save

Getting started

Main concepts:

  1. structures: a sort of template that tells Strings how to assemble your data into a formatted string.
  2. patterns: patterns tell Strings how to parse and tokenize structures. Patterns may be simple strings or RegExp.
  3. data: data source that Strings will use to replace the tokens into the provided structure
  4. replacements: 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

npm loves you