Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@nanoapp/nstd

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanoapp/nstd

the standard library of nanoapp.

npmnpm
Version
0.0.13
Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

nanoapp/nstd

nanoapp/nstd/shell

Exec

import { Exec } from '@nanoapp/nstd'
Exec("id --user --name", (msg) => {
      console.log("stdout output: ", msg)
}, (err) => { console.log("stderr output: ", err) })

Exec return a abnormal Promise, it keep the default promise method, like catch, then, finally . Except has the kill method. This service will canceled when kill execute.

nanoapp/nstd/dbus

nanoapp/nstd/socket

nanoapp/nstd/filesystem

  • 参考[afero][https://github.com/spf13/afero]的抽象接口。

nanoapp/nstd/os

Keywords

nanoapp

FAQs

Package last updated on 20 Oct 2020

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