![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
A generator of smart, pretty, and organized output for Node/JS scripts in the terminal
rejoinder
/rɪˈdʒɔɪndə/
noun
a reply or response to a question or remark, esp a quick witty one; retort
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
and makes life easier when executing CLI instructions with shelljs. ShellJS and
any CLI extensions are not required, however! Check out lib/Echo/EmitStrategy
if you're curious :)
Super awesome when paired with inquirer and/or commander!
Also does children's parties.
Note that rejoinder requires Node.js version >=5.x (including ^6) but does NOT depend on use of the --harmony flag!
npm install rejoinder
If you want support from shelljs (required to use Execute
), install that too:
npm install shelljs
var rejoinder = require('rejoinder');
var echo = rejoinder.echo;
var execute = rejoinder.execute;
echo.now('output this very important warning to the console with pretty colors'.formatAsWarning());
echo.beVerbose = true;
echo.ifVerbose('Some debug message will appear');
echo.beVerbose = false;
echo.ifVerbose('Some debug message will not appear!');
echo.if(somethingistrue, 'I spit only the truth!'.formatAsSuccess());
echo.now('all', 'my', 'methods', 'are', 'also', 'variadic!');
echo.if(true, 'even', 'this', 'one :)');
echo.separator = '-';
echo.now('changed', 'the', 'game!');
echo.separator = ' ';
echo.prefix = 'Big:Boy:Time:';
echo.usingPredicate(function(str){ return `"${str}"`; }, 'the', 'time', 'for', 'fun and games is', 'over!');
echo.withPrefix('~>', function()
{
echo.now('or');
echo.now('is', 'it? I wonder.');
echo.withPostfix('NO', 'Wait!');
echo.withPostfix.action("Don't make me bring Execute into this...");
});
echo.beVerbose = true;
execute.now('return 0'); // prints the command and the result thanks to echo.beVerbose!
See API.md
npm test
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.
FAQs
A tiny library for creating gorgeous terminal output
We found that rejoinder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.