0.0.30 • Published 2 months ago

@gpa-gemstone/helper-functions v0.0.30

Weekly downloads
11
License
MIT
Repository
github
Last release
2 months ago

helper-functions

gemstone logo

The Gemstone Web Library organizes all Gemstone functionality related to web.

GitHub license

This library includes helpful npm package component for various helper functions such as generating information about a given html element, checking if a value is a number or an integer, or generating a random color.

Usage

# returns Unique GUID
CreateGuid();

# returns Text height
GetTextHeight(font: string, fontSize: string, word: string);

# returns Text width
GetTextWidth(font: string, fontSize: string, word: string);

# returns Node size
GetNodeSize(node: HTMLElement | null);

# returns True if int and false otherwise
IsInteger(value: any);

# returns True if number and false otherwise
IsNumber(value: any);

# returns random color
RandomColor();
0.0.30

2 months ago

0.0.29

2 months ago

0.0.28

2 months ago

0.0.21

9 months ago

0.0.22

8 months ago

0.0.24

8 months ago

0.0.25

7 months ago

0.0.26

6 months ago

0.0.27

6 months ago

0.0.20

12 months ago

0.0.19

12 months ago

0.0.18

1 year ago

0.0.17

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.10

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago