Open
Description
The documentation on npm indicates that tree-shakeable ES imports should be done using: import isEmail from 'validator/es/lib/isEmail.js'
. However, the es folder does not exist in the package. Only the path validator/lib/isEmail.js works.
Either the es folder should exist to support ES imports as documented, or the documentation should be updated to reflect the correct import path (validator/lib/isEmail.js
).