New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fserve

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fserve

minimal static server

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

fserve

basic static file server, like http-server

npm i -g fserve

usage:

serve optionalPort

serve -s optionalPort (for https)

serve -s=~/.certs/ optionalPort (define where to search cert.pem and key.pem)

notes

generate certs with

openssl req -x509 -newkey rsa:2048 -keyout keytmp.pem -out cert.pem -days 365
openssl rsa -in keytmp.pem -out key.pem

we could use pem npm module and/or chrome --allow-insecure-localhost --ignore-certificate-errors

FAQs

Package last updated on 15 Sep 2017

Did you know?

Socket

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.

Install

Related posts