Talha-T / Sandhands

Expressive Javascript Sanitation

Home Page:https://l1lith.github.io/Sandhands/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sandhands

Expressive Javascript Sanitation, Zero Dependencies.

Example Usage

import {sanitize, valid, details} from 'sandhands'

valid(12, String) // returns false
sanitize(12, String) // throws error with message "Invalid Type"
details(12, String) // returns ["Invalid Type"]

About

Expressive Javascript Sanitation

https://l1lith.github.io/Sandhands/


Languages

Language:JavaScript 88.2%Language:CSS 10.7%Language:HTML 1.1%