This compares the performance for cleaning and validating for simple-schema, faster-schema and superstruct on a big object with a complex nested schema.
Superstruct has no real cleaning method, so only the validation is tested.
npm install
node index