$ npm install git+ssh://[email protected]:heineiuo/fetchUtils --save-dev
import {Mock, POSTUrlencodeJSON, POSTRawJSON} from '@heineiuo/fetch-utils'
use with webpack & babel:
{
test: /(\.js|\.jsx)$/,
exclude: /(node_modules\/)?!\@heineiuo)/,
loader: 'babel',
query: {
presets: ['es2015', 'stage-0', 'react']
}
}