JSPM

rescript-email-validator

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 63
  • Score
    100M100P100Q62973F
  • License MIT

ReScript bindings for email-validator

Package Exports

  • rescript-email-validator
  • rescript-email-validator/src/EmailValidator.res.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rescript-email-validator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rescript-email-validator

npm version Node.js CI

ReScript version for email-validator.

Install

yarn add rescript-email-validator
or
npm install rescript-email-validator

Add rescript-email-validator to bs-dependencies

"bs-dependencies": [
    ...
    "rescript-email-validator"
  ],

Example

You can find usage examples in the test folder

EmailValidator.validate(Some("test@email.com")) // true

Documentation

documentation

😐

validate-Email.jpg