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

marmalade

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marmalade

Simple static file server utility

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Marmalade

Marmalade is a simple static file server utility. Marmalade is also a sweet breakfast or desert food commonly served on toast.

To install:

> npm install -g marmalade

Then in the root directory of your project (or the files you want to serve):

> marmalade

You'll get something like this:

> marmalade
Serving files in ~/my-website/ 
Kill the server with 'marmalade kill'
http://localhost:3000
>

Marmalade will detatch itself from the shell, so you don't have to worry about keeping that xterm window open. By default, only one instance of marmalade will run at a time, so starting a new server will close the previously started one.

The coolest feature of marmalade is that it will look for a Makefile (or Gruntfile) in the root directory and will run it with each request for the target file. This way you don't have to start 'watch make' in a background process whenever you start working on your project. If make fails, marmalade will return the failure text rather than the requested file.

Usage

marmalade [option] [hostname] [port]
marmalade kill [all]
            
-s, --stay  don't detatch from the shell
-e, --exec  custom command to execute with each request
-m          don't close existing intances of marmalade

Keywords

FAQs

Package last updated on 20 May 2013

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

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