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

node-shell-async

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-shell-async

Node Shell Asynch

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Node Shell Async

You can use shell command in Node.js

Getting Started

Install
$ npm i --save node-shell-async
Usage
const NSH = require('node-shell-script');

const nsh = new NSH();
nsh.date().then((data) => console.log(data));
/// 2019년 10월  9일 수요일 14시 40분 20초 KST

API

  • date
    • show current date and time
  • cal
    • show calendar with current date
  • df
    • show disk information and available storage
  • pwd (Print Working Directory)
    • show curent working directory
  • ls
    • show file and sub directories of current directory
  • file
    • show file type
  • less
    • show file content as text of ASCII typew

/* File System */

  • cp
    • copy file

TODO

  • free
    • show memory information
    • command not found

Keywords

FAQs

Package last updated on 09 Oct 2019

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