8000 Auto-generated commit · stdlib-js/ndarray-base-slice-to@528d8a2 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 528d8a2

Browse files
committed
Auto-generated commit
1 parent 5837e28 commit 528d8a2

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 sliceTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-base-slice-to@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-base-slice-to/tags). For example,
58+
5459
```javascript
5560
import sliceTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-base-slice-to@v0.2.2-esm/index.mjs';
5661
```
@@ -128,7 +133,7 @@ The function accepts the following arguments:
128133
import array from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-array@esm/index.mjs';
129134
import ndarray2array from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-to-array@esm/index.mjs';
130135
import zeroTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-zero-to@esm/index.mjs';
131-
import sliceTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-base-slice-to@v0.2.2-esm/index.mjs';
136+
import sliceTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/ndarray-base-slice-to@esm/index.mjs';
132137
133138
// Create a linear ndarray buffer:
134139
var buf = zeroTo( 27 );

0 commit comments

Comments
 (0)
0