
Security News
New CNA Scorecard Tool Ranks CVE Data Quality Across the Ecosystem
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Type Driven Database Framework.
Driver | Version | Notes |
---|---|---|
Memory | In-memory driver support | |
MongoDB | ||
MySQL | MySQL 5.7+, MariaDB 10.5 | |
PostgreSQL | PostgreSQL 14+ | |
SQLite |
import Database from 'minato'
import MySQLDriver from '@minatojs/driver-mysql'
const database = new Database()
await database.connect(MySQLDriver, {
host: 'localhost',
port: 3306,
user: 'root',
password: '',
database: 'minato',
})
database.extend('user', {
id: 'number',
name: 'string',
age: 'number',
money: { type: 'number', initial: 100 },
}, {
primary: 'id',
autoInc: true,
})
const user = await driver.create('user', {
name: 'John',
age: 20,
}) // { id: 1, name: 'John', age: 20, money: 100 }
FAQs
Type Driven Database Framework
The npm package minato receives a total of 1,543 weekly downloads. As such, minato popularity was classified as popular.
We found that minato demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.