
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
shelljs-plugin-tr
Advanced tools
A ShellJS plugin for the tr() command.
$ npm install --save shelljs
$ npm install --save shelljs-plugin-tr
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
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.
FAQs
A tr plugin for ShellJS
The npm package shelljs-plugin-tr receives a total of 2 weekly downloads. As such, shelljs-plugin-tr popularity was classified as not popular.
We found that shelljs-plugin-tr 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.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.