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

easycp

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

easycp

Easy child process

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

easycp

GitHub stars

Easy child process

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Promise based
  • Works with i/o

Installation

npm install --save easycp

Dependencies

Usage

import easycp, { readcp, silentcp } from 'easycp';

// streams to stdout and process returned
easycp('echo hello world').then(process => console.log(process)); // [object Object]

// alternative syntax
easycp('echo', ['hello', 'world']).then(process => console.log(process)); // [object Object]

// streams to stdout (stderr silenced) and process returned
easycp('echo', ['hello', 'world'], { stderr: false }).then(process => console.log(process)); // [object Object]

// stream silenced and process returned
silentcp('echo hello world').then(process => console.log(process)); // [object Object]

// stream silenced and returned as result
readcp('echo hello world').then(result => console.log(result)); // hello world

Support

Submit an issue

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons

FAQs

Package last updated on 21 Apr 2018

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