Fork me on GitHub

整理一些前端开发比较好的node包

1.一个base64转换的包

!https://www.npmjs.com/package/js-base64

2 js 压缩

!https://www.npmjs.com/package/uglifyjs

3.fetch http请求

!https://github.com/github/fetch

4.react 解决onclick 300毫秒延时 react-tap-event-plugin

!https://www.npmjs.com/package/react-tap-event-plugin

5.react添加多个className

!https://github.com/JedWatson/classnames

var classNames = require('classnames');
var proclass = classNames(value.class, 'flag');

{value.proclass}

6. commander创建node命令

!https://www.npmjs.com/package/commander

posted @ 2016-05-12 16:35  飞河  阅读(513)  评论(0编辑  收藏  举报
Fork me on GitHub