JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1117
  • Score
    100M100P100Q110896F
  • License MIT

service utils

Package Exports

  • @ezuikit/utils-service
  • @ezuikit/utils-service/dist/index.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 (@ezuikit/utils-service) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

工具

import Service from '@ezuikit/utils-service';

const service = new Service({
  domain: 'https://open.ys7.com',
  accessToken: 'at.4r4n1p535kz3kdeg56k6h4cdd3z147ba-3uuk044uhl-1ecgni4-dpznmvve8',
  deviceSerial: 'L16120197',
});

service.getDeviceInfo(); // 获取设备信息