GoConqr has a new look! Let us know what you think.

Flashcards

General Questions

Ben Parish NodeJS English 4 cards

Cards in this deck (4)

  1. 1What's the difference between a tilde (~) and a caret (^) in a npm package.json file?Major, minor and patch represent the different releases of a package.
    npm uses the tilde (~) and caret (^) to designate which patch and minor versions to use respectively.
    So if you see ~1.0.2 it means to install version 1.0.2 or the latest patch version such as 1.0.4. If you see ^1.0.2 it means to install version 1.0.2 or the latest minor or patch version such as 1.1.0.
  2. 2Explain how the Node event loop works?
  3. 3What is the difference between node and npm??
  4. 4What is the difference between require() and import?require is dynamic
    import is static

Information

Description
NodeJS Flashcards on General Questions, created by Ben Parish on 05/04/2019.
Created by
Ben Parish
Views
60
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?