Appendix A. Organizing Your Work
"The way to build a complex system that works is to build it from very simple systems that work." | ||
--Kevin Kelly |
Node's straightforward module management system encourages the development of maintainable codebases. The Node developer is blessed with a rich ecosystem of clearly defined packages with consistent interfaces that are easy to combine, typically delivered via npm. When developing both simple and complex solutions, the Node developer will often find many pieces of that system readymade, and can rapidly compose those open source modules into larger, consistent, and predictable systems.
Because the value of any one module can be multiplied by adding useful submodules, the Node module ecosystem has grown rapidly.
We will cover the details of how Node understands modules and module paths, how modules are defined, how to use modules in the npm package repository, and how to create and share new npm. By following...