Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luisdasartimanhas/npm-package-nodejs-utils-lda
Este projeto tem como fins de criar e abstrair módulos basicos e utilidades para o node js, referencia https://docs.npmjs.com/creating-a-package-json-file
https://github.com/luisdasartimanhas/npm-package-nodejs-utils-lda
Last synced: 1 day ago
JSON representation
Este projeto tem como fins de criar e abstrair módulos basicos e utilidades para o node js, referencia https://docs.npmjs.com/creating-a-package-json-file
- Host: GitHub
- URL: https://github.com/luisdasartimanhas/npm-package-nodejs-utils-lda
- Owner: LUISDASARTIMANHAS
- License: gpl-3.0
- Created: 2024-10-10T14:37:55.000Z (28 days ago)
- Default Branch: main
- Last Pushed: 2024-10-16T16:33:41.000Z (22 days ago)
- Last Synced: 2024-10-18T13:33:35.720Z (20 days ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/npm-package-nodejs-utils-lda
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# npm-package-nodejs-utils
Este projeto tem como fins de criar e abstrair módulos basicos e utilidades para o node js## Functions
```js
fopen(filePath)
fwrite(filePath, data)
fwriteBin(filePath, data)
freadBin(filePath)
checkHeaderMiddleware(app)
sendMail(email, subject, text, callback)
fetchGet(url, header, callback)
fetchPost(url, payload, header, callback)
httpsSecurityMiddleware(req, res, next)
getRandomInt(max)
getRandomBin(max)
getRandomHex(max)
generateToken()
getRandomHex(max)
validadeApiKey(req,res,key)
forbidden(res)
unauthorized(res)
```