0.0.6 • Published 4 years ago
swrt v0.0.6
SWRT Safe Write
A safe-write, that classic write the file
, but make any folders firstly.
import { write } from 'swrt';
await write('./dist/things.html', '<h1>hello world</h1>');
A safe-write, that classic write the file
, but make any folders firstly.
import { write } from 'swrt';
await write('./dist/things.html', '<h1>hello world</h1>');