刚好15公斤的数据(Fifteen kilos)

刚好15公斤的数据(Fifteen kilos)

Node.js 其它杂项

访问GitHub主页

共80Star

详细介绍

fifteen-kilos

Exactly 15 kilos of data.

Build Status Coverage npm version Downloads

Screenshot showing index.js is exactly 15kb in size

Usage

npm install --save fifteen-kilos

Now you have full access to all 15 kilos of data:

import fifteen from 'fifteen-kilos'

Webpack Plugin

Thanks to @markdalgleish, you can now get the magic of fifteen-kilos in webpack automatically! ?

Simply npm install --save-dev fifteen-kilos-webpack-plugin and then add it to your plugins array:

plugins: [
    new FifteenKilosPlugin()
]

Wrote a plugin for another build system? Please submit a PR adding it to the README!

React Plugin

Also thanks to @markdalgleish, you can now get the magic of fifteen-kilos in your React app automatically!

Simply npm install --save-dev react-fifteen-kilos and then use it to decorate React:

import React from 'react'
import fifteenKilos from 'react-fifteen-kilos'
fifteenKilos(React)

Wrote a plugin for another UI library? Please submit a PR adding it to the README!

Contributions

Contributions for this library are very much encouraged. Please submit PRs with either failing test cases to report a bug or an implemented feature to showcase why we need to merge that feature.

License

Copyright © 2016 Maximilian Stoiber. Licensed under the MIT license.