Skip to content
No description or website provided.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
resources
.DS_Store
README.md
main.js
package.json

README.md

Instant Styleguide

Drop into the docroot of your CSS, run with node.js and browse your CSS stylesheets as an HTML styleguide.

Setup

Install with Node Package Manager (npm):

$ npm install instant-styleguide

Create a javascript in the docroot of your CSS with the following:

var instaguide = require('instant-styleguide');
instaguide();

Run with node.js:

$ node name_of_above_file.js

A message should appear:

Server listening on http://localhost:8124

If you open that URL in your browser you should now be able to browse your CSS.

Options

Something went wrong with that request. Please try again.