string-pipeline


License
MIT
Install
bower install string-pipeline

Documentation

String-pipeline

Install

$ npm install string-pipeline
$ component install alexeyraspopov/string-pipeline
$ bower install string-pipeline

API

TBD

Usage

formatters.slice = function(string, args){ return string.slice(args[0], args[1]); };

format(['trim', 'upper', 'slice 2'], '   hello world   '); // 'LLO WORLD'

License

MIT License (c) Alexey Raspopov