Jithinqw / Cerberus

JavaScript validations made easy
https://jithinqw.github.io/Cerberus/
GNU General Public License v3.0
2 stars 1 forks source link

Convert `module.exports` to `default export` #20

Closed Jithinqw closed 4 years ago

Jithinqw commented 4 years ago

Currently the apis are accessed using cerberus.cerberus.isEmailValid. This is because the module.exports is been used. Convert module.exports to default export.

Jithinqw commented 4 years ago

default export issue is fixed in latest v0.11.0 release.

Jithinqw commented 4 years ago

Closing issue, reopen if any problems faced.