A library to filter and validate input values of various types in javascript