Socket
Socket
Sign inDemoInstall

poku

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    poku

🐷 Poku makes testing easy for Node.js, Bun & Deno at the same time.


Version published
Weekly downloads
461
increased by78.68%
Maintainers
1
Install size
103 kB
Created
Weekly downloads
Β 

Changelog

Source

1.9.4 (2024-04-26)

Bug Fixes

  • Windows: adapt for Node.js breaking change (#210) (71d36e9)

Readme

Source
Logo

Poku

Poku can show you how simple testing can be 🌱

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

Enjoying Poku? Consider giving him a star ⭐️


🐷 DocumentationΒ Β β€’Β Β πŸ§ͺ ExamplesΒ Β β€’Β Β πŸ”¬ Compare the Most Popular Test Runners


Reasons to Adopt a Poku β†’

check No configurations
Β Β Β Β Β check Auto detect ESM and CJS
Β Β Β Β Β check Auto detect Typescript files
Β Β Β Β Β check Don't export your server (just run it) πŸš€

check Less verbose
check High isolation level per file
Β Β Β Β Β check No eval needed πŸ”
Β Β Β Β Β check No global state
check Parallel and Sequential runs πŸƒπŸ½πŸƒπŸ»

check Poku is 100% documented
check Designed to be human-friendly
check Compatible with Coverage tools
check Node.js, Bun and Deno compatibility 🩡

✨ You are free to work with the packages you desire
πŸ§‘πŸ»β€πŸŽ“ You don't need to learn it all at once to get started
πŸ§‘πŸ»β€πŸ”¬ Poku adapts to your test, not the other way around
☁ Zero external dependencies (that means lightweight)
πŸ‘΄πŸΌ Poku doesn't restrict you from testing in legacy environments


Quickstart

Install πŸ“¦

Install Size

npm i -D poku
npm i -D poku tsx
bun add -d poku
deno add npm:poku

Test it πŸ”¬

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

assert(true, 'Poku will describe it 🐷');
  • Change from .mjs to .js by defining "type": "module" in your package.json.
  • Note that these examples use ESM, but you can use CJS as well.

Run it πŸš€

npx poku
bun poku
deno run npm:poku

That's it πŸŽ‰


Available Methods

Essentials

Helpers

See the complete documentation.


Overview

poku

SequentialConcurrent

See the complete poku's documentation.


assert

  • πŸ’š Use it exactly as it's for Node.js
  • 🐷 Node.js, Bun and Deno compatibility
Using pokuUsing node

See the complete assert's documentation.


Documentation and Examples

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.


Contributing

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


Philosophy

Please check the Philosophy section from Documentation.


License

Poku is under the MIT License.


Security Policy

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


Limitations

  • Poku is still a bit lonely, without an active community around him, but we can change it 🀝
  • Each file generates a sub-process during its execution. This can be reflected in projects with an extremely high volume of test files when run in parallel.

Acknowledgements

Contributors

Contributors


Author

wellwelwel
@wellwelwel

Keywords

FAQs

Last updated on 26 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc