Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

isogrammify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isogrammify - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

lib/cli.js

5

package.json
{
"version": "1.0.2",
"version": "1.1.0",
"name": "isogrammify",

@@ -36,3 +36,4 @@ "description": "Substitute a function's parameters by the letters of any given word (isogram)",

"license": "Apache-2.0",
"main": "index.js",
"main": "lib/isogrammify.js",
"bin": "lib/cli.js",
"devDependencies": {

@@ -39,0 +40,0 @@ "istanbul": "^0.4.2",

25

README.md

@@ -21,3 +21,3 @@ # isogrammify

## Usage
## Usage in script

@@ -31,3 +31,3 @@ isogrammify takes three parameters,

### Examples
### Examples (scripting)

@@ -54,2 +54,23 @@ ```javascript

## Usage from command line
There is also a command-line interface, where isogrammify takes three arguments
* `inputFile` The filename of the JS program to transform. The file must contain a valid JavaScript program as [descibed above](#usage-in-script).
* `isogram` The string that the variables should be replaced by. Must be an _**isogram**_, that is a word without duplicate letters
* `outputFile` (optional) A filename to write the output file to. Can be the same as `inputFile`. If omitted, the output is written to the console.
### Examples (CLI)
```plain
$ npm install isogrammify
$ isogrammify foo.js HelLo
!function(H,e,l,L,o){…
$ isogrammify foo.js HelLo bar.js
Wrote 4242 bytes to "bar.js".
```
## Does it accept unicode characters?

@@ -56,0 +77,0 @@

'use strict';
const assert = require('assert');
const rename = require('../');
const rename = require('../lib/isogrammify');

@@ -6,0 +6,0 @@ describe('isogrammify', () => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc