2.0.0 • Published 7 years ago
edzif-validator-browser v2.0.0
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