Skip to content

Commit

Permalink
πŸ”€ chore(README.md): update import statement to use default export of …
Browse files Browse the repository at this point in the history
…@vmgware/js-validator package for better code readability and consistency
  • Loading branch information
Codycody31 committed Dec 13, 2023
1 parent b8302da commit 8561ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ npm install @vmgware/js-validator
Here's a basic example to validate a user registration form:

```javascript
const Validator = require("@vmgware/js-validator").default;
const Validator = require("@vmgware/js-validator");

// Define validation rules
const rules = {
Expand Down

0 comments on commit 8561ea9

Please sign in to comment.