Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

poku

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poku

๐Ÿท Poku makes testing easy for Node.js, Bun, Deno and you at the same time.

  • 1.15.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
369
decreased by-20.99%
Maintainers
1
Weekly downloads
ย 
Created
Source
Logo

Poku

Poku can show you how simple testing can be ๐ŸŒฑ

NPM Downloads Coverage License
GitHub Workflow Status (with event) GitHub Workflow Status (with event) GitHub Workflow Status (with event)

Enjoying Poku? Give him a star to show your support โญ๏ธ


Why does Poku exist?

Poku takes on the testers' difficulties by itself and lets you focus on the tests.

check No configurations
ย ย ย ย ย check Auto detect ESM and CJS
ย ย ย ย ย check Auto detect Typescript files
ย ย ย ย ย check Run the same test suite for Node.js, Bun and Deno

check Easier and Less Verbose
ย ย ย ย ย check Node.js familiar API
ย ย ย ย ย check Easily test your server just by running it ๐Ÿš€
ย ย ย ย ย check Run CJS (CommonJS) files directly with Deno
ย ย ย ย ย check Easily handle services, servers, processes and ports

check Safety and Reliability
ย ย ย ย ย check High isolation level per file
ย ย ย ย ย check Performant and lightweight
ย ย ย ย ย check Compatible with Coverage tools
ย ย ย ย ย check Poku doesn't use eval nor global state ๐Ÿ”
ย ย ย ย ย ย ย ย ย ย check In other words, you can run your tests directly, without relying on Poku


Quickstart

Install

Install Size

Node.js
TypeScript + Node.js
Bun
Deno
npm i -D poku
npm i -D poku tsx
bun add -d poku
deno add npm:poku

Test

test/file.test.mjs
import { assert } from 'poku';

assert(true, 'Poku will describe it ๐Ÿท');

Run

Node.js (and TypeScript)
Bun
Deno
npx poku
bunx poku
deno run npm:poku

That's it ๐ŸŽ‰


๐Ÿท Documentationย ย โ€ขย ย ๐Ÿงช Examplesย ย โ€ขย ย ๐Ÿ”ฌ Compare the Most Popular Test Runners


Available Methods

Essentials

  • Test
  • Background Services

Helpers


Documentation and Examples

To see the detailed documentation, please visit the Documentation and Examples sections in the Poku's website.


Contributing

I'm continuously working to improve Poku. If you've got something interesting to share, feel free to submit a Pull Request. If you notice something wrong, I'd appreciate if you'd open an Issue.

Please check the CONTRIBUTING.md for instructions ๐Ÿš€


Philosophy

Please check the Philosophy section from Documentation.


Security Policy

GitHub Workflow Status (with event)

Please check the SECURITY.md and the section Is Poku Safe? from Documentation.


Quick Comparisons

Performance

Poku is continuously tested (CI) to ensure the following expectations:

  • ~4x faster than Jest (v29.7.0)
  • ~3x faster than Vitest (v1.6.0)
  • ~1x faster than Mocha (v10.4.0) + Chai (v5.1.1)

You can see how the tests are run and compared in the benchmark directory.


Installation Size


Limitations

  • Poku community is gradually building up ๐Ÿค
  • Although it has no external dependencies, Poku is not all-in-one, so it doesn't have features such as mocks and spies, where you can use your favorite packages or native solutions.

Acknowledgements

Contributors

Contributors


License

Poku is under the MIT License.

Keywords

FAQs

Package last updated on 10 Jun 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc