@onesy/node
v1.0.0
Published
Nodejs utils
Downloads
235
Maintainers
Readme
Getting started
Add
yarn add @onesy/node
Use
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
yarn
Test
yarn test
Prod
Build
yarn build