Skip to content

Commit 6c2f143

Browse files
committed
Auto-generated commit
1 parent ea0e5a3 commit 6c2f143

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ limitations under the License.
5151

5252
## Usage
5353

54+
```javascript
55+
import countIf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-count-if@esm/index.mjs';
56+
```
57+
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/array-base-count-if/tags). For example,
58+
5459
```javascript
5560
import countIf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-count-if@v0.1.1-esm/index.mjs';
5661
```
@@ -126,7 +131,7 @@ var cnt = context.count;
126131
import discreteUniform from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-array-discrete-uniform@esm/index.mjs';
127132
var isPositiveInteger = require( 'https://cdn.jsdelivr.net/gh/stdlib-js/assert-is-positive-integer' ).isPrimitive;
128133
import naryFunction from 'https://cdn.jsdelivr.net/gh/stdlib-js/utils-nary-function@esm/index.mjs';
129-
import countIf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-count-if@v0.1.1-esm/index.mjs';
134+
import countIf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-count-if@esm/index.mjs';
130135
131136
var x = discreteUniform( 10, -5, 5, {
132137
'dtype': 'int32'

0 commit comments

Comments
 (0)