@qingclouds/shared
TypeScript icon, indicating that this package has built-in type declarations

1.5.6 • Public • Published

天下武功,唯快不破

//支持各种es6花式使用
import { patterns } from '@qingclouds/shared'
import shared, { UseStorage } from '@qingclouds/shared'
import { isWeiXin } from '@qingclouds/shared'

console.log(patterns.isMobile('13036223296'))
console.log(shared.platform.getPlatForm())
console.log(isWeiXin())

//以srorage为例
const { storage } = UseStorage
storage.set('A', 1)
storage.set('B', 1)
storage.set('C', 1)
storage.remove('A')
storage.get('B')
storage.clear()
// 为了降低打包体积,所以es 包里面没有带第三方依赖进来。自行安装即可
import Schema from 'validate';

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.60latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.60
1.5.50
1.5.40
1.5.30
1.5.20
1.5.10
1.5.00
1.4.90
1.4.80
1.4.70
1.4.50
1.4.30
1.4.20
1.4.10
1.4.00
1.3.90
1.3.80
1.3.70
1.3.60
1.3.50
1.3.30
1.3.10
1.1.100
1.1.90
1.1.80
1.1.70
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @qingclouds/shared

Weekly Downloads

0

Version

1.5.6

License

MIT

Unpacked Size

396 kB

Total Files

17

Last publish

Collaborators

  • function