1.0.10-a • Published 22 days ago

@mapcatch/util v1.0.10-a

Weekly downloads
-
License
MIT
Repository
-
Last release
22 days ago

catchUtil

Mapcatch系列产品的公共函数、js工具以及相关的配置信息。

使用方法

cdn引入

<script src="//unpkg.com/@mapcatch/util@latest/dist/catchUtil.min.js"></script>

<script>
// 解析jpg中的exif信息
catchUtil.getPhotoTags(file).then(info => {
  console.log(info)
})
// 生成随机Id
catchUtil.generateId()
</script>

通过npm安装

npm install @mapcatch/util
import {getPhotoTags, generateId} from '@mapcatch/util'

// 解析jpg中的exif信息
getPhotoTags(file).then(info => {
  console.log(info)
})
// 生成随机Id
generateId()

文档

更多文档查看在线文档

开发

yarn

yarn build
1.0.10-a

22 days ago

1.0.10

23 days ago

1.0.9-a

6 months ago

1.0.9

6 months ago

1.0.8-b

6 months ago

1.0.8-a

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago