# jasmine

> CLI for Jasmine, a simple JavaScript testing framework for browsers and Node

Latest version **7.0.0** (published 2026-08-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install jasmine
pnpm add jasmine
yarn add jasmine
bun add jasmine
```

Provides the command `jasmine`.

## Health

**Score 68/100 (B)** — status: active.

Positive: has types package; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 7.0.0 |
| Published | 2026-08-15 |
| First published | 2014-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/jasmine) |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 71.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 379 |
| Maintainers | slackersoft, sgravrock, dwfrank, amavisca |
| Keywords | test, testing, jasmine, tdd, bdd |

## Links

- npm: https://www.npmjs.com/package/jasmine
- Repository: https://github.com/jasmine/jasmine-npm
- Homepage: http://jasmine.github.io/
- Issues: https://github.com/jasmine/jasmine-npm/issues
- npm.io page: https://npm.io/package/jasmine

## Dependencies (3)

- [glob](https://npm.io/package/glob.md) ^10.2.2 || ^11.0.3 || ^12.0.0 || ^13.0.0
- [jasmine-core](https://npm.io/package/jasmine-core.md) ~7.0.0
- [@jasminejs/reporters](https://npm.io/package/@jasminejs/reporters.md) ^1.1.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 7.0.0 (latest) — 2026-08-15
- 7.0.0-pre.2 (next) — 2026-06-27
- 6.3.0 — 2026-06-06
- 7.0.0-pre.1 — 2026-04-11
- 6.2.0 — 2026-04-11
- 7.0.0-pre.0 — 2026-02-22
- 6.1.0 — 2026-02-22
- 6.0.0 — 2026-01-17
- 5.13.0 — 2025-12-02
- 6.0.0-beta.0 — 2025-11-28
- 6.0.0-alpha.2 — 2025-11-15
- 6.0.0-alpha.1 — 2025-10-18
- 5.12.0 — 2025-10-05
- 6.0.0-alpha.0 — 2025-09-30
- 5.11.0 — 2025-09-27
- … 64 more at https://npm.io/package/jasmine/versions

## README

# The Jasmine Package

The `jasmine` package is a command line interface and supporting code for running
[Jasmine](https://github.com/jasmine/jasmine) specs under Node.

The core of jasmine lives at https://github.com/jasmine/jasmine and is `jasmine-core` in npm.

## Contents

This package allows you to run Jasmine specs for your Node.js code. The output will be displayed in your terminal by default.

## Documentation

https://jasmine.github.io/setup/nodejs.html

## Quick Start

Installation:

```sh
npm install --save-dev jasmine
```

To initialize a project for Jasmine:

```sh
npx jasmine init
````

To seed your project with some examples:

```sh
npx jasmine examples
````

To run your test suite:

```sh
npx jasmine
````

## ES and CommonJS module compatibility

Jasmine is compatible with both ES modules and CommonJS modules. See the 
[setup guide](https://jasmine.github.io/setup/nodejs.html) for more information.


## Node version compatibility

Jasmine supports Node 20*, 22, 24, and 26.

\* Environments that are past end of life are supported on a best-effort basis.
They may be dropped in a future minor release of Jasmine if continued support
becomes impractical.

## Support

Documentation: [jasmine.github.io](https://jasmine.github.io)<br>
Please file issues here at GitHub.

Copyright (c) 2014-2019 Pivotal Labs<br>
Copyright (c) 2014-2026 The Jasmine developers<br>
This software is licensed under the MIT License.

---
_Source: https://npm.io/package/jasmine · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
