Skemata
Skemata is a small library for validating object structure and value types. It was extracted during development of config validation for Brunch.
Sample use (straight from brunch)
const v = skematav;const configBaseSchema = vobject paths: vobject root: vstring public: vstring watched: v ignored: v assets: v test: v vendor: v config: vstring packageConfig: vstring bowerConfig: vstring rootPath: v buildPath: v // ...;