Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
npm install js-fpm
This package support the fastcgi mode, so you may config a nginx serve to access fastcgi mode to this.
nginx configuration(in server)
location / {
root html;
index index.html index.htm;
try_files $uri $uri/ @node;
}
location @node {
fastcgi_pass 127.0.0.1:3000;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi_params;
}
next to start:
var fpm = require("js-fpm")
fpm.run();
so, you may write so script in main.js.
fastcgi mode to serve the script(main.js)
session and cookie
file upload
etc...
var fpm = require("js-fpm")
var options = {
"mode" : "fastcgi", // or "http"
"port" : "3000", // or "80"
"ip" : "localhost", // or IP
"main" : require("path").resolve("./main.js")
}
fpm.run(options);
fastcgi or http fastcgi support the fastcgi protocol. http support the standard http protocol
port and ip
the execute file path
FAQs
A FastCGI Process Manager for NodeJS.
The npm package js-fpm receives a total of 18 weekly downloads. As such, js-fpm popularity was classified as not popular.
We found that js-fpm 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.