An open API service indexing awesome lists of open source software.

https://github.com/onesy-me/node

Nodejs utils
https://github.com/onesy-me/node

amaui back-end backend javascript js node nodejs typescript utils web

Last synced: about 2 months ago
JSON representation

Nodejs utils

Awesome Lists containing this project

README

          



onesy logo

onesy Node


MIT license    
Production ready    
100% test cov    
Nodejs


Very simple code    
Modern code    
Junior friendly    
Typescript    
Made with :yellow_heart:


### Add

```sh
yarn add @onesy/node
```

### Use

```javascript
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

```sh
yarn
```

Test

```sh
yarn test
```

### Prod

Build

```sh
yarn build
```