newhope-utils
v1.2.0
Published
公共工具库
Downloads
31
Readme
依赖包
需要跟随下载的依赖包请放入package.json 的peerDependencies中 依赖包打包排除请放入vite.config.js 的externals中
发布npm
注意:发布npm前需修改package.json的 version 版本号 npm publish
本地测试
生成本地的npm包
npm link
链接到本地生成的npm包
npm link newhope-utils
使用依赖包
方式1
import { UUID } from 'newhope-utils' consolo.log(UUID())
方式2
import * as utils from 'newhope-utils' consolo.log(utils.UUID())