@jdlien/validator-utils 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Validator includes several utility functions that may be useful in your own code
|
|
|
24
24
|
If you wish to use these, you may import the functions directly from the module as an object that contains all the functions:
|
|
25
25
|
|
|
26
26
|
```javascript
|
|
27
|
-
import
|
|
27
|
+
import * as validatorUtils from '@jdlien/validator'
|
|
28
28
|
// you could assign the functions you need to more convenient variables
|
|
29
29
|
const { dateFormat, formatDateTime } = validatorUtils
|
|
30
30
|
```
|