Skip to content

Latest commit

 

History

History
87 lines (62 loc) · 3.9 KB

index.md

File metadata and controls

87 lines (62 loc) · 3.9 KB
layout title
default
npkg - packages for node-os, powered by npm

core packages

unless otherwise noted, packages here should be treated as experimental

command-line

command line modules expose executables placed onto your PATH

  • bin-npkg — the official node-os package/service binary

  • bin-nsh — simple node shell

  • wssh — websocket powered remote shell client

  • bin-manman command that uses README.md files

  • bin-term-extras — shell goodies like clear

  • bin-ifconfigifconfig replacement

  • bin-fs — common shell goodies like ls, rm, and mv

  • bin-route — set the default IP route

  • bin-shutdown — issue system shutdown and reboot commands

  • bin-mount — mount file systems

  • bin-getty — getty replacement

  • findmynode — mDNS service discovery for wssh

    install command-line executables with npkg install e.g.

    $ npkg install wssh
    $ wssh 192.168.2.10

services

services define long-running daemons

  • svc-init — the official node-os init daemon

  • wssh — websocket powered remote shell server

    install and start services with npkg install and npkg start e.g.

    $ npkg install wssh
    $ npkg start wssh

libraries

libraries are node modules which get required into other module

  • lib-supervise — child-process supervision library

  • lib-config — hierarchical config file loading

  • lib-cmdparse — parse shell commands

  • lib-pathsearch stable — return all the files available in a series of paths

  • lib-pathcomplete stable — help auto-complete file paths

  • node-pathchop stable — better dirname/basename

    libraries are typical node modules, you require them e.g.

    var supervise = require('lib-supervise');

sources

sources are compiled module, typically c++ code, with a javascript interface

  • src-ifaddrs — network interface syscalls

  • src-mount — mount syscalls

  • src-ioctl — ioctl interface

  • src-errno — errno interface

  • src-reboot — reboot and shutdown syscalls

    sources are also node modules that must be required e.g.

    var mount = require('src-mount');

community packages

cool npm packages to try on node-os