NPM - what is entry points in npm init

0 votes
116 views
added Jul 11, 2019 in NPM by LC Marshal Captain (25,770 points)

Entry point is the javascript file that will be invoked when consumers of your module “require” it, this file will include the main logic for your module, or if it is a large module you can export public functions found with other files (typically in the lib directory) .src

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...