Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
fxos-web-server
Advanced tools
A basic HTTP server for Firefox OS, written in JavaScript!
npm install git+https://github.com/justindarc/fxos-web-server.git
// Require the server code
var HTTPServer = require('fxos-web-server');
// Make an instance listening in port 80
var server = new HTTPServer(80);
// Listen to request events
server.addEventListener('request', function(evt) {
// To make things simple, we'll respond by displaying the request path
var responseText = evt.request.path;
var response = evt.response;
response.send(responseText);
});
// Finally start the server
server.start();
// (you can stop it afterwards with server.stop())
You can also have a look at the examples in the example
folder.
FAQs
> A basic HTTP server for Firefox OS, written in JavaScript!
The npm package fxos-web-server receives a total of 0 weekly downloads. As such, fxos-web-server popularity was classified as not popular.
We found that fxos-web-server 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.