Skip to content

Commit 74b13ce

Browse files
committed
Auto-generated commit
1 parent bbe4fbc commit 74b13ce

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 bernoulli from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@deno/mod.js';
46+
```
47+
The previous example will load the latest bundled code from the deno 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-bernoulli/tags). For example,
48+
4449
```javascript
4550
import bernoulli from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@v0.2.1-deno/mod.js';
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-bernoulli@v0.2.1-deno/mod.js';
56+
import { factory } from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@deno/mod.js';
5257
```
5358

5459
#### bernoulli( len, p\[, options] )
@@ -336,7 +341,7 @@ var sz = random.byteLength;
336341

337342
```javascript
338343
import logEach from 'https://cdn.jsdelivr.net/gh/stdlib-js/console-log-each@deno/mod.js';
339-
import bernoulli from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@v0.2.1-deno/mod.js';
344+
import bernoulli from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-bernoulli@deno/mod.js';
340345

341346
// Create a function for generating random arrays originating from the same state:
342347
var random = bernoulli.factory( 0.5, {

0 commit comments

Comments
 (0)