2.0.0 • Published 7 years ago

edzif-validator-browser v2.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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
2.0.0

7 years ago

1.1.1

7 years ago