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

arkos

v1.5.1-beta

Published

The Express & Prisma RESTful Framework

Downloads

11,051

Readme

Header Image

Socket Badge npm npm GitHub GitHub Repo stars


InstallationDocumentationWebsiteGitHubBlogNpm


Why Arkos?

Every line of boilerplate code is a missed opportunity for innovation. Arkos.js gives developers back their time so they can focus on building what truly matters—the core business logic.

Perfect for:

  • Backend developers shipping complex features under tight deadlines
  • Teams who want to scale fast without reinventing standard patterns
  • Projects that need production-ready auth, validation, and docs from day one

Quick Start

Get started with Arkos.js in seconds:

pnpm create arkos@latest my-project

That's it! You now have:

  • Production-ready REST API
  • JWT authentication
  • Auto-generated Swagger docs at /api/docs
  • File upload handling
  • Input validation

See It In Action

1. Define your Prisma model:

model Post {
  id        String   @id @default(uuid())
  title     String
  content   String
  authorId  String
  author    User   @relation(fields: [authorId], references: [id])
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}

2. Get instant REST endpoints:

POST   /api/posts           Create a new post
GET    /api/posts           List all posts
GET    /api/posts/:id       Get a specific post
PATCH  /api/posts/:id       Update a post
DELETE /api/posts/:id       Delete a post

All with built-in authentication, validation, and documentation. Zero boilerplate.

3. Add custom business logic with interceptors:

import { ArkosRequest, ArkosResponse, ArkosNextFunction } from "arkos";
import { AppError } from "arkos/error-handler";

export const beforeCreateOne = [
    async (req: ArkosRequest, res: ArkosResponse, next: ArkosNextFunction) => {
        // Add custom validation
        if (req.body.title.length < 5) {
            throw new AppErr("Title is too short", 400, "TitleTooShort");
        }

        // Enrich data
        req.body.slug = req.body.title.toLowerCase().replace(/\s/g, "-");
        req.body.authorId = req.user.id;

        next();
    },
];

What You Get Out of the Box

Enterprise-Ready Authentication

  • JWT token management with secure refresh tokens
  • Password hashing with bcrypt
  • Role-based access control (RBAC)
  • Production-ready from day one

Smart Data Validation

  • Automatic validation from Prisma models
  • Zod schema integration
  • Class-validator support
  • Zero configuration required

Bulletproof Security Stack

  • Rate limiting to prevent abuse
  • CORS configuration
  • Input sanitization with helmet.js
  • Comprehensive error handling

Self-Documenting APIs

  • Auto-generated OpenAPI/Swagger specifications
  • Beautiful interactive Scalar UI
  • Auto-sync with your routes
  • JSON schemas from Zod or Prisma models

Intelligent File Processing

  • Multer-powered file uploads
  • Automatic image and video optimization
  • Smart type validation
  • Easy local storage configuration

Effortless Email Integration

  • Built-in Nodemailer service
  • Template support
  • Clean, simple API
  • Just focus on your content

Powerful Interceptors

  • Before/after request hooks
  • Custom validation logic
  • Data transformation
  • Flexible middleware system

Unmatched Prisma Integration

  • Seamless ORM integration
  • Automatic relation handling
  • Write less Prisma, build more data
  • Built on Prisma's rock-solid foundation

Arkos vs Traditional Setup

| Task | Traditional Approach | With Arkos | | ------------------------ | --------------------------- | ---------------------- | | Setup JWT authentication | 2-3 hours of config | ✅ Built-in & ready | | Create CRUD routes | 30 min per model | ✅ Auto-generated | | Add input validation | Manual for each endpoint | ✅ Zod/Class-validator | | Setup API documentation | Install + configure Swagger | ✅ Auto-generated | | Configure file uploads | Multer setup + validation | ✅ Ready to use | | Add security middleware | Research + implement | ✅ Pre-configured | | Total setup time | ~8-12 hours | ~5 minutes |

Features

  • Automatic API Generation - Instantly create RESTful routes from Prisma models
  • Built-in Authentication - JWT-based authentication with minimal setup
  • Express Middlewares - Pre-configured security, parsing, and error handling
  • Data Validation - Input validation and transformation capabilities
  • Prisma Integration - Seamless database management with relation fields support
  • File Upload & Optimization - Efficient handling of images, videos, and documents
  • Interceptors Middlewares - Customize request/response flow with hooks
  • Nodemailer Integration - Easy email sending functionality
  • Swagger API Documentation - Automatically generate API documentation

BETA VERSION

Trusted By Developers Building Daily

"Arkos.js changed how I work on the backend: with a Prisma model I already get CRUD routes, auth, and validation out-of-the-box — I saved a lot of time and could focus on business logic."
— Gelson Matavela, Founder / Grupo Vergui

"It removes boilerplate and provides a clean structure to build products. Built-in auth is powerful and ready. Automatic CRUD and docs save time, while interceptors allow flexible business logic."
— Augusto Domingos, Tech Lead / DSAI For Moz

"With Arkos.js, I can build backends in just a few minutes. It removes the boilerplate and lets me focus entirely on the core logic. Fast, simple, and incredibly productive."
— Niuro Langa, Software Developer / SparkTech

See more testimonials →

Documentation

For comprehensive guides, API reference, and examples, visit our official documentation.

Quick Links:

Getting Nightly Updates

You can get the latest features we're testing before releasing them:

pnpm create arkos@canary my-project

Built With

Arkos.js is built on top of industry-leading tools:

  • Express - Fast, unopinionated, minimalist web framework for Node.js
  • Prisma - Next-generation ORM for Node.js and TypeScript
  • Node.js - JavaScript runtime built on Chrome's V8 engine

Support & Contributing

Contributions are welcome! We appreciate all contributions, from bug fixes to new features.

License

This project is licensed under the MIT License - see the LICENSE file for details.


InstallationDocumentationWebsiteGitHubBlogNpm

Built with ❤️ by Uanela Como and contributors


The name "Arkos" comes from the Greek word "ἀρχή" (Arkhē), meaning "beginning" or "foundation", reflecting our goal of providing a solid foundation for backend development.