Composer.json Schema have 24 Fields

  1. name
  2. description
  3. version
  4. type
  5. keywords
  6. homepage
  7. time
  8. license
  9. authors
  10. support
  11. Package links
    1. require
    2. require-dev (root-only)
    3. conflict
    4. replace
    5. provide
  12. suggest
  13. autoload
    1. PSR-4
    2. PSR-0
    3. Classmap
    4. Files
  14. autoload-dev (root-only)
  15. include-path
  16. target-dir
  17. minimum-stability (root-only)
  18. prefer-stable (root-only)
  19. repositories (root-only)
  20. config (root-only)
  21. scripts (root-only)
  22. extra
  23. bin
  24. archive

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");

AngularJS have 24 Services

  1. $anchorScroll
  2. $animate
  3. $cacheFactory
  4. $templateCache
  5. $compile
  6. $controller
  7. $document
  8. $exceptionHandler
  9. $filter
  10. $http
  11. $httpBackend
  12. $interpolate
  13. $interval
  14. $locale
  15. $location
  16. $log
  17. $parse
  18. $q
  19. $rootElement
  20. $rootScope
  21. $sceDelegate
  22. $sce
  23. $timeout
  24. $window

AngularJS have 24 Functions

  1. angular.lowercase
  2. angular.uppercase
  3. angular.forEach
  4. angular.extend
  5. angular.noop
  6. angular.identity
  7. angular.isUndefined
  8. angular.isDefined
  9. angular.isObject
  10. angular.isString
  11. angular.isNumber
  12. angular.isDate
  13. angular.isArray
  14. angular.isFunction
  15. angular.isElement
  16. angular.copy
  17. angular.equals
  18. angular.bind
  19. angular.toJson
  20. angular.fromJson
  21. angular.bootstrap
  22. angular.injector
  23. angular.element
  24. angular.module