npm.io
0.7.2 • Published 3 years ago

@cv-dev/cv-auth

Licence
MIT
Version
0.7.2
Deps
12
Size
523 kB
Vulns
25
Weekly
0

CV AUTH PACKAGE

Installation

yarn add cv-auth

Setting up

Helper Functions

import * as helpers from 'cv-auth/utils';

Available Functions

Function Name Description Parameter Return types
GenerateNos generates a random integer of specified length length (integer, optional, defaults to 6) Number/BigInt
GenerateId generates a random string of specified length length (integer, optional default to 9) String
Capitalize Capitalizes the first letter of every word in the string passed String String