New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

adease

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adease

A CLI tool for generating database schemas and CRUD operations for Next.js applications.

  • 0.0.0-alpha.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-25%
Maintainers
0
Weekly downloads
 
Created
Source

Adease CLI

A CLI tool for generating database schemas and CRUD operations for Next.js applications.

Installation

pnpm add adease

Features

  • Database schema generation with support for:
    • Drizzle (PostgreSQL and SQLite)
    • Prisma
    • Firebase
  • Type-safe schema definitions
  • Repository pattern implementation
  • Automatic form generation
  • Server-side actions

Usage

Initialize Project

adease init

This will prompt you for:

  • Database selection (Drizzle, Prisma, or Firebase)
  • Base directory configuration
  • Admin routes setup

Generate Schema and CRUD Operations

adease create <tableName> [fields...]

Example:

adease create users name:string email:string role:string

Supported field types:

  • string
  • number
  • boolean
  • date
  • float
  • bigint (Prisma only)

Configuration

Configuration is stored in adease.json:

{
  "baseDir": "src",
  "adminDir": "admin",
  "database": {
    "type": "drizzle|prisma|firebase",
    "engine": "postgresql|sqlite"
  }
}

Project Structure

The tool generates:

  • Database schema definitions
  • Repository layer for data access
  • Form components for data input
  • Server actions for data operations

License

MIT

FAQs

Package last updated on 18 Jan 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc