Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
File Browser Service
svc-fbr: file browser service
?, status check status of service
H, help show this help information
V, version show version information
s, start start service
x, stop stop service
See https://github.com/forfutureLLC/svc-fbr for feature-requests and bug-reports
const fbr = require("svc-fbr");
Start the service.
options
(Object): as universal Optionscallback
(Function):
callback(err)
Ping the service.
options
(Object): as universal Optionscallback
(Function):
callback(err, response)
response
(Object): passed on successresponse.running
(Boolean)Stop the service.
options
(Object): as universal Optionscallback
(Function):
callback(err)
Prescedence:
ip
(String): ip of server
arguments
${FBRS_IP}
"127.0.0.1"
port
(Number): port of the server
arguments
${FBRS_PORT}
9432
home
: (String) path to home directory
arguments
${FBRS_HOME}
process.env.HOME
Available endpoints once the service is started.
GET /
Queries:
path
(String): path to look up.Success response:
200 OK
{
"content": <content>,
"<type>": true
}
where <content>
would be:
* String[]
: array of file names, if path points to directory
* String
: file content, if path points to file
and <type>
would be the name of fs.Stats function name e.g. "isDirectory".
GET /ping
Success response:
200 OK
GET /stop
Success response:
200 OK
To start the service as daemon, use forever:
$ forever start svc-fbr start # note the TWO <start>s
The MIT License (MIT)
Copyright (c) 2015 Forfuture LLC we@forfuture.co.ke
FAQs
file browser service
The npm package svc-fbr receives a total of 0 weekly downloads. As such, svc-fbr popularity was classified as not popular.
We found that svc-fbr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.