weapp-commons-util

0.0.4 • Public • Published

weapp-commons-util

NPM version Build Status Coverage Status changelog license

npm-image

微信小程序通用工具库

Example

import {
    appendUrl
} from 'weapp-commons-util';
 
appendUrl('https://domain.com', {
    a: 1,
    b: 2
});

APIDoc

ESDoc

  • util - 工具函数
    • appendUrl
    • checkUpdate
    • getCssString
    • getCurrentPageUrl
    • getCurrentPageUrlParams
    • getHttpResponseHeaderValue
    • hasAuth
    • invokePageMethod
    • isGetPhoneNumberSuccess
    • isGetUserInfoSuccess
    • reloadCurrentPage
  • wx - 包装 wx 的方法
    • navigateBack
    • navigateTo
    • redirectTo

Dependencies (2)

Dev Dependencies (6)

Package Sidebar

Install

npm i weapp-commons-util

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

28.8 kB

Total Files

16

Last publish

Collaborators

  • ufologist