What is "entry point" in npm init

Quoting from this blog post:

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)

So it should be your app.js file.


For any project, entry point is the file from which execution starts. It depends on project configuration and run time environment of the technology we are using.

Examples : For a node.js project app.js is used initializes the app and glues everything together.