
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
The jasmine package is a command line interface and supporting code for running
Jasmine specs under Node.
The core of jasmine lives at https://github.com/jasmine/jasmine and is jasmine-core in npm.
This package allows you to run Jasmine specs for your Node.js code. The output will be displayed in your terminal by default.
https://jasmine.github.io/setup/nodejs.html
Installation:
npm install --save-dev jasmine
To initialize a project for Jasmine:
npx jasmine init
To seed your project with some examples:
npx jasmine examples
To run your test suite:
npx jasmine
Jasmine is compatible with both ES modules and CommonJS modules. See the setup guide for more information.
Jasmine supports Node 18.20.5+*, 20, 22, and 24.
* 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.
Documentation: jasmine.github.io
Please file issues here at GitHub.
Copyright (c) 2014-2019 Pivotal Labs
Copyright (c) 2014-2025 The Jasmine developers
This software is licensed under the MIT License.
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple. Mocha is often compared to Jasmine, as both provide similar test structuring capabilities, but Mocha requires assertion libraries like Chai to be fully functional, whereas Jasmine has assertions built in.
Jest is a JavaScript testing framework designed to ensure correctness of any JavaScript codebase. It allows you to write tests with an approachable, familiar and feature-rich API that gives you results quickly. Jest is used by Facebook to test all JavaScript code including React applications. It includes built-in test runners and assertion functions, similar to Jasmine, but also provides snapshot testing, a unique feature not available in Jasmine.
FAQs
CLI for Jasmine, a simple JavaScript testing framework for browsers and Node
The npm package jasmine receives a total of 1,319,041 weekly downloads. As such, jasmine popularity was classified as popular.
We found that jasmine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.