npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2024 – Pkg Stats / Ryan Hefner

poku

v1.9.4

Published

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

Downloads

1,391

Readme

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 β†’

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

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

Poku is 100% documented Designed to be human-friendly Compatible with Coverage tools 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 πŸ”¬

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

| Sequential | Concurrent | | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | | | |

See the complete poku's documentation.


assert

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

| Using poku | Using 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