Skip to content

Commit 3f91956

Browse files
(DOCSP-17438): Use 'built-in' instead of 'native' module (#127)
* (DOCSP-17438): Use 'built-in' instead of 'native' module * updates per review
1 parent 9e2243f commit 3f91956

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/write-scripts.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ additional setup or configuration.
138138

139139
var tests = require('./tests.js')
140140

141-
Require a Native Module
142-
~~~~~~~~~~~~~~~~~~~~~~~
141+
Require a Built-In Module
142+
~~~~~~~~~~~~~~~~~~~~~~~~~
143143

144-
You can ``require()`` native Node modules (such as
144+
You can ``require()`` built-in Node modules (such as
145145
`fs <https://nodejs.org/api/fs.html#fs_file_system>`__) in the
146146
|mdb-shell| without any additional setup or configuration.
147147

@@ -157,10 +157,10 @@ You can ``require()`` native Node modules (such as
157157

158158
var fs = require('fs');
159159

160-
Require a Non-Native Module
161-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
160+
Require an NPM Module
161+
~~~~~~~~~~~~~~~~~~~~~
162162

163-
To ``require()`` non-native Node modules (such as those downloaded from
163+
To ``require()`` external Node modules (such as those downloaded from
164164
`npm <https://www.npmjs.com/>`__) you must install the module globally
165165
or to the ``node_modules`` directory in your current working directory.
166166

@@ -170,7 +170,7 @@ directories, you can ``require()`` that package.
170170
.. example::
171171

172172
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:
174174

175175
.. code-block:: javascript
176176

0 commit comments

Comments
 (0)