- Node.js Web Development
- David Herron
- 70字
- 2021-06-25 21:54:04
Finding and loading CommonJS and JSON modules using require
We have talked about several types of modules: CommonJS, JSON, ES2015, and native code modules. All but the ES2015 modules are loaded using the require function. That function has a very powerful and flexible algorithm for locating modules within a directory hierarchy. This algorithm, coupled with the npm package management system, gives the Node.js platform a lot of power and flexibility.
推薦閱讀
- C及C++程序設計(第4版)
- 深度實踐OpenStack:基于Python的OpenStack組件開發
- Apache ZooKeeper Essentials
- R語言經典實例(原書第2版)
- Reactive Programming With Java 9
- MySQL數據庫基礎實例教程(微課版)
- Clojure Reactive Programming
- Mastering ROS for Robotics Programming
- C語言開發基礎教程(Dev-C++)(第2版)
- Linux C編程:一站式學習
- 智能手機APP UI設計與應用任務教程
- Apache Solr PHP Integration
- Less Web Development Cookbook
- HikariCP數據庫連接池實戰
- Swift從入門到精通 (移動開發叢書)