JSPM

  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q71961F
  • License ISC

Simple hastebin-like server with HTTPS

Package Exports

  • dev-_007haste-server
  • dev-_007haste-server/server.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dev-_007haste-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm init -y npm install express npm start

node node_modules/dev-_007haste-server/server.js

))))

https.createServer(sslOptions, app).listen(PORT, () => { console.log(HTTPS Server running at https://127.0.0.1:${PORT}); });

https.createServer(sslOptions, app).listen(PORT, () => { console.log(HTTPS Server running at https://ip.addr:${PORT}); });