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 brings human-friendly testing and assertion to Node.js, Bun & Deno at the same time.

  • 1.6.0
  • Source
  • npm
  • Socket score

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

Poku

Logo

Poku is your test runner pet for Node.js, Bun and Deno combining flexibility, parallel and sequential runs, human-friendly assertion errors and high isolation level.

By creating Poku, my aim is to show that testing can be simpler.

Node.js Version Bun Version Deno Version TypeScript Version GitHub Workflow Status (with event) GitHub Workflow Status (with event) NPM Downloads License

Enjoying Poku? Consider giving him a star ⭐️


🐷 Documentation Website • 🔬 Compare Poku with the Most Popular Test Runners • 🧪 Examples


Why Poku?

Let's make describe, beforeEach and everything else easier 🚀

  • Supports ESM and CJS
  • Designed to be highly intuitive
  • Compatible with Coverage tools
  • Node.js, Bun and Deno compatibility
  • Zero configurations, except you want
  • Allows both API (in-code) and CLI usage
  • Poku adapts to your test, not the other way around
  • You can use Poku's assert with every test runner you want
  • And much more!

  • Install Size
  • Zero external dependencies 🌱

Documentation

  • See detailed usage in Documentation section for Poku's CLI, API (in-code) and assert, advanced concepts and much more.

Examples

  • See real example usages in Examples section for Poku's + Mock, Virutal DOM and more.

Overview

poku

SequentialConcurrent

See the complete poku documentation.


assert

Using pokuUsing node

See the complete assert's documentation.


Install

Node.js

npm i -D poku

TypeScript (Node.js)

npm i -D poku tsx

Bun

bun add -d poku

Deno

import { poku } from 'npm:poku';

Quick Start

poku

CLI

Try to set the flag --parallel before the target path 🚀

npx poku targetPath
npx poku targetPathA,targetPathB
bun poku targetPath
bun poku targetPathA,targetPathB
deno run npm:poku targetPath
deno run npm:poku targetPathA,targetPathB
API (In-code)
Node.js, TypeScript (Node.js) and Bun
import { poku } from 'poku';

await poku(['targetPath']);
Deno
import { poku } from 'npm:poku';

await poku(['targetPath']);

assert

Use it exactly as it's for Node.js 💚


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


Community

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.


Acknowledgements


Contributing

Please check the CONTRIBUTING.md for instructions 🚀


License

Poku is under the MIT License.


Security Policy

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

Keywords

FAQs

Package last updated on 29 Feb 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