Refactor get command: - Leverage default params of Node 6. - Move all hard-coded values to top of the files as constants. - Move all argument type checks to the top of each function. - Prefer to throw the Error obejct rather than returning it when failed type checking.
Refactor get command:
- Leverage default params of Node 6.
- Move all hard-coded values to top of the files as constants.
- Move all argument type checks to the top of each function.
- Prefer to throw the Error obejct rather than returning it when failed type checking.

Permagate/vndb