🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

deserver

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deserver

A simple development server

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source
If affection lead a man to favor the less worthy in desert, let
him do it, without depraving or disabling the better deserver.
-- The Essays by Bacon, Sir Francis

Quick Start Guide

git clone https://github.com/4z3/deserver
node deserver &
f=/bin/bash
t="`file -ib $f`"
curl -X PUT --data-binary @$f -H "Content-Type:$t" http://127.0.0.1:1337$f
curl http://127.0.0.1:1337$f > $f # yay^_^
curl -X DELETE http://127.0.0.1:1337$f

STDOUT

On startup the server annources itself using the following format:

"Deserving HTTP -> on %s port %u\n", hostname, port

Each HTTP-request is reported using the following format:

"%s %s %u\n", method, url, statusCode

Keywords

http

FAQs

Package last updated on 18 Aug 2011

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