amaui-org / amaui-node

Nodejs utils

Home Page:https://docs.amaui.me/library/node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



amaui logo

amaui 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 @amaui/node

Use

  import path from 'path';

  import AmauiNode from '@amaui/node';

  // A file add
  await AmauiNode.file.add(path.resolve('a.json'), 'a');

  // A file read
  await AmauiNode.file.get(path.resolve('a.json'));

  // A file remove
  await AmauiNode.file.remove(path.resolve('a.json'));

Dev

Install

yarn

Test

yarn test

Prod

Build

yarn build

About

Nodejs utils

https://docs.amaui.me/library/node

License:MIT License


Languages

Language:JavaScript 79.4%Language:TypeScript 20.6%