Skip to content

Latest commit

 

History

History

ctype

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@zcloak/ctype

CType(Credential Type) defines a way to verify the credential subject(claims) data type, which is based on json-schema for validation.

Usage

Installation -

yarn add @zcloak/ctype

Functions can be imported as follows:

import { validateSubject, validateSubjectPartial } from '@zcloak/ctype';