Gathering detailed insights and metrics for poku
Gathering detailed insights and metrics for poku
π· Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
npm install poku
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (100%)
Total Downloads
38,096
Last Day
67
Last Week
484
Last Month
1,376
Last Year
38,096
788 Stars
713 Commits
14 Forks
6 Watching
5 Branches
6 Contributors
Minified
Minified + Gzipped
Latest Version
2.7.1
Package Id
poku@2.7.1
Unpacked Size
168.44 kB
Size
37.88 kB
File Count
116
NPM Version
10.9.0
Node Version
22.10.0
Publised On
27 Oct 2024
Cumulative downloads
Total Downloads
Last day
63.4%
67
Compared to previous day
Last week
33%
484
Compared to previous week
Last month
-16.6%
1,376
Compared to previous month
Last year
0%
38,096
Compared to previous year
Enjoying Poku? Give him a star to show your support π
π· WebsiteΒ Β β’Β Β π DocumentationΒ Β β’Β Β π§ͺ ExamplesΒ Β β’Β Β π§π»βπ Tutorials
π‘ Poku is a cross-platform test runner that brings the JavaScript essence back to testing.
High isolation level per file
Performant and lightweight
Run CommonJS files directly with Deno
Auto detect ESM, CJS, and TypeScript files
Run the same test suite for Node.js, Bun, and Deno
Easily handle servers, processes, ports, and even containers β¨
|
|
|
|
test/file.test.mjs |
|
Node.js (and TypeScript) | Bun | Deno |
|
|
|
poku | π§ͺ Test runner. |
assert | π Test assertion (Node.js familiar API). |
strict | π¬ Strict test assertion (Node.js familiar API). |
test β’ describe β’ it | π€Ήπ»ββοΈ Organize, group, and isolate tests. |
envFile | βοΈ Process an environment file (out-of-box). |
beforeEach β’ afterEach | π Hooks for test setup and teardown. |
startScript | π Run package.json scripts in background. |
startService | π Run files in background. |
docker | π³ Build, start, compose, stop, remove, and test containers. |
kill | π Terminate ports, port ranges, and PIDs. |
waitForPort | π΄ Wait for specified ports to become active. |
waitForExpectedResult | π₯± Retry until an expected result or times out. |
skip | βοΈ Skip tests when necessary. |
only | π Debug tests by enabling selective runs. |
getPIDs | π΅π» Debug processes IDs using ports and port ranges. |
watch | πΏ Watch for changes and re-run related test files. |
parallel | ππ»ββοΈ Run tests in parallel. |
debug | π΅π» Shows all logs. |
config | βοΈ Customize your Poku options in a config file. |
and much more ππ»
To see the detailed documentation, please visit the Documentation and Examples sections in the Poku's website.
Poku offers mini-lessons for different users needs in the Quick Tutorials section.
Poku is continuously tested to ensure the following expectations for basic usage:
- You can see how the tests are run and compared in the benchmark directory.
- Comparing Poku and native test runners (discussion).
Poku size ensures cost-saving CI for services that charge for storage and usage.
Please check the SECURITY.md.
See the Contributing Guide and please follow our Code of Conduct π
Poku is under the MIT License.
Copyright Β© 2024-present Weslley AraΓΊjo and Poku contributors.
No vulnerabilities found.
No security vulnerabilities found.