Composer have 28 Commands and 9 Options

Usage:
[options] command [arguments]

Options:

  1. --help, -h
  2. --quiet, -q
  3. --verbose, -v|vv|vvv
  4. --version, -V
  5. --ansi
  6. --no-ansi
  7. --no-interaction, -n
  8. --profile
  9. --working-dir, -d
Commands:
  1. about
  2. archive
  3. browse
  4. clear-cache
  5. clearcache
  6. config
  7. create-project
  8. depends
  9. diagnose
  10. dump-autoload
  11. dumpautoload
  12. global
  13. help
  14. home
  15. init
  16. install
  17. licenses
  18. list
  19. remove
  20. require
  21. run-script
  22. search
  23. self-update
  24. selfupdate
  25. show
  26. status
  27. update
  28. validate

Composer Install on Mac

via Terminal (local)
curl -s http://getcomposer.org/installer | php
or
php -r "readfile('https://getcomposer.org/installer');" | php

via Terminal (global)

curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer

via Homebrew (global)
brew update
brew tap homebrew/dupes
brew tap homebrew/php
brew install composer

run (local)
php composer.phar install

run (global)
composer install

NPM Package.json have 37 properties

  1. name
  2. version
  3. description
  4. keywords
  5. homepage
  6. bugs
  7. license
  8. people fields: author, contributors
  9. files
  10. main
  11. bin
  12. man
  13. directories
  14. directories.lib
  15. directories.bin
  16. directories.man
  17. directories.doc
  18. directories.example
  19. repository
  20. scripts
  21. config
  22. dependencies
  23. URLs as Dependencies
  24. Git URLs as Dependencies
  25. GitHub URLs
  26. Local Paths
  27. devDependencies
  28. peerDependencies
  29. bundledDependencies
  30. optionalDependencies
  31. engines
  32. engineStrict
  33. os
  34. cpu
  35. preferGlobal
  36. private
  37. publishConfig

NPM have 46 Commands

npm -h
npm -l
npm faq
npm help
npm help npm

  1. adduser
  2. bin
  3. bugs
  4. cache
  5. completion
  6. config
  7. dedupe
  8. deprecate
  9. docs
  10. edit
  11. explore
  12. faq
  13. get
  14. help
  15. help-search
  16. init
  17. install
  18. link
  19. ls
  20. outdated
  21. owner
  22. pack
  23. prefix
  24. prune
  25. publish
  26. rebuild
  27. repo
  28. restart
  29. root
  30. run-script
  31. search
  32. set
  33. shrinkwrap
  34. star
  35. stars
  36. start
  37. stop
  38. submodule
  39. tag
  40. test
  41. uninstall
  42. unpublish
  43. update
  44. version
  45. view
  46. whoami

Node.js have 34 Libraries

  1. Assertion Testing
  2. Buffer
  3. C/C++ Addons
  4. Child Processes
  5. Cluster
  6. Console
  7. Crypto
  8. Debugger
  9. DNS
  10. Domain
  11. Events
  12. File System
  13. Globals
  14. HTTP
  15. HTTPS
  16. Modules
  17. Net
  18. OS
  19. Path
  20. Process
  21. Punycode
  22. Query Strings
  23. Readline
  24. REPL
  25. Stream
  26. String Decoder
  27. Timers
  28. TLS/SSL
  29. TTY
  30. UDP/Datagram
  31. URL
  32. Utilities
  33. VM
  34. ZLIB

Express.js Hello World

var express = require('express');
var app = express();

app.get('/', function (req, res) {
    res.send('Hello World.');
});

var server = app.listen(3000, function () {
    var host = server.address().address;
    var port = server.address().port;
    console.log('app listening at http://%s:%s', host, port);
});

Node.js HTTP Server

var http = require('http');
var server = http.createServer(function onRequest(req, res) {
    res.writeHead(200, { 'Content-Type': 'text/plain'});
    res.write('HTTP Server response.');
    res.end();
}).listen(3000);
console.log("Server is listening on 3000");