Projeto em js para gerenciar dados do b4a do projeto AgendaRep
catalunha@pop-os:~/myapp/agendarep_js$ npm init -y
Wrote to /home/catalunha/myapp/agendarep_js/package.json:
{
"name": "agendarep_js",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
catalunha@pop-os:~/myapp/agendarep_js$ npm i parse
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14.21.0 <17 || >=18 <19' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.13.1' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
added 12 packages, and audited 13 packages in 6s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
catalunha@pop-os:~/myapp/agendarep_js$
catalunha@pop-os:~/myapp/agendarep_js$ node index.js
https://www.stanleyulili.com/node/node-modules-import-and-use-functions-from-another-file/