Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Super simple testing script. No added sugar. ≈100 LOC.
Install with npm:
npm install testy
Designed to be as simple as possible - no functions, just the test.
var test = require('testy')();
var assert = test.assert;
assert.equal(true, true);
Set the expected property for async testing.
var test = require('testy')();
var assert = test.assert;
test.expected = 2;
setTimeout(function() {
assert.equal(1, 1);
assert.deepEqual([1, 2, 3], [1, 2, 3]);
}, 2000);
```
![example-b-screenshot!](https://github.com/leetreveil/node-testy/raw/master/example-b.png)
### Example C
Run multiple tests within a file.
``` javascript
var testy = require('testy');
var testA = new testy('testA');
var assertA = testA.assert;
testA.expected = 1;
assertA.strictEqual(1, 1);
var testB = new testy('testB');
var assertB = testB.assert;
testB.expected = 1;
assertB.strictEqual(1, 1);
```
![example-c-screenshot!](https://github.com/leetreveil/node-testy/raw/master/example-c.png)
FAQs
Super simple testing script
The npm package testy receives a total of 2 weekly downloads. As such, testy popularity was classified as not popular.
We found that testy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.