Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
any-db-mysql
Advanced tools
This is the MySQL adapter for Any-DB. It relies on the mysql
database driver to create connection and query objects that conform to the
Any-DB API. It's almost
identical to require('mysql')
but lets your app code be somewhat more
database agnostic.
The connections and queries this package creates inherit from the constructor
functions in require('mysql')
, so any methods that mysql
supports beyond
those specified by Any-DB are also available to you.
Keep in mind that these methods will not necessarily work with other backends.
npm install any-db-mysql
Create an empty test database:
mysql -uroot -e 'CREATE DATABASE IF NOT EXISTS any_db_test'
Then run tests the node way:
npm install && npm test
MIT
FAQs
The MySQL adapter for any-db
We found that any-db-mysql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.