New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sane/command

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sane/command

Promisified api for shell commands and simple daemons

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@sane/command

Promisified api for shell commands and simple daemons.

Install

npm install @sane/command --save

Example

import { cmd, Daemon } from '@sane/service';

async function main() {
  let repoUrl = 'https://github.com/bls/node-sane-command.git'
  await cmd(['git', 'clone', repoUrl]);
  let gitd = new Daemon(['git', 'daemon', '/tmp']);
  await gitd.start();
  //
  // Code requiring local git daemon goes here...
  // 
  await gitd.stop();
}

main()

Compatibility

  • Requires Node >= v4.0.0

Release

  1. Bump up the version number in package.json
  2. Add a section for the new release in CHANGELOG.md
  3. Run prepublish and test npm scripts
  4. Commit
  5. Create a git tag for the new release and push it
  6. Run npm publish

Keywords

FAQs

Package last updated on 29 Mar 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

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