Skip to content

Commit da5a898

Browse files
committed
Auto-generated commit
1 parent 1e3bc29 commit da5a898

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 oneTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-one-to@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/array-base-one-to/tags). For example,
48+
4449
```javascript
4550
import oneTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-one-to@v0.2.2-deno/mod.js';
4651
```
4752

4853
You can also import the following named exports from the package:
4954

5055
```javascript
51-
import { assign } from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-one-to@v0.2.2-deno/mod.js';
56+
import { assign } from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-one-to@deno/mod.js';
5257
```
5358

5459
#### oneTo( n )
@@ -111,7 +116,7 @@ var bool = ( arr === out );
111116
import sort2hp from 'https://cdn.jsdelivr.net/gh/stdlib-js/blas-ext-base-gsort2hp@deno/mod.js';
112117
import filledBy from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-filled-by@deno/mod.js';
113118
import randu from 'https://cdn.jsdelivr.net/gh/stdlib-js/random-base-randu@deno/mod.js';
114-
import oneTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-one-to@v0.2.2-deno/mod.js';
119+
import oneTo from 'https://cdn.jsdelivr.net/gh/stdlib-js/array-base-one-to@deno/mod.js';
115120

116121
// Generate an array of random numbers:
117122
var x = filledBy( 10, randu );

0 commit comments

Comments
 (0)