1.0.4 • Published 10 years ago

cmd-wrap v1.0.4

Weekly downloads
3
License
Unlicensed
Repository
github
Last release
10 years ago

cmd-wrap Code Climate deps

Wrap stdin.

$ npm isntall -g cmd-wrap

Usage

$ echo <string> | wrap <before> <after>

Example

$ cat index.js | wrap ";(function($){" "})(jQuery);"

Can serve as a replacement for closurecompiler’s --output_wrapper.

NPM