Skip to content

Commit 5eaaef7

Browse files
committed
Auto-generated commit
1 parent 3081407 commit 5eaaef7

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 indexOf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-index-of@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-index-of/tags). For example,
58+
5459
```javascript
5560
import indexOf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-index-of@v0.2.0-esm/index.mjs';
5661
```
@@ -141,7 +146,7 @@ idx = indexOf( x, NaN, 0, true );
141146
<body>
142147
<script type="module">
143148
144-
import indexOf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-index-of@v0.2.0-esm/index.mjs';
149+
import indexOf from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-index-of@esm/index.mjs';
145150
146151
var x = [ 'foo', 'bar', 'beep', 'boop', 'foo', 'bar' ];
147152

0 commit comments

Comments
 (0)