File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ additional setup or configuration.
138
138
139
139
var tests = require('./tests.js')
140
140
141
- Require a Native Module
142
- ~~~~~~~~~~~~~~~~~~~~~~~
141
+ Require a Built-In Module
142
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
143
143
144
- You can ``require()`` native Node modules (such as
144
+ You can ``require()`` built-in Node modules (such as
145
145
`fs <https://nodejs.org/api/fs.html#fs_file_system>`__) in the
146
146
|mdb-shell| without any additional setup or configuration.
147
147
@@ -157,10 +157,10 @@ You can ``require()`` native Node modules (such as
157
157
158
158
var fs = require('fs');
159
159
160
- Require a Non-Native Module
161
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
160
+ Require an NPM Module
161
+ ~~~~~~~~~~~~~~~~~~~~~
162
162
163
- To ``require()`` non-native Node modules (such as those downloaded from
163
+ To ``require()`` external Node modules (such as those downloaded from
164
164
`npm <https://www.npmjs.com/>`__) you must install the module globally
165
165
or to the ``node_modules`` directory in your current working directory.
166
166
@@ -170,7 +170,7 @@ directories, you can ``require()`` that package.
170
170
.. example::
171
171
172
172
Use one of the following commands to include the
173
- `moment <https://www.npmjs.com/package/moment>`__:
173
+ `moment <https://www.npmjs.com/package/moment>`__ module :
174
174
175
175
.. code-block:: javascript
176
176
You can’t perform that action at this time.
0 commit comments