You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chapter12/chapter12.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,17 @@ Chapter 12
2
2
----------
3
3
# Publishing Node.js Modules and Contributing to Open Source
4
4
5
-
One of the key factors that attributed to the rapid growth of the Node.js module ecosystem is its open-source nature and robust packaging systems (with registry). As of April 2013, JavaScript and Node.js had already surpassed any other language/platform in number of packages contributed per year ([source](http://caines.ca/blog/programming/the-node-js-community-is-quietly-changing-the-face-of-open-source/)): TK
5
+
One of the key factors that attributed to the rapid growth of the Node.js module ecosystem is its open-source nature and robust packaging systems (with registry). As of April 2013, JavaScript and Node.js had already surpassed any other language/platform in number of packages contributed per year ([source](http://caines.ca/blog/2013/04/13/the-node-dot-js-community-is-quietly-changing-the-face-of-open-source/)):
6
6
7
7
- Python: 1351 packages per year (29,720 packages in 22 years)
8
8
- Ruby: 3022 packages per year (54,385 packages in 18 years)
9
9
- Node.js: *6742 packages per year* (26,966 packages in 4 years)
10
10
11
-
This year’s (2014) numbers are even higher, and expectations are that, by mid 2014, Node.js will surpass other platforms, in absolute numbers, with Maven and Rubygems being the top dogs ([source](http://modulecounts.com/)).
11
+
This year’s (2018) numbers are even higher with npm having over 620,000 packages. That's more than half a million! As you can see from the chart take from <http://modulecounts.com>, Node's npm surpassed other platforms' package repositories in absolute numbers. Maven Central (Java) and Packagist (PHP) try to catch up but fail miserably. npm and Node are the top dogs.
12
+
13
+

14
+
***Figure 12-1.** Node's npm is dominating by the number of modules since mid 2014*
15
+
12
16
13
17
Other factors that attribute to the Node.js popularity include:
14
18
@@ -27,7 +31,7 @@ With this in mind, many Node.js enthusiasts find it rewarding to contribute to t
27
31
Recommended Folder Structure
28
32
============================
29
33
30
-
Here is an example of a good, structured npm module:
34
+
Here is an example of a good, structured npm module in which you have documentation, project manifest, starting file and a folder for dependencies:
0 commit comments