1.0.0 • Published 11 months ago
@onesy/node v1.0.0
Getting started
Add
yarn add @onesy/nodeUse
import path from 'path';
import OnesyNode from '@onesy/node';
// A file add
await OnesyNode.file.add(path.resolve('a.json'), 'a');
// A file read
await OnesyNode.file.get(path.resolve('a.json'));
// A file remove
await OnesyNode.file.remove(path.resolve('a.json'));Dev
Install
yarnTest
yarn testProd
Build
yarn build1.0.0
11 months ago