Skip to content

Instantly share code, notes, and snippets.

View astronaughts's full-sized avatar
💡
Working from home

Masahiro Ueno astronaughts

💡
Working from home
  • Chatwork
  • Osaka, Japan
View GitHub Profile
var express = require('express')
, mapRouter = require('./express-mapRouter')
, app = express.createServer()
, routesDir = __dirname + '/routes';
// 'GET /' : 'root:index' はこれと同じ
// var root = require('./routes/root');
// app.get('/', root.index);
var routesMap = {
'GET /' : 'root:index'
// Usage : less2stylusDir('../src/css/');
var fs = require('fs');
// this less 2 stylus conversion script make a stylus easy to read syntax
// - let the braces
// - replace the @ for var as $
// - let semicolons
function less2stylus(less)