npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-arkos

v1.4.3-beta.2

Published

CLI for creating Arkos.js projects, see docs at www.arkosjs.com

Readme

create-arkos

The official CLI tool to quickly scaffold new Arkos.js API projects with interactive setup and best practices out of the box.

Overview

create-arkos is the scaffolding tool for the Arkos.js framework. It provides an interactive setup experience to generate a complete, production-ready RESTful API project with automatic CRUD operations, authentication, validation, and more - all built on top of Express.js and Prisma.

Requirements

  • Node.js 20 or higher
  • npm, yarn, or pnpm

Quick Start

# Using npm
npm create arkos@latest

# Using yarn
yarn create arkos@latest

# Using pnpm
pnpm create arkos@latest

Interactive Setup

The CLI will guide you through an interactive setup process:

> [email protected]

? What is the name of your project? my-arkos-project
? Would you like to use TypeScript? Yes
? What db provider will be used for Prisma? mongodb
? Would you like to set up Validation? Yes
? Choose validation library: class-validator
? Would you like to set up Authentication? Yes
? Choose authentication type: dynamic
? Would you like to use authentication with Multiple Roles? Yes
? Choose default username field for login: email

Configuration Options

Database Providers

  • PostgreSQL - Production-ready relational database
  • MongoDB - NoSQL document database
  • MySQL - Popular relational database
  • SQLite - Lightweight file-based database
  • SQL Server - Microsoft's enterprise database
  • CockroachDB - Distributed SQL database

Validation Libraries

  • class-validator - Decorator-based validation
  • zod - TypeScript-first schema validation

Authentication Types

  • Static - Uses configuration files for roles and permissions
  • Dynamic - Database-level authentication with auth-role and auth-permission tables
  • Define Later - Skip authentication setup for now

Username Field Options

  • Email - Use email as login identifier
  • Username - Use username as login identifier
  • Define Later - Configure custom field later

Generated Project Structure

my-arkos-project/
├── prisma/
│   └── schema.prisma          # Database schema with auth tables (if dynamic)
├── src/
│   ├── utils/
│   │   └── prisma/
│   │       └── index.ts       # Prisma client configuration
│   ├── app.ts                 # Main application file
│   ├── arkos.config.ts        # Arkos framework configuration
│   └── package.json           # Dependencies and scripts
├── .env                       # Environment variables
├── .gitignore                 # Git ignore rules
├── package.json               # Project configuration
├── pnpm-lock.yaml            # Lock file
└── tsconfig.json             # TypeScript configuration

Getting Started After Creation

  1. Navigate to your project:

    cd my-arkos-project
  2. Set up your database:

    # Edit .env file with your DATABASE_URL
    # Example: DATABASE_URL="mongodb://localhost:27017/my-arkos-project"
  3. Set up Prisma:

    npx prisma db push
  4. Start development:

    npm run dev

Environment Variables

The generated project requires these environment variables in .env:

DATABASE_URL="your-database-connection-string"

Example for different databases:

# PostgreSQL
DATABASE_URL="postgresql://username:password@localhost:5432/mydb"

# MongoDB
DATABASE_URL="mongodb://localhost:27017/mydb"

# MySQL
DATABASE_URL="mysql://username:password@localhost:3306/mydb"

# SQLite
DATABASE_URL="file:../../file.db"

Authentication Setup

Dynamic Authentication

When you choose "dynamic" authentication, the CLI generates:

  • auth-role table for role management
  • auth-permission table for permission management
  • Database-level authentication system
  • Multiple roles support

Static Authentication

When you choose "static" authentication:

  • Uses configuration files for roles and permissions
  • Simpler setup for smaller projects
  • File-based permission management

Available Framework Commands

Once your project is created, you can use these Arkos.js commands:

arkos dev      # Start development server
arkos start    # Start production server
arkos build    # Build for production
arkos generate component-name -m model-name # generate components like controller, routers, services

Support & Community

License

MIT License


Built with ❤️ by Uanela Como and the Arkos.js Contribuitors

From the Greek "ἀρχή" (Arkhē) - your foundation for Express and Prisma backend development