This blog is just for revision .
Modules are way of organising reusable components
It is used to import core modules.It is a function that can be used to import symbols from another module to the current scope
Commonjs defines standards for modules, packages and unit testing.
Asynchronous
- Explain the version of a package in node js
- major
- minor
- patch
- pre major
- pre minor
- pre patch
- pre release
- What is the use of ~ and ^
- ~ matches the most recent patch version for the minor version
- ^ matches the most recent minor version of the major version
- What are modules
Modules are way of organising reusable components
- Core
- Local
- Third party
- What is the use of require()
It is used to import core modules.It is a function that can be used to import symbols from another module to the current scope
- What is commonjs
Commonjs defines standards for modules, packages and unit testing.
- What is AMD ?
Asynchronous
- Explain the parts of package.json
- name
- version
- license
- description
- Explain async functions
- Explain await
No comments:
Post a Comment