Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Sankar Cherukuri9,837 Points
What is the Exact meaning and types & usage of Dependency in NPM?
Any One Provide me the details about dependencies in npm......
Jonathan GrieveTreehouse Moderator 90,825 Points
To me, a dependency is what it suggests... a package or component that is required for an npm package to run. It is a module or set of modules that another module uses. To install them simply install them in your command like the same way you would the main package.
Hope this makes sense. :)