Package
unit.js
Simple, intuitive and flexible unit testing framework for javascript / Node.js (browser and server). Integrates awesome assertions libraries like Must.js, Should.js, Assert of Node.js, Sinon.js and other friendly features (promise, IoC, plugins, ...).
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 5.7k
- +114% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 8
- Direct, from package.json
- Last release
- 6 years ago
- v2.1.1
- GitHub stars
- 107
- 11 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
5,721 downloads last week, 39,906 in the last month. The 12-month change of +114% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 2.1.1, 18 Oct 20196 years ago
- First published
- -
- Last push to GitHub
- 13 Oct 20221,442 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 17
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 3.3 MB
- Dependencies (8)
mustsinonlodashshouldbluebirdnoder.iosupertestsinon-test
npm install unit.js- jsDelivr
https://cdn.jsdelivr.net/npm/unit.js@2.1.1/ - unpkg
https://unpkg.com/unit.js@2.1.1/ - esm.sh
https://esm.sh/unit.js@2.1.1
Indexability: Not indexed (discovery only): downloads_week 5721 < 10000.