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

express-vogue

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

express-vogue

express.js middleware for vogue integration (live css reload)

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

express-vogue

express.js middleware for instantly reloading css stylesheets during development

Installation

npm:

$ npm install express-vogue

Usage

In your app, include this before the plain app.configure section to include express-vogue before other middlewares:

app.configure('development', function(){
    app.use(require('express-vogue')(app));
});

Start your application and open it in your browser of choice. Whenever you save changes to a css-file below public, your page style will update instantly.

Usage with stylus

app.configure('development', function(){ 
    app.use(require('express-vogue')(app, {
        rewrite : '(.*).css:$1.styl'
    })); 
});

Again: Remember to make this middleware the FIRST in development mode.

vogue

This module is just a simple wrapper around the most excellent project vogue by Andreq Davey http://aboutcode.net/vogue. To work in express, I had to make some changes to it in my own fork at https://github.com/bkw/vogue/tree/npm. That's why this modules requires my private fork from npm instead of the original module.

Keywords

FAQs

Package last updated on 09 Apr 2012

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