Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-https-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-https-server - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

6

index.js

@@ -0,1 +1,3 @@

#! /usr/bin/env node
var https = require('https');

@@ -14,6 +16,8 @@ var fs = require('fs');

var a = https.createServer(options, function (req, res) {
console.log('Starting server on HTTPS://localhost:8000...')
var httpsServer = https.createServer(options, function (req, res) {
var done = finalhandler(req, res);
serve(req, res, done);
}).listen(8000);

20

package.json
{
"name": "simple-https-server",
"version": "0.0.1",
"version": "0.1.0",
"description": "locally serve static files",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "(cd cert && ./certificate.sh)"
"postinstall": "(cd cert && ./certificate.sh)",
"start": "node index.js"
},

@@ -15,5 +15,9 @@ "repository": {

"keywords": [
"https"
"https", "server"
],
"author": "Radek Novak <radek.novak.cze@gmail.com> (http://radek-novak.com/)",
"preferGlobal": true,
"bin": {
"simple-https-server": "index.js"
},
"author": "Radek Novak <radek.novak.cze@gmail.com> (http://radeknovak.net/)",
"license": "GPL-3.0",

@@ -23,3 +27,7 @@ "bugs": {

},
"homepage": "https://github.com/radek-novak/simple-https-server#readme"
"homepage": "https://github.com/radek-novak/simple-https-server#readme",
"dependencies": {
"finalhandler": "^0.4.1",
"serve-static": "^1.11.0"
}
}

@@ -1,1 +0,6 @@

# simple-https-server
# simple-https-server
Install with:
`npm install -g simple-https-server`
Then run `simple-https-server` in folder you wish to be served. Page will be hosted at https://localhost:8000 (don't forget the 's' httpS://)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc