Skip to content

Commit ec2b378

Browse files
committed
Auto-generated commit
1 parent b0533f0 commit ec2b378

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
@@ -41,6 +41,11 @@ limitations under the License.
4141

4242
## Usage
4343

44+
```javascript
45+
import replace from 'https://cdn.jsdelivr.net/gh/stdlib-js/string-replace@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/string-replace/tags). For example,
48+
4449
```javascript
4550
import replace from 'https://cdn.jsdelivr.net/gh/stdlib-js/string-replace@v0.2.2-deno/mod.js';
4651
```
@@ -92,7 +97,7 @@ var out = replace( str, /([^\s]+)/gi, replacer );
9297

9398
```javascript
9499
import capitalize from 'https://cdn.jsdelivr.net/gh/stdlib-js/string-capitalize@deno/mod.js';
95-
import replace from 'https://cdn.jsdelivr.net/gh/stdlib-js/string-replace@v0.2.2-deno/mod.js';
100+
import replace from 'https://cdn.jsdelivr.net/gh/stdlib-js/string-replace@deno/mod.js';
96101
97102
var out = replace( 'beep', 'e', 'o' );
98103
// returns 'boop'

0 commit comments

Comments
 (0)