
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Schema generator for node-sql.
npm install taike
Taike lets you write schemas like:
var schema = require('taike');
var τ = schema.decorators;
var sql = require('sql');
var Post = sql.define('posts', {
columns: schema({
id: τ.id('integer'),
title: τ.size(255, String),
content: String
})
});
A property is an object key with a specification value. A spec can be a raw type, or as object containing any of:
typeThe data type.
sizeA String column is either text or, if size is present, varchar(size).
primary, required, unique, autoincrementIf true, modify the column type as appropriate. If primary is present, required and unique are ignored.
columnChange the column name, if you want it to have a different name to the property.
For now, Taike only supports basic String, Number and Boolean columns. Foreign keys will arrive in a future version.
Building spec objects can be tedious. Taike provides composable decorators for attaching spec properties. The following properties are available under taike.decorators: primary, required, unique, autoincrement, column and size.
MIT
FAQs
generate node-sql columns from a schema
We found that taike 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.