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.
Enjoying Poku? Give him a star to show your support ๐
๐ท Websiteย ย โขย ย ๐ Documentationย ย โขย ย ๐งช Examplesย ย โขย ย ๐ง๐ปโ๐ Quick Tutorials
๐ก Poku makes testing easy and brings the native JavaScript syntax back to tests, letting you to write tests intuitively.
No configurations
ย ย ย ย ย Auto detect ESM, CJS, and TypeScript files
ย ย ย ย ย Run the same test suite for Node.js, Bun, and Deno
Easier and Less Verbose
ย ย ย ย ย Run CJS (CommonJS) files directly with Deno
ย ย ย ย ย Easily handle containers, servers, processes, and ports
Safety and Reliability
ย ย ย ย ย High isolation level per file
ย ย ย ย ย Performant and lightweight
Node.js | TypeScript (Node.js) | Bun | Deno |
|
|
|
|
test/file.test.mjs |
|
Node.js (and TypeScript) | Bun | Deno |
|
|
|
Name | Description |
---|---|
poku | ๐งช Test runner. |
assert | ๐ฌ Test assertion (Node.js familiar API). |
Name | Description |
---|---|
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. |
Name | Description |
---|---|
watch | ๐ฟ Watch for changes and re-run related test files. |
parallel | ๐๐ปโโ๏ธ Run tests in parallel. |
debug | ๐ต๐ป Shows all logs. |
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.
See the Contributing Guide and please follow our Code of Conduct ๐
Please check the SECURITY.md.
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 is highly significant in development to ensure cost-saving CI that require servers that charge for storage and usage.
Poku is under the MIT License.
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.