整理一些前端開發比較好的node包

frontman發表於2016-05-12

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


相關文章