npm.io
1.0.4 • Published 5 years ago

yw_tool

Licence
ISC
Version
1.0.4
Deps
0
Size
12 kB
Vulns
0
Weekly
0

yw_tool

小程序util工具方法库:

  • 包含log,util等方法;
  • 目前log方法只适用于miniprogram

开发

  1. 安装依赖:
npm install yw_tool --save
  1. 执行构建npm:
  • 点击开发者工具中的菜单栏:工具 --> 构建 npm
  • 构建
  1. 勾选“使用npm模块”选项:
  • 使用npm模块

使用

构建后使用npm包:

import {log, util} from 'yw_tool';