File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ limitations under the License.
42
42
## Usage
43
43
44
44
``` javascript
45
- import writeFile from ' https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@deno/mod.js' ;
45
+ import writeFile from ' https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@v0.2.2- deno/mod.js' ;
46
46
```
47
47
48
48
You can also import the following named exports from the package:
49
49
50
50
``` javascript
51
- import { sync } from ' https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@deno/mod.js' ;
51
+ import { sync } from ' https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@v0.2.2- deno/mod.js' ;
52
52
```
53
53
54
54
#### writeFile( file, data\[ , options] , clbk )
@@ -131,7 +131,7 @@ The function accepts the same `options` and has the same defaults as [`fs.writeF
131
131
<!-- run- disable -->
132
132
133
133
` ` ` javascript
134
- import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@deno/mod.js';
134
+ import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@v0.2.2- deno/mod.js';
135
135
136
136
// Explicitly handle the error...
137
137
var err = writeFile.sync( '/path/to/file.txt', 'beep boop\n ' );
@@ -153,7 +153,7 @@ The function accepts the same `options` and has the same defaults as [`fs.writeF
153
153
154
154
` ` ` javascript
155
155
var join = require( 'path' ).join;
156
- import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@deno/mod.js';
156
+ import writeFile from 'https://cdn.jsdelivr.net/gh/stdlib-js/fs-write-file@v0.2.2- deno/mod.js';
157
157
158
158
var fpath = join( __dirname, 'examples', 'fixtures', 'file.txt' );
159
159
You can’t perform that action at this time.
0 commit comments