Embedded Linux
  • Cover
  • Summary
  • About This Training
    • Objectives
    • Skills
    • Prerequisites
    • Requirements
  • Once Upon A Time ...
  • Embedded Linux
  • Build Systems
    • Yocto Board Support Package
      • Yocto
      • Compilation
        • Make
        • Bitbake
        • Script
      • Building Blocks
      • SDK
      • Extra Packages
      • Kernel
        • Patch
        • Building
        • Headers
      • Modules
        • Cross Compilation
        • Native
      • Filesystem
      • Flashing
    • Distributions
      • CentOS
      • Google Brillo
      • Jubilinux
      • Kali
      • Ostro
      • Ubilinux
      • Debian
  • Boot Loaders
    • U-Boot
  • Initialization
    • Upgrade
    • Boot Up
    • Dual Boot
    • Root Directory
    • Display Message
    • Modules
    • Filesystem
    • Memory
    • Backup
    • Recovery
    • Reboot
    • Processes
  • User Space
    • Virtual Network Computing
    • Text Editors
    • Services
    • Logs
    • Package Management Systems
      • Open Package Management
      • Python Package Index
      • Nicely Package Make
      • Advanced Packaging Tool
      • Manual
      • Conda
    • Libraries
      • Mraa
      • Upm
      • OpenCv
      • Temboo
      • Libiio
    • Frameworks
      • Cylon JS
      • Johnny Five
      • ROS
      • Gobot
      • Pixhawk
      • Artoo
      • Bower
      • Zetta
      • Miscellaneous
  • Subsystems
    • X File Systems
    • Pin Muxing
    • Virtual File System
    • Memory
    • Input
    • General Purpose Input Output
    • Serial
    • Bluetooth
      • Advanced Audio Distribution Profile
        • Bluez
        • Gstreamer
        • Alsa
      • Human Interface Device Game Controller
      • Serial Port Protocol
      • Arduino
    • WiFi
    • Audio
    • Camera
    • Block
    • Universal Serial Bus
      • Human Interface Device Mini Keyboard
      • Python USB
    • Inter Integrated Circuit
    • Inter Process Communication
    • Peripheral Component Interconnect
    • Clock
    • Modems
    • Networking
    • Power
    • Thermal
    • Graphics
    • LED
    • LIDAR
    • Printer
    • Serial Peripheral Interface
  • Application Development
    • C
    • C++
    • Cross Compile
    • Containers
    • Python
    • NodeJS
    • Cloud9
    • Data
    • Drone Code
    • Speech
      • Python
    • Radio Frequency
    • Bots
    • Artificial Intelligence
      • WitAi
      • MycroftAi
    • Games
    • Vision
      • Bar Codes
      • Google Cloud Vision API
    • Messaging
    • Entertainment
    • Home Assistants
    • Dashboards
    • IRC
    • Location
    • Facial Recognition
    • Software Defined Radio
    • REST
    • Notes
    • Security
    • HAM Radio
    • Automotive
    • Digital Signage
    • Photography
  • Debug
  • Wrap-Up
    • Online Training
    • Challenge
    • Tbd
  • SandBox
Powered by GitBook
On this page
  • Nicely Package Make
  • Update Npm
  • Install Npm Package
  1. User Space
  2. Package Management Systems

Nicely Package Make

PreviousPython Package IndexNextAdvanced Packaging Tool

Last updated 7 years ago

Nicely Package Make

npm makes it easy for JavaScript developers to share and reuse code, and it makes it easy to update the code that you're sharing.

Update Npm

root@edison:~# npm install npm -g
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-s
npm@3.8.3 /usr/lib/node_modules/npm

Install Npm Package

root@edison:~# npm install mqtt -g
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\-\|/-\|/-\|/-\|/-\|/-\|-\|/-\|/-\|/-\|/-\|/--\|/-\|/-\|/-\|/usr/bin/mqtt_pub -> /usr/lib/nos
/usr/bin/mqtt_sub -> /usr/lib/node_modules/mqtt/bin/sub.js
/usr/bin/mqtt -> /usr/lib/node_modules/mqtt/mqtt.js
mqtt@1.7.4 /usr/lib/node_modules/mqtt
��├��─��─ inherits@2.0.1
��├��─��─ reinterval@1.0.2
��├��─��─ xtend@4.0.1
��├��─��─ minimist@1.2.0
��├��─��─ commist@1.0.0 (leven@1.0.2)
��├��─��─ end-of-stream@1.1.0 (once@1.3.3)
��├��─��─ mqtt-connection@2.1.1 (through2@0.6.5, reduplexer@1.1.0)
��├��─��─ readable-stream@1.0.33 (isarray@0.0.1, string_decoder@0.10.31, core-util-is@1.0.2)
��├��─��─ mqtt-packet@3.4.6 (bl@0.9.5)
��├��─��─ help-me@0.1.0 (pump@1.0.1)
��├��─��─ concat-stream@1.5.1 (typedarray@0.0.6, readable-stream@2.0.6)
��└��─��─ websocket-stream@3.1.0 (ws@1.0.1, through2@2.0.1, duplexify@3.4.3)
root@edison:~# mqtt sub -t 'hello' -h 'test.mosquitto.org' -v &
[2] 653
root@edison:~# mqtt pub -t 'hello' -h 'test.mosquitto.org' -m 'from MQTT.js'
hello coolbjhbjbjkbm m m 
hello from MQTT.js
NPM JS Homepage
Npm Getting Started