Skip to content

Commit c08020a

Browse files
committed
Auto-generated commit
1 parent 17f1513 commit c08020a

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 exponential from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-base-exponential@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-base-exponential/tags). For example,
48+
4449
```javascript
4550
import exponential from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-base-exponential@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-base-exponential@v0.2.0-esm/index.mjs';
56+
import { factory } from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-base-exponential@esm/index.mjs';
5257
```
5358

5459
#### exponential( lambda )
@@ -387,7 +392,7 @@ var o = rand.toJSON();
387392
<body>
388393
<script type="module">
389394
390-
import exponential from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-base-exponential@v0.2.0-esm/index.mjs';
395+
import exponential from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-base-exponential@esm/index.mjs';
391396
392397
var seed;
393398
var rand;

0 commit comments

Comments
 (0)