Have ideas to improve npm?Join in the discussion! ¬Ľ

    @feizheng/next-axios

    3.0.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    next-axios

    Axios common features based on next toolkit.

    install

    npm install -S @feizheng/next-axios

    apis

    api params description
    get - desc balabala

    usage

    import NxAxios from '@feizheng/next-axios';
     
    // code goes here:

    react-native: info.plist

    <!-- Networking config -->
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSExceptionDomains</key>
        <dict>
            <key>localhost</key>
            <dict>
                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
                <true/>
            </dict>
        </dict>
    </dict>

    resources:

    todos:

    • next-axios transformParam: when get/post/ and different API name
    • transformParam: remove nx.param default
    • response/request Class for input/output data wrapper.
    • cacnel request

    fetch cancel/abort

    Keywords

    none

    Install

    npm i @feizheng/next-axios

    DownloadsWeekly Downloads

    1

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    13.7 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar