1.0.0 • Published 11 months ago

@onesy/node v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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