@@ -6,18 +6,19 @@ usage throughout the script. In k6, it is possible to import three different kin
66
77## Importing modules
88
9- While writing test scripts, it 's common to import different modules, or part of modules, for
10- usage throughout the script. In k6, it is possible to import three different kinds of modules:
9+ It 's common to import modules, or parts of modules, to use in your test scripts.
10+ In k6, you can import three different kinds of modules:
1111
1212- [ Built-in modules] ( #built-in-modules )
1313- [ Local filesystem modules] ( #local-filesystem-modules )
1414- [ Remote HTTP(S) modules] ( #remote-http-s-modules )
1515
1616### Built-in modules
1717
18- These modules are provided through the k6 core, and gives access to the functionality built
19- into k6. This could, for instance, be the ` http ` client used for making requests against the
20- system under test. For a full list of built-in modules, see [ the API documentation] ( /javascript-api ) .
18+ k6 provides many built-in modules for core functionalities.
19+ For example, the ` http ` client make requests against the
20+ system under test.
21+ For the full list of built-in modules, refer to the [ the API documentation] ( /javascript-api ) .
2122
2223``` javascript
2324import http from ' k6/http' ;
@@ -26,8 +27,8 @@ import http from 'k6/http';
2627### Local filesystem modules
2728
2829These modules are stored on the local filesystem, and accessed either through relative
29- or absolute filesystem paths. For a module residing in the local filesystem to be compatible
30- with k6, the module itself may only use relative or absolute filesystem imports to access its
30+ or absolute filesystem paths. To make local filesystem modules compatible
31+ with k6, the module itself may use only relative or absolute filesystem imports to access its
3132dependencies.
3233
3334``` javascript
@@ -49,8 +50,8 @@ export default function () {
4950### Remote HTTP(S) modules
5051
5152These modules are accessed over HTTP(S), from a source like [ the k6 JSLib] ( #the-jslib-repository ) or
52- from any publicly accessible web server. The imported modules will be downloaded and executed at
53- runtime, making it extremely important to ** make sure the code is legit and trusted before including
53+ from any publicly accessible web server. The imported modules are downloaded and executed at
54+ runtime, making it extremely important to ** make sure you trust the code before including
5455it in a test script** .
5556
5657``` javascript
@@ -63,9 +64,9 @@ export default function () {
6364
6465### The JSLib repository
6566
66- ** JSLib** is a set of libraries known to play nicely with k6, and available at https://jslib.k6.io/ .
67+ ** JSLib** is a set of libraries known to work well with k6. It is available at https://jslib.k6.io/ .
6768
68- These libraries can either be downloaded and included with the test project or loaded directly using HTTP imports as shown above .
69+ These libraries can either be downloaded and included with the test project or loaded directly using HTTP imports.
6970
7071## Bundling node modules
7172
0 commit comments