Socket
Book a DemoInstallSign in
Socket

nircmd

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nircmd

Perform tasks using the nircmd.exe utility.

Source
npmnpm
Version
1.1.2
Version published
Weekly downloads
101
-36.48%
Maintainers
1
Weekly downloads
 
Created
Source

nircmd

Perform tasks using the nircmd.exe utility.

Examples and documentation can be found here.

Install

$ npm install --save nircmd

Usage

var nircmd = require('nircmd');

nircmd('clipboard set "hey everybody"', function (err) {
	console.log('Copied to clipboard')
});

CLI

$ npm install --global nircmd
$ nircmd --help

	Examples
	  $ nircmd killprocess firefox.exe
	  $ nircmd clipboard set github.com

API

nircmd(input, callback)

input

Required
Type: string or array

Either a string with the command or an array with the command (one argument per value).

callback(err, res)

Type: function

Callback that usually returns nothing but a possible exception.

License

MIT © gillstrom

Keywords

cli

FAQs

Package last updated on 15 Jul 2015

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