Skip to content

onesy-me/node

Repository files navigation



onesy logo

onesy Node

Node


MIT license     Production ready     100% test cov     Nodejs

Very simple code     Modern code     Junior friendly     Typescript     Made with 💛


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