Hardware Reference
In-Depth Information
TIP
Use the web browser on your host computer to visit npmjs.org . When you find packages you
want, go back to your Bone and use the npm install command to install them on the
Bone.
To see what Node.js packages are installed, run the following command:
bone# npm list -g | less
/usr/local/lib
├─┬ bonescript@0.2.4
│ ├─┬ epoll@0.0.7
│ │ └── nan@0.4.4
│ ├─┬ express@3.1.0
│ │ ├── buffer-crc32@0.1.1
│ │ ├── commander@0.6.1
│ │ ├─┬ connect@2.7.2
│ │ │ ├── bytes@0.1.0
│ │ │ ├── formidable@1.0.11
│ │ │ ├── pause@0.0.1
│ │ │ └── qs@0.5.1
...
The output provides a listing of what packages are installed (such as BoneScript) and
what packages they depend on. Here, bonescript depends on epoll , which depends
on nan , and so on.
Search WWH ::




Custom Search