edzif-validator-browser

2.0.0 • Public • Published

EDZIF validator (browser version)

Circle CI JavaScript Style Guide Code Climate

Library to validate DNS zones in EDZIF format.

Browser version of edzif-validator, using joi-browser to make a more compact package for browser use.

Example usage

To validate a zone (ES6 syntax, Node.js):

const { Zone } = require('edzif-validator');

Zone(zoneData).then((result) => {
    // Check result.valid to see if we got a valid response.
    // Check result.errors to see any errors returned.
});

Development

To run the test suite whenever the code changes, run:

npm run dev

Readme

Keywords

Package Sidebar

Install

npm i edzif-validator-browser

Weekly Downloads

2

Version

2.0.0

License

ISC

Last publish

Collaborators

  • mikl