Skip to content

Commit d3810b3

Browse files
committed
Auto-generated commit
1 parent 0b618d0 commit d3810b3

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 reUtf16SurrogatePair from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-surrogate-pair@esm/index.mjs';
46+
```
47+
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/regexp-utf16-surrogate-pair/tags). For example,
48+
4449
```javascript
4550
import reUtf16SurrogatePair from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-surrogate-pair@v0.2.2-esm/index.mjs';
4651
```
4752

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

5055
```javascript
51-
import { REGEXP } from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-surrogate-pair@v0.2.2-esm/index.mjs';
56+
import { REGEXP } from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-surrogate-pair@esm/index.mjs';
5257
```
5358

5459
#### reUtf16SurrogatePair()
@@ -87,7 +92,7 @@ var bool = reUtf16SurrogatePair.REGEXP.test( 'abc\uD800\uDC00def' );
8792
<body>
8893
<script type="module">
8994
90-
import reUtf16SurrogatePair from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-surrogate-pair@v0.2.2-esm/index.mjs';
95+
import reUtf16SurrogatePair from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-utf16-surrogate-pair@esm/index.mjs';
9196
9297
var RE_UTF16_SURROGATE_PAIR = reUtf16SurrogatePair();
9398

0 commit comments

Comments
 (0)