New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

squish-squash

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

squish-squash

overrides a system or user command for for all child processes

latest
npmnpm
Version
1.0.6
Version published
Weekly downloads
5
25%
Maintainers
1
Weekly downloads
 
Created
Source

squish-squash

override a command for for all child processes

Codeship Status for cdaringe/squish-squash

install

npm install squish-squash [--save|--save-dev]

example

const ss = require('squish-squash');
// example of squashing system or user cmds with arbitrary command
ss({
    squash: 'node',
    cmdpath: '/path/to/my/other/node/or/Electron'
});

// examples of squashing system or user cmds with system commands
// when any process calls `more`, `less` will actually run
ss({
    squash: 'more',
    syscmd: 'less'
});
// prefer the silver-searcher over grep
ss({
    squash: 'grep',
    syscmd: 'ag'
});

why

Because sometimes you gotta. Use with caution!

todo

  • windoze support! if you know windows, it'd be great to get your input

Keywords

command

FAQs

Package last updated on 27 Apr 2016

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