sg-sanitize-arguments Sanitizes function arguments by specified types. Also allows for optional arguments. Installation $ component install davidtsuji/sg-sanitize-arguments API sgSanitizeArguments(arguments, {myOptions:myOptionsType,myObject:Object,myFunction:Function}) License MIT