
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
Perform tasks using the nircmd.exe utility.
Examples and documentation can be found here.
$ npm install --save nircmd
var nircmd = require('nircmd');
nircmd('clipboard set "hey everybody"', function (err) {
console.log('Copied to clipboard')
});
$ npm install --global nircmd
$ nircmd --help
Examples
$ nircmd killprocess firefox.exe
$ nircmd clipboard set github.com
Required
Type: string or array
Either a string with the command or an array with the command (one argument per value).
Type: object
Options to be passed on to child_process.execFile().
Type: function
Callback that usually returns nothing but a possible exception.
Required
Type: string or array
Either a string with the command or an array with the command (one argument per value).
Type: object
Options to be passed on to child_process.spawn().
MIT © gillstrom
FAQs
Perform tasks using the nircmd.exe utility.
We found that nircmd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.