Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jayli/nodejs-kissy

run kissy on nodejs
https://github.com/jayli/nodejs-kissy

Last synced: about 1 month ago
JSON representation

run kissy on nodejs

Awesome Lists containing this project

README

        

h1. KISSY for NodeJS

nodejs-kissy 实现了将 kissy 移植到 nodeJS 上运行

它依赖jsdom,htmlparser,express,connect,第一次安装请执行

npm install jsdom

npm install htmlparser
npm install express
npm install connect

h1. 通过NPM安装 nodejs-kissy

需要预装 npm

npm install kissy

h1. 通过源码安装 nodejs-kissy

需要预装 npm 和 git

git clone git://github.com/kissyteam/nodejs-kissy.git

cd nodejs-kissy/
npm install .

h1. Hello World

新建文件test.js

var S = require('kissy').KISSY;

S.ready(function(S){
S.log('hello world!');
});

运行

node test.js

h1. Using KISSY

"KISSY-Calendar Demo"://gist.github.com/662117

h1. License

KISSY 遵守 "MIT":https://github.com/kissyteam/kissy/blob/master/LICENSE.md 协议