spf-validator

0.2.0 • Public • Published

spf-validator

This module wraps utilities for checking and validating SPF records.

Install

$ npm install spf-validator --save

Usage

Initialization

We simply construct an SPFValidator by passing the domain of interest.

var SPFValidator = require('spf-validator');
var validator = new SPFValidator('mixmax.com');

Checking for the existence of SPF records

We can then see if this domain has any SPF records setup.

validator.hasRecords((err, hasRecords) => console.log(hasRecords));

Changelog

0.2.0 - Make sure we don't have errors when a domain isn't registered or doesn't have any TXT records. 0.1.0 - Constructor and hasRecords()

Readme

Keywords

Package Sidebar

Install

npm i spf-validator

Weekly Downloads

90

Version

0.2.0

License

MIT

Last publish

Collaborators

  • alan-hadyk
  • leonardo-mixmax
  • dmytro.prysiazhnyi
  • laszlovaspal
  • akashbhalla
  • hishank
  • danyloderkach
  • sergey.polyarush
  • jordins
  • eugene.safronov.dewais
  • joneslloyd
  • kamilgruszka
  • tharindu-wj
  • aminao
  • enuma
  • adriandmitroca
  • mixmaxkristina
  • corridonimatias
  • mikusd
  • mixmax_it
  • andra.lazariuc
  • danaya
  • adborroto
  • aaavakian
  • dnechay
  • raphaelbs
  • guilhermemj
  • eduard.borges
  • mixmax-codeship
  • bradvogel
  • jessem3
  • jsalvata
  • gabriel-mixmax
  • ttacon