Comparing version 0.3.14 to 0.3.15
{ | ||
"name": "rejoinder", | ||
"version": "0.3.14", | ||
"version": "0.3.15", | ||
"description": "A generator of smart, pretty, and organized output for Node/JS scripts in the terminal", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -10,7 +10,8 @@ [![npm version](https://badge.fury.io/js/rejoinder.svg)](https://badge.fury.io/js/rejoinder) | ||
Rejoinder is a generator of smart, pretty, and organized output on the console for Node/JS scripts, with optimizations | ||
for executing shell commands. It leverages colors and the like using the [colors package](https://www.npmjs.com/package/colors) | ||
and makes life easier when executing CLI instructions with [shelljs](https://www.npmjs.com/package/shelljs). ShellJS and | ||
any CLI extensions are not required, however! Check out `lib/Echo/EmitStrategy` if you're curious :) | ||
Rejoinder is a generator of smart, pretty, and organized output on the console for Node/JS scripts, with optimizations for executing shell commands. | ||
It leverages colors and the like using the [colors package](https://www.npmjs.com/package/colors) and makes life easier when executing CLI instructions with [shelljs](https://www.npmjs.com/package/shelljs). | ||
ShellJS and any CLI extensions are not required, however! Check out `lib/Echo/EmitStrategy` if you're curious how it works :) | ||
Super awesome when paired with [inquirer](https://www.npmjs.com/package/inquirer) and/or [commander](https://www.npmjs.com/package/commander)! | ||
@@ -20,4 +21,2 @@ | ||
**Note that rejoinder requires Node.js version >=5.x (including ^6) but does NOT depend on use of the --harmony flag!** | ||
## Installation | ||
@@ -70,3 +69,4 @@ | ||
echo.withPrefix('~>', () => // ONLY the echo statements that appear inside of this function will have the aforesaid prefix | ||
// ONLY the echo statements that appear inside of this function will have the aforesaid prefix | ||
echo.withPrefix('~>', () => | ||
{ | ||
@@ -80,3 +80,5 @@ echo.now('or'); // prints "~>||or" | ||
echo.beVerbose = true; | ||
execute.now('return 0'); // prints the command and the result of executing it thanks to echo.beVerbose! See API.md for more information on how this works | ||
// prints the command and the result of executing it thanks to echo.beVerbose! See API.md for more information on how this works | ||
execute.now('return 0'); | ||
``` | ||
@@ -97,2 +99,3 @@ | ||
In lieu of a formal styleguide, take care to maintain the existing coding style. | ||
Add unit tests for any new or changed functionality. Lint and test your code. | ||
@@ -99,0 +102,0 @@ |
103
49398