North Pittsburgh Meatpackers

    shelljs-plugin-tr

    0.2.2 • Public • Published

    shelljs-plugin-tr

    Build Status npm shelljs-plugin

    A ShellJS plugin for the tr() command.

    Installation

    $ npm install --save shelljs
    $ npm install --save shelljs-plugin-tr

    Usage

    To use this plugin in your project, include it like so:

    var shell = require('shelljs');
    require('shelljs-plugin-tr');
    
    // Ex. usage:
    new shell.ShellString('some string').tr('-dc', 'aeiou'); // oei
    new shell.ShellString('message').tr('a-z', 'n-za-m'); // zrffntr

    Writing plugins

    If you're interested in taking a look at the current state of the plugin API, take a look at index.js. This has helpful comments explaining the necessary boilerplate for writing a plugin. For an example usage of the plugin, take a look at test/test.js.

    Install

    npm i shelljs-plugin-tr

    DownloadsWeekly Downloads

    4

    Version

    0.2.2

    License

    MIT

    Unpacked Size

    11.7 kB

    Total Files

    11

    Last publish

    Collaborators

    • nfischer