UNPKG
@e280/authlocal
Version:
latest (0.2.0-39)
0.2.0-39
0.2.0-38
0.2.0-37
0.2.0-36
0.2.0-35
0.2.0-34
0.2.0-33
0.2.0-32
0.2.0-31
0.2.0-30
0.2.0-29
0.2.0-28
0.2.0-27
0.2.0-26
0.2.0-25
0.2.0-24
0.2.0-23
0.2.0-22
0.2.0-21
0.2.0-20
0.2.0-19
User-sovereign login system for everybody
github.com/e280/authlocal
e280/authlocal
@e280/authlocal
/
x
/
common
/
utils
/
id-hue.d.ts
5 lines
(4 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
5
/** derive a hue (integer 0-359) from a hex id */
export
declare
function
idHue
(
id
:
string
,
byteIndex
?:
number
):
number
;
/** derive an hsl color from a hex id */
export
declare
function
idHsl
(
id
:
string
,
byteIndex
?:
number
):
string
;