livescript-middleware

2019-09-12

livescript-middleware是什么

什么是livescript-middleware,Connect middleware for LiveScript

livescript-middleware使用教程帮助文档

LiveScript

is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.

Check out livescript.netfor more information, examples, usage, and a language reference.

Middleware Usage

require! {
  express
  \livescript-middleware : livescript-middleware
}
/* ... */
app = express!
app.use "/js", livescript-middleware do
  src: "#{__dirname}/public/ls"
  dest: "#{__dirname}/public/js"

Source

git://github.com/yuri0/livescript-middleware.git


上一篇:polyfills
下一篇:elem
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部