
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@shadow-dev/orm
Advanced tools
Lightweight dynamic MySQL ORM designed for ShadowCore and modular apps.
🧩 Lightweight, type-safe MySQL ORM for ShadowCore projects.
ShadowORM is built for modularity, security, and runtime schema sync ΓÇö perfect for bots, services, or web apps using ShadowCore.
ShadowORM is a minimalist ORM that offers:
ItΓÇÖs designed to work cleanly alongside ShadowCore but can also be used standalone in any Node.js TypeScript project.
npm install @shadow-dev/orm mysql2
import { Model, Repository, initDatabase, registerModel } from "@shadow-dev/orm";
const Ticket = new Model<{
id: string;
type: "support" | "report";
data: { message: string };
createdAt: Date;
}>("tickets", {
id: "string",
type: "string",
data: "json",
createdAt: "datetime"
});
initDatabase({
host: "localhost",
user: "root",
password: "password",
database: "mydb"
});
registerModel(Ticket);
// Auto-create table on startup
await syncSchema();
const tickets = new Repository(Ticket);
// Use it
await tickets.create({
id: "ticket-001",
type: "support",
data: { message: "Help me!" },
createdAt: new Date()
});
ShadowORM supports:
Type | SQL Equivalent |
---|---|
string | VARCHAR(255) |
number | INT |
boolean | BOOLEAN |
json | LONGTEXT |
datetime | DATETIME |
FOREIGN_KEY:<tbl.col> | Foreign key ref |
📚 Docs are coming soon and will be available on the ShadowCore documentation site:
➡️ docs.shadowdevelopment.net
ShadowORM is officially developed and maintained under Shadow Development LLC.
Licensed under the GNU General Public License v3.0
See the LICENSE file for details.
FAQs
Lightweight dynamic MySQL ORM designed for ShadowCore and modular apps.
The npm package @shadow-dev/orm receives a total of 102 weekly downloads. As such, @shadow-dev/orm popularity was classified as not popular.
We found that @shadow-dev/orm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.