Monday, June 4, 2018

NODE JS



Node.js is a platform built on Chrome's JavaScript runtime for easily building fast and scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.?




NODE  -RPEL
Read 
Print 
Evaluate
Loop
_______________________________________________________________________________________________

Node Package Manager

C:\Users\lenovo\sample>npm version
{ npm: '5.6.0',
  ares: '1.10.1-DEV',
  cldr: '32.0',
  http_parser: '2.8.0',
  icu: '60.1',
  modules: '57',
  napi: '3',
  nghttp2: '1.29.0',
  node: '8.11.2',
  openssl: '1.0.2o',
  tz: '2017c',
  unicode: '10.0',
  uv: '1.19.1',
  v8: '6.2.414.54',

  zlib: '1.2.11' }
__________________________________________________________

Syntax :npm install <Module Name>  
Installing web framework
   :
npm install express       // local installation within node package
                                              npm install express -g  // global installation 
                                                    npm uninstall express   // uninstall  package
                                              npm search express     // to search node 
How to list down npm modules ?

C:\Users\lenovo\sample>npm ls
C:\Users\lenovo\sample
`-- (empty)
_________________________________________________________

https://www.javatpoint.com/nodejs-command-line-options ---------- check  this later
__________________________________





Node.js :Crypto

The Node.js Crypto module supports cryptography. It provides cryptographic functionality that includes a set of wrappers for open SSL's hash HMAC, cipher, decipher, sign and verify functions.



Node.js : Bower:

Web sites are made of lots of things — frameworks, libraries, assets, and utilities. Bower manages all these things for you.
Keeping track of all these packages and making sure they are up to date (or set to the specific versions you need) is tricky. Bower to the rescue!
Bower can manage components that contain HTML, CSS, JavaScript, fonts or even image files. Bower doesn’t concatenate or minify code or do anything else - it just installs the right versions of the packages you need and their dependencies.
To get started, Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you’re looking for. Bower keeps track of these packages in a manifest file, bower.json. How you use packages is up to you. Bower provides hooks to facilitate using packages in your tools and workflows.
Bower is optimized for the front-end. If multiple packages depend on a package - jQuery for example - Bower will download jQuery just once. This is known as a flat dependency graph and it helps reduce page load.
https://bower.io/

https://bower.io/

______________________________________________________________________________
Node.js : Karma:






_______________________________________________________________________________

Node.js : grunt



_______________________________________________________________________________

Node.js : jasmine

_______________________________________________________________________________

Node.js : Path :used to handle and transform files paths

https://www.javatpoint.com/nodejs-path
__________________________________________________________________________

_______________________________________________________________________________

Node.js File System (FS)


_______________________________________________________________________________


https://www.npmjs.com/package/request
_______________________________________________________________________________


https://colorlib.com/wp/npm-packages-node-js/


______________________________________________________________________


https://gist.github.com/anvaka/8e8fa57c7ee1350e3491


https://acodez.in/node-js-frameworks/
https://gist.github.com/anvaka/8e8fa57c7ee1350e3491

https://colorlib.com/wp/npm-packages-node-js/
https://colorlib.com/wp/npm-packages-node-js/









No comments:

Post a Comment