JSPM

mihome-sdk

0.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q8456F
    • License ISC

    米家登录,数据加密接口!

    Package Exports

    • mihome-sdk
    • mihome-sdk/main.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mihome-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    米家SKD(MiHome_SDK)

    介绍

    入参手机号密码,返回token加密盐

    使用方法

    const {login,httpEncrypt} = require('mihome_sdk')
    login('手机号','密码') //返回token,盐
    httpEncrypt('api接口名','加密的数据','盐') //返回加密后的数据