Current node version v12.18.3 is deprecated for some npm package.
We have v14.8.0 available in termux
I think you had nodejs-lts version installed
Try
pkg install nodejs
We have
v14.8.0available in termuxI think you had
nodejs-ltsversion installed
Try
pkg install nodejs
Yes I have been get 14.8.0
But some npm packages are deprecated.
Ex.mongo

I use node v14.8.0
But I get this.Not good idea馃槄.
Cuz nodejs v14.11.0 is available now.
But some npm packages are deprecated.
Ex.mongo
The deprecation warnings you are seeing means that the npm package uses deprecated functions/features. It cannot be fixed by upgrading nodejs (newer nodejs versions introduce more deprecations), it has to be fixed in the npm package.
@amm834 use it like
MongoClient.connect(url, {useUnifiedTopology: true}, (err, client) => { ...
You will have to pass option useUnifiedTopology: true
Thanks all
Most helpful comment
@amm834 use it like
MongoClient.connect(url, {useUnifiedTopology: true}, (err, client) => { ...You will have to pass option
useUnifiedTopology: true