devix 0.1.0 → 0.1.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/README.md +1 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,12 +23,7 @@ const { [[ModuleName]] } = require('devix')
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
25
|
```javascript
|
|
26
|
-
import {
|
|
27
|
-
|
|
28
|
-
// Using localCache
|
|
29
|
-
localCache.setCache('userInfo', { name: 'king', age: 18 })
|
|
30
|
-
const userInfo = localCache.get('userInfo')
|
|
31
|
-
console.log('userInfo', userInfo)
|
|
26
|
+
import { bubblingSort, isType } from 'devix'
|
|
32
27
|
|
|
33
28
|
// Using bubblingSort、
|
|
34
29
|
const arr1 = [123, 346, 62, 2456, 56123, 1, 64, 61, 453, 72345]
|
|
@@ -54,13 +49,6 @@ console.log(`isType(userInfo.age,'number') -> true`, isType(userInfo, 'number'))
|
|
|
54
49
|
|
|
55
50
|
## API
|
|
56
51
|
|
|
57
|
-
### Cache Apis
|
|
58
|
-
|
|
59
|
-
Provides methods related to cache operations.
|
|
60
|
-
|
|
61
|
-
- localCache
|
|
62
|
-
- sessionCache
|
|
63
|
-
|
|
64
52
|
### Clone Apis
|
|
65
53
|
|
|
66
54
|
Methods for data cloning operations.
|
package/package.json
CHANGED