Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socketβs threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
π· Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
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. |
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.
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.
FAQs
π· Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
The npm package poku receives a total of 300 weekly downloads. As such, poku popularity was classified as not popular.
We found that poku demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 0 open source maintainers collaborating on the project.
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.
Research
Security News
Socketβs threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.