8000 Auto-generated commit · stdlib-js/random-array-mt19937@c66e9fb · GitHub
[go: up one dir, main page]

Skip to content

Commit c66e9fb

Browse files
committed
Auto-generated commit
1 parent 3a6ca0e commit c66e9fb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,19 @@ limitations under the License.
4141

4242
## Usage
4343

44+
```javascript
45+
import mt19937 from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-mt19937@esm/index.mjs';
46+
```
47+
The previous example will load the latest bundled code from the esm branch. Alternatively, you may load a specific version by loading the file from one of the [tagged bundles](https://github.com/stdlib-js/random-array-mt19937/tags). For example,
48+
4449
```javascript
4550
import mt19937 from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-mt19937@v0.2.0-esm/index.mjs';
4651
```
4752

4853
You can also import the following named exports from the package:
4954

5055
```javascript
51-
import { factory } from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-mt19937@v0.2.0-esm/index.mjs';
56+
import { factory } from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-mt19937@esm/index.mjs';
5257
```
5358

5459
#### mt19937( len\[, options] )
@@ -257,7 +262,7 @@ var sz = mt19937.byteLength;
257262
<script type="module">
258263
259264
import logEach from 'https://cdn.jsdelivr.net/gh/stdlib-js/console-log-each@esm/index.mjs';
260-
import mt19937 from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-mt19937@v0.2.0-esm/index.mjs';
265+
import mt19937 from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-mt19937@esm/index.mjs';
261266
262267
// Create a function for generating random arrays originating from the same state:
263268
var random = mt19937.factory({

0 commit comments

Comments
 (0)
0