Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
@japa

Japa.dev

A simple yet powerful testing framework for Node.js

Japa comes with everything you need to test your backend applications. Be it writing JSON API tests using an Open API schema or writing browser tests using Playwright.

Unlike other testing frameworks born out of the frontend ecosystem, Japa focuses only on testing backend applications and libraries. Therefore, Japa is simpler, faster, and bloatware free.

Features

Despite being a small and a simple tests runner, Japa has a ton of features you expect from a great testing framework. It includes:

Why Japa?

There are many testing frameworks available in the JavaScript ecosystem. So let's explore what makes Japa different.

No overhead of transpiling source code

Popular testing frameworks like Jest (uses Babel) and Vitest (uses Vite) use transpilers to process your source code. No matter how quick the underlying transpilers are, they will always have additional overhead compared to tools with no transpilers.

If you are building libraries or applications to work with Node.js runtime (not the browser), there is no need to use a transpiler. As a result:

  • You will have a better debugging experience.
  • Your application and tests will boot faster.
  • No additional configuration to manage.

Works with your existing project setup

Since Japa does not have to use transpilers, it works with your existing project setup. Moreover, Japa does not even have a CLI tool. You run your tests using the node or bun command.

Pinned Loading

  1. runner runner Public

    Standalone test runner built on top of japa core

    TypeScript 493 5

  2. core core Public

    The core of Japa. It includes all the primitives to build a test runner

    TypeScript 394 18

  3. create-japa create-japa Public

    Initialize Japa in existing Node.js projects

    TypeScript 6 3

Repositories

Showing 10 of 21 repositories
  • plugin-adonisjs Public

    Plugin that acts as a bridge between AdonisJS and Japa

    japa/plugin-adonisjs’s past year of commit activity
    TypeScript 4 MIT 0 0 0 Updated Dec 15, 2025
  • browser-client Public

    Browser client plugin built on top of Playwright

    japa/browser-client’s past year of commit activity
    TypeScript 10 MIT 2 0 0 Updated Dec 13, 2025
  • create-japa Public

    Initialize Japa in existing Node.js projects

    japa/create-japa’s past year of commit activity
    TypeScript 6 MIT 3 0 0 Updated Dec 13, 2025
  • expect-type Public

    Write assertions for TypeScript types

    japa/expect-type’s past year of commit activity
    TypeScript 6 MIT 0 0 0 Updated Dec 13, 2025
  • api-client Public

    API client to test endpoints over HTTP. Uses superagent under the hood

    japa/api-client’s past year of commit activity
    TypeScript 13 MIT 6 1 0 Updated Dec 13, 2025
  • snapshot Public

    Snapshot plugin for Japa

    japa/snapshot’s past year of commit activity
    TypeScript 2 MIT 1 0 0 Updated Dec 13, 2025
  • openapi-assertions Public

    Japa plugin to perform assertions against an OpenAPI spec

    japa/openapi-assertions’s past year of commit activity
    TypeScript 3 MIT 1 0 0 Updated Dec 13, 2025
  • file-system Public

    File system plugin for Japa

    japa/file-system’s past year of commit activity
    TypeScript 5 MIT 1 0 0 Updated Dec 13, 2025
  • expect Public

    Assertion package built on top of Jest expect

    japa/expect’s past year of commit activity
    TypeScript 6 MIT 3 0 0 Updated Dec 13, 2025
  • assert Public

    Assertions package for Japa. Built on top of Chai.Assert

    japa/assert’s past year of commit activity
    TypeScript 8 MIT 4 0 0 Updated Dec 13, 2025

Top languages

TypeScript Edge

Most used topics

Loading…