Socket
Book a DemoInstallSign in
Socket

shelljs-plugin-tr

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shelljs-plugin-tr

A tr plugin for ShellJS

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
0
Created
Source

shelljs-plugin-tr

GitHub Actions 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.

Keywords

tr

FAQs

Package last updated on 09 Mar 2025

Did you know?

Socket

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.

Install

Related posts