@allkit/shared 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allkit/shared",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "this is a shared package",
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: shared
3
- description: 前端通用工具函数库,包含日期、数字、字符串、防抖节流等多种常用工具函数 / A collection of utility functions for frontend development
3
+ description: 前端通用工具函数库,包含类型判断、日期、数字、字符串、防抖节流等多种常用工具函数 / A collection of utility functions for frontend development
4
4
  author: allkit
5
5
  category: utilities
6
6
  ---
@@ -1,13 +1,34 @@
1
1
  import {
2
- isString, isNumber, isObject, isEmpty, isInteger,
3
- useDate, dateFormat, dateFromNow, durationFormat,
4
- camelize, kebabCase, snakeCase,
5
- useNumber, formatNumber, formatMoney,
6
- setLocal, getLocal, setSession, getSession,
7
- deepClone, omit, pick, debounce, throttle, uniqueId,
8
- sleep, raf, doubleRaf,
9
- isIos, isAndroid, isWeChat, getDeviceBrand,
10
- copyTextToClipboard
2
+ isString,
3
+ isNumber,
4
+ isObject,
5
+ isEmpty,
6
+ isInteger,
7
+ useDate,
8
+ dateFormat,
9
+ dateFromNow,
10
+ durationFormat,
11
+ camelize,
12
+ kebabCase,
13
+ snakeCase,
14
+ useNumber,
15
+ formatNumber,
16
+ formatMoney,
17
+ setLocal,
18
+ getLocal,
19
+ setSession,
20
+ getSession,
21
+ omit,
22
+ pick,
23
+ uniqueId,
24
+ sleep,
25
+ raf,
26
+ doubleRaf,
27
+ isIos,
28
+ isAndroid,
29
+ isWeChat,
30
+ getDeviceBrand,
31
+ copyTextToClipboard,
11
32
  } from '@allkit/shared'
12
33
 
13
34
  console.log('=== is ===')
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes