8000 Auto-generated commit · stdlib-js/ndarray-dtype@1d5a05a · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d5a05a

Browse files
committed
Auto-generated commit
1 parent 08b83d9 commit 1d5a05a

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 dtype from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-dtype@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/ndarray-dtype/tags). For example,
58+
5459
```javascript
5560
import dtype from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-dtype@v0.2.2-esm/index.mjs';
5661
```
@@ -103,7 +108,7 @@ import zeros from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-zeros@esm/index
103108
import slice from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-slice@esm/index.mjs';
104109
import E from 'https://cdn.jsdelivr.net/gh/stdlib-js/slice-multi@esm/index.mjs';
105110
import S from 'https://cdn.jsdelivr.net/gh/stdlib-js/slice-ctor@esm/index.mjs';
106-
import dtype from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-dtype@v0.2.2-esm/index.mjs';
111+
import dtype from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-dtype@esm/index.mjs';
107112
108113
// Create an array:
109114
var x = zeros( [ 10, 10, 10, 10 ] );

0 commit comments

Comments
 (0)
0