NPM module that verifies if a JavaScript Object contains valid pre-defined properties