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
- Host: GitHub
- URL: https://github.com/onesy-me/node
- Owner: onesy-me
- License: mit
- Created: 2022-02-03T16:05:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T23:28:07.000Z (over 1 year ago)
- Last Synced: 2025-09-27T21:29:22.267Z (9 months ago)
- Topics: amaui, back-end, backend, javascript, js, node, nodejs, typescript, utils, web
- Language: JavaScript
- Homepage: https://docs.onesy.me/library/node
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```