1.0.26 ⢠Published 12 months ago
@toolcase/base v1.0.26
@toolcase/base
𧬠Collection of JavaScript helper functions and structures
ā Features
- VectorClock - Vector clock data structure used for synchronization in distributed systems
- EventEmitter - fast implementation of EventEmitter compatible with NodeJS & Browser
- Broadcast - utility used for providing broadcasting interface on top of EventEmitter
- LSystem - Lindenmayer system structure used for modeling the morphology of a variety of organisms.
- ObjectPool - Creational design pattern for reusing object instances and save GC time.
- PriorityQueue - Ordered queue data structure.
- env(key, defaultValue, type) - NodeJS helper function for reading environment variable
- generateId(length) - function for generating unique identifier
- toHex(value) - function for converting number to hexadecimal string
- bufferToHex(buffer) - function for converting Uint8Array to hexadecimal string
- hextToBuffer(hex) - function for converting hexadecimal string to Uint8Array
- Color - Material design color palette
- formatByteSize - Format byte size to human readable string
- JSONSchema - Schema is extensible structure for validating JSON objects.
š Getting started
npm install --save @toolcase/base
License
The project is licensed under MIT License
1.0.26
12 months ago
1.0.25
1 year ago
1.0.24
1 year ago
1.0.21
1 year ago
1.0.23
1 year ago
1.0.20
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.18.17
3 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
0.18.19
3 years ago
0.18.18
3 years ago
0.18.22
3 years ago
0.18.24
2 years ago
0.18.20
3 years ago
0.18.16
3 years ago
0.18.15
3 years ago
0.17.14
3 years ago
0.17.13
3 years ago
0.17.10
3 years ago
0.16.10
3 years ago
0.15.10
3 years ago
0.17.12
3 years ago
0.17.11
3 years ago
0.14.5
3 years ago
0.15.5
3 years ago
0.15.6
3 years ago
0.15.7
3 years ago
0.15.8
3 years ago
0.15.9
3 years ago
0.12.2
3 years ago
0.12.3
3 years ago
0.12.5
3 years ago
0.13.5
3 years ago
0.11.1
3 years ago
0.11.2
3 years ago
0.11.0
3 years ago
0.10.0
3 years ago
0.9.0
3 years ago
0.8.0
3 years ago
0.2.6
3 years ago