edzif-validator-browser
v2.0.0
Published
Library to validate DNS zones in EDZIF format (browser-version).
Downloads
4
Readme
EDZIF validator (browser version)
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