Skip to content

Commit e8e050c

Browse files
committed
Update README.md for ESM bundle v0.2.1
1 parent 825b86e commit e8e050c

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 reDirname from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-dirname@esm/index.mjs';
45+
import reDirname from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-dirname@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-dirname@esm/index.mjs';
51+
import { REGEXP, REGEXP_POSIX, REGEXP_WIN32 } from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-dirname@v0.2.1-esm/index.mjs';
5252
```
5353

5454
#### reDirname( \[platform] )
@@ -125,7 +125,7 @@ var dir = reDirname.REGEXP_WIN32.exec( 'C:\\foo\\bar\\index.js' )[ 1 ];
125125
<body>
126126
<script type="module">
127127
128-
import reDirname from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-dirname@esm/index.mjs';
128+
import reDirname from 'https://cdn.jsdelivr.net/gh/stdlib-js/regexp-dirname@v0.2.1-esm/index.mjs';
129129
var RE_DIRNAME = reDirname();
130130
var dir;
131131

0 commit comments

Comments
 (0)