0.0.10 • Published 9 years ago

goldblend v0.0.10

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

goldblend

tiny coffeescript preprocessor for easily creating view classes.

installation

npm i -g goldblend

tag

you write a program with coffeescript as *.gold. then,

goldblend yourscript.gold

it create yourscript.coffee and yourscript.js.

#parameters definition
#all parameters
<<<{routername:router, middleware:logincheck, nocache: no}
#no use middleware, use anticache-code
<<<{middleware:, nocache: yes}

#views definition
<<<classname(req,res,arg1,arg2)
  params['title'] = 'hello world'
  params['author'] = 'me'
  @render @@, params
0.0.10

9 years ago

0.0.9

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago