Skip to content

Commit 9b5f308

Browse files
committed
Update README.md for ESM bundle v0.2.1
1 parent e3af7f8 commit 9b5f308

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ limitations under the License.
4242
## Usage
4343

4444
```javascript
45-
import reFilename from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-filename@esm/index.mjs';
45+
import reFilename from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-filename@v0.2.1-esm/index.mjs';
4646
```
4747

4848
You can also import the following named exports from the package:
4949

5050
```javascript
51-
import { REGEXP, REGEXP_POSIX, REGEXP_WIN32 } from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-filename@esm/index.mjs';
51+
import { REGEXP, REGEXP_POSIX, REGEXP_WIN32 } from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-filename@v0.2.1-esm/index.mjs';
5252
```
5353

5454
#### reFilename( \[platform] )
@@ -159,7 +159,7 @@ var parts = reFilename.REGEXP_WIN32.exec( 'C:\\foo\\bar\\index.js' ).slice();
159159
<body>
160160
<script type="module">
161161
162-
import reFilename from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-filename@esm/index.mjs';
162+
import reFilename from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-filename@v0.2.1-esm/index.mjs';
163163
var RE_FILENAME = reFilename();
164164
165165
// Assuming a POSIX platform...

0 commit comments

Comments
 (0)