Skip to content

Commit 65e602d

Browse files
committed
Update README.md for ESM bundle v0.2.1
1 parent ff605d5 commit 65e602d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

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

4444
```javascript
45-
import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@esm/index.mjs';
45+
import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@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 { sync } from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@esm/index.mjs';
51+
import { sync } from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@v0.2.1-esm/index.mjs';
5252
```
5353

5454
#### writeFile( file, data\[, options], clbk )
@@ -131,7 +131,7 @@ The function accepts the same `options` and has the same defaults as [`fs.writeF
131131
<!-- run-disable -->
132132

133133
```javascript
134-
import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@esm/index.mjs';
134+
import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@v0.2.1-esm/index.mjs';
135135
136136
// Explicitly handle the error...
137137
var err = writeFile.sync( '/path/to/file.txt', 'beep boop\n' );
@@ -158,7 +158,7 @@ The function accepts the same `options` and has the same defaults as [`fs.writeF
158158
<script type="module">
159159
160160
var join = require( 'path' ).join;
161-
import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@esm/index.mjs';
161+
import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@v0.2.1-esm/index.mjs';
162162
163163
var fpath = join( __dirname, 'examples', 'fixtures', 'file.txt' );
164164

0 commit comments

Comments
 (0)