
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@alemonjs/db
Advanced tools
提供 redis 和 sequelize mysql 连接
import { getIoRedis, getSequelize } from '@alemonjs/db'
// redis
export const Redis = getIoRedis()
// seuqlieze mysql
export const sequelize = getSequelize()
yarn add @alemonjs/db -W
redis:
host: '127.0.0.1'
port: '6379'
password: ''
db: '0'
mysql:
host: '127.0.0.1'
port: '3306'
user: 'root'
password: 'Mm002580!'
database: 'alemonjs'
Settings > Docker Engine
{
"registry-mirrors": ["https://registry.cn-hangzhou.aliyuncs.com"]
}
services:
mysql:
image: mysql:8.0
container_name: mysql-container
environment:
# 密码 Mm002580!
# 用户 root
MYSQL_ROOT_PASSWORD: 'Mm002580!'
MYSQL_ROOT_HOST: '%'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
ports:
- '3306:3306'
command: --default-authentication-plugin=mysql_native_password
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/docker-dbinit.sql
redis:
image: redis:6.2-alpine
container_name: redis-container
ports:
- '6379:6379'
-- 数据库名称:alemonjs
CREATE DATABASE IF NOT EXISTS `alemonjs`
CHARACTER SET utf8mb4
COLLATE utf8mb4_general_ci;
docker-compose up -d
FAQs
The npm package @alemonjs/db receives a total of 141 weekly downloads. As such, @alemonjs/db popularity was classified as not popular.
We found that @alemonjs/db demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.