1.0.25 ā€¢ Published 26 days ago

@toolcase/base v1.0.25

Weekly downloads
-
License
MIT
Repository
github
Last release
26 days ago

@toolcase/base

GitHub npm version npm downloads

šŸ§¬ 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.25

26 days ago

1.0.24

26 days ago

1.0.21

30 days ago

1.0.23

30 days ago

1.0.20

2 months ago

1.0.18

4 months ago

1.0.17

4 months ago

1.0.16

4 months ago

1.0.15

4 months ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.18.17

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.18.19

1 year ago

0.18.18

1 year ago

0.18.22

1 year ago

0.18.24

1 year ago

0.18.20

1 year ago

0.18.16

1 year ago

0.18.15

2 years ago

0.17.14

2 years ago

0.17.13

2 years ago

0.17.10

2 years ago

0.16.10

2 years ago

0.15.10

2 years ago

0.17.12

2 years ago

0.17.11

2 years ago

0.14.5

2 years ago

0.15.5

2 years ago

0.15.6

2 years ago

0.15.7

2 years ago

0.15.8

2 years ago

0.15.9

2 years ago

0.12.2

2 years ago

0.12.3

2 years ago

0.12.5

2 years ago

0.13.5

2 years ago

0.11.1

2 years ago

0.11.2

2 years ago

0.11.0

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.2.6

2 years ago