{"_id":"@apiverve/caaparser","_rev":"4-318d2f827c8cbe12ee7394f7434954f2","name":"@apiverve/caaparser","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.12":{"name":"@apiverve/caaparser","version":"1.1.12","keywords":["caa record","dns caa","certificate authority authorization","caa parser","dns parser"],"author":{"url":"http://apiverve.com/","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/caaparser@1.1.12","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/caaparser?utm_source=npm","bugs":{"url":"https://github.com/apiverve/caaparser-api/issues"},"dist":{"shasum":"69c55283940d901a0172562b63e46b8f5b79672b","tarball":"https://registry.npmjs.org/@apiverve/caaparser/-/caaparser-1.1.12.tgz","fileCount":7,"integrity":"sha512-EFkML+dp0Q38M4qum97uwRp42YCm2cIQx682rT4M0+38SRyPTK3QI1GOehwGverrDkoYgqYSv5J1+9KAkwEyFw==","signatures":[{"sig":"MEUCIQDxAvliq5wCWQZ0L7FrrXJEKg26XaSn2tkpjyctWagSyQIgVqNty44G4TJVhKvexmmdQGIX1Z9/45YcLrO6QPCtri4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13951},"main":"index.js","types":"index.d.ts","gitHead":"c20be9302b131ee4cd948af4a4a425ae3c7f5266","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"apivervehq","email":"hello@apiverve.com"},"repository":{"url":"git+https://github.com/apiverve/caaparser-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"axios":"1.13.2","promise":"^8.3.0","node-fetch":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","dotenv":"^16.4.7"},"_npmOperationalInternal":{"tmp":"tmp/caaparser_1.1.12_1765258707042_0.19243671999478829","host":"s3://npm-registry-packages-npm-production"}},"1.1.13":{"name":"@apiverve/caaparser","version":"1.1.13","keywords":[],"author":{"url":"https://apiverve.com","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/caaparser@1.1.13","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/caaparser?utm_source=npm&utm_medium=homepage","bugs":{"url":"https://github.com/apiverve/caaparser-api/issues"},"dist":{"shasum":"7e512f9fe07d843641fd244db782bf6ca4109474","tarball":"https://registry.npmjs.org/@apiverve/caaparser/-/caaparser-1.1.13.tgz","fileCount":5,"integrity":"sha512-zrJCytEaey4pCegkaTBTWzziXIXXfVJwBtIQKOLI/PmfaTvuMmLx1F6c24TbeyaKArIKNiJ5bhHViVmYtiAA6w==","signatures":[{"sig":"MEYCIQCGhtjtGbpFGOofGYdxijSiCd/IrH5TKbIql2KmHv0ukgIhALYcYJ3o2MvkOVY1o015BqIlNJuvPthmEwr7UcMcGoFi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17507},"main":"index.js","types":"index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"ce2f1b5152a99be2e642b636c2eb1d1a27177511","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"charifield","email":"charifield@gmail.com"},"repository":{"url":"git+https://github.com/apiverve/caaparser-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"axios":"1.13.2","promise":"^8.3.0","node-fetch":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","dotenv":"^16.4.7"},"_npmOperationalInternal":{"tmp":"tmp/caaparser_1.1.13_1771017966134_0.9906340449313653","host":"s3://npm-registry-packages-npm-production"}},"1.1.14":{"name":"@apiverve/caaparser","version":"1.1.14","keywords":[],"author":{"url":"https://apiverve.com","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/caaparser@1.1.14","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/caaparser?utm_source=npm&utm_medium=homepage","bugs":{"url":"https://github.com/apiverve/caaparser-api/issues"},"dist":{"shasum":"1d8afc476c2fdc65aea8fc537cbe4083b9c1cbf1","tarball":"https://registry.npmjs.org/@apiverve/caaparser/-/caaparser-1.1.14.tgz","fileCount":5,"integrity":"sha512-+znCgalKniceSnmVG/xQeTSFJeOaPSChJcD7AN03Dp1lIKl+PqWuBclf6sqbgLjxTuOAV6SuDqJSJhTSDAQlqQ==","signatures":[{"sig":"MEYCIQDMc7iyypNymvEWSz+nwfQ9nJ9IglcuTLv7IvTCuAMO7wIhALufMNY7e82Cl18lrjMQiPvusdJPpJyUpKFg1shfySFK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17216},"main":"index.js","types":"index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"2f35257ac4df6e979213a38ff3974fd82a1cf5b1","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"charifield","email":"charifield@gmail.com"},"repository":{"url":"git+https://github.com/apiverve/caaparser-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"axios":"1.13.2","promise":"^8.3.0","node-fetch":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","dotenv":"^16.4.7"},"_npmOperationalInternal":{"tmp":"tmp/caaparser_1.1.14_1771235915383_0.3358559985918166","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@apiverve/caaparser","version":"1.2.0","description":"CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.","main":"index.js","types":"index.d.ts","sideEffects":false,"engines":{"node":">=18.0.0"},"scripts":{"test":"mocha","example":"node examples/basic.js"},"repository":{"type":"git","url":"git+https://github.com/apiverve/caaparser-api.git","directory":"npm"},"keywords":["caa record","dns caa","certificate authority authorization","caa parser","dns parser"],"author":{"name":"APIVerve","email":"hello@apiverve.com","url":"https://apiverve.com"},"license":"MIT","bugs":{"url":"https://github.com/apiverve/caaparser-api/issues"},"homepage":"https://apiverve.com/marketplace/caaparser?utm_source=npm&utm_medium=homepage","devDependencies":{"mocha":"^11.0.1","chai":"^5.1.2","dotenv":"^16.4.7"},"dependencies":{"axios":"1.13.2","form-data":"^4.0.1"},"gitHead":"2878cdb345f00af84126a08bcc1be2b68ae96fec","_id":"@apiverve/caaparser@1.2.0","_nodeVersion":"24.15.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-7U/w9QqBrdVKAzOfc2zhkP2wE6jQ/0x/1FggkFUmSxbkrnP2wWh23tc9TRYYFkaSUeux2uQjt+7dJOzvQMMr8g==","shasum":"3fb3f519d023df0fda7045d480157f23d7df5b39","tarball":"https://registry.npmjs.org/@apiverve/caaparser/-/caaparser-1.2.0.tgz","fileCount":5,"unpackedSize":17763,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDopsU83XDRuLU/WAIOYKATm/3M7XO7DwP1wjRC2bLynwIhANLGUDs/9kEjPYTFK1gBvT0i1gxHM20y8gEcQvVl4F33"}]},"_npmUser":{"name":"apivervehq","email":"hello@apiverve.com"},"directories":{},"maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/caaparser_1.2.0_1784148537848_0.8079139179245522"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-09T05:38:26.971Z","modified":"2026-07-15T20:48:58.135Z","1.1.12":"2025-12-09T05:38:27.177Z","1.1.13":"2026-02-13T21:26:06.279Z","1.1.14":"2026-02-16T09:58:35.530Z","1.2.0":"2026-07-15T20:48:57.985Z"},"bugs":{"url":"https://github.com/apiverve/caaparser-api/issues"},"author":{"name":"APIVerve","email":"hello@apiverve.com","url":"https://apiverve.com"},"license":"MIT","homepage":"https://apiverve.com/marketplace/caaparser?utm_source=npm&utm_medium=homepage","keywords":["caa record","dns caa","certificate authority authorization","caa parser","dns parser"],"repository":{"type":"git","url":"git+https://github.com/apiverve/caaparser-api.git","directory":"npm"},"description":"CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"readme":"# CAA Record Parser API\r\n\r\nCAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.\r\n\r\n![Build Status](https://img.shields.io/badge/build-passing-green)\r\n![Code Climate](https://img.shields.io/badge/maintainability-B-purple)\r\n![Prod Ready](https://img.shields.io/badge/production-ready-blue)\r\n[![npm version](https://img.shields.io/npm/v/@apiverve/caaparser.svg)](https://www.npmjs.com/package/@apiverve/caaparser)\r\n\r\nThis is a Javascript Wrapper for the [CAA Record Parser API](https://apiverve.com/marketplace/caaparser?utm_source=npm&utm_medium=readme)\r\n\r\n---\r\n\r\n## Installation\r\n\r\nUsing npm:\r\n```shell\r\nnpm install @apiverve/caaparser\r\n```\r\n\r\nUsing yarn:\r\n```shell\r\nyarn add @apiverve/caaparser\r\n```\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore using the CAA Record Parser API client, you have to setup your account and obtain your API Key.\r\nYou can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=npm&utm_medium=readme)\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n[Get started with the Quick Start Guide](https://docs.apiverve.com/quickstart?utm_source=npm&utm_medium=readme)\r\n\r\nThe CAA Record Parser API documentation is found here: [https://docs.apiverve.com/ref/caaparser](https://docs.apiverve.com/ref/caaparser?utm_source=npm&utm_medium=readme).\r\nYou can find parameters, example responses, and status codes documented here.\r\n\r\n### Setup\r\n\r\n```javascript\r\nconst caaparserAPI = require('@apiverve/caaparser');\r\nconst api = new caaparserAPI({\r\n    api_key: '[YOUR_API_KEY]'\r\n});\r\n```\r\n\r\n---\r\n\r\n## Usage\r\n\r\n---\r\n\r\n### Perform Request\r\n\r\nUsing the API is simple. All you have to do is make a request. The API will return a response with the data you requested.\r\n\r\n```javascript\r\nvar query = {\n  \"record\": \"example.com. 3600 IN CAA 0 issue \\\"letsencrypt.org\\\"\"\n};\r\n\r\napi.execute(query, function (error, data) {\r\n    if (error) {\r\n        return console.error(error);\r\n    } else {\r\n        console.log(data);\r\n    }\r\n});\r\n```\r\n\r\n---\r\n\r\n### Using Promises\r\n\r\nYou can also use promises to make requests. The API returns a promise that you can use to handle the response.\r\n\r\n```javascript\r\nvar query = {\n  \"record\": \"example.com. 3600 IN CAA 0 issue \\\"letsencrypt.org\\\"\"\n};\r\n\r\napi.execute(query)\r\n    .then(data => {\r\n        console.log(data);\r\n    })\r\n    .catch(error => {\r\n        console.error(error);\r\n    });\r\n```\r\n\r\n---\r\n\r\n### Using Async/Await\r\n\r\nYou can also use async/await to make requests. The API returns a promise that you can use to handle the response.\r\n\r\n```javascript\r\nasync function makeRequest() {\r\n    var query = {\n  \"record\": \"example.com. 3600 IN CAA 0 issue \\\"letsencrypt.org\\\"\"\n};\r\n\r\n    try {\r\n        const data = await api.execute(query);\r\n        console.log(data);\r\n    } catch (error) {\r\n        console.error(error);\r\n    }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Example Response\r\n\r\n```json\r\n{\n  \"status\": \"ok\",\n  \"error\": null,\n  \"data\": {\n    \"raw_record\": \"example.com. 3600 IN CAA 0 issue \\\"letsencrypt.org\\\"\",\n    \"parsed\": {\n      \"domain\": \"example.com\",\n      \"ttl\": 3600,\n      \"class\": \"IN\",\n      \"flags\": 0,\n      \"tag\": \"issue\",\n      \"value\": \"letsencrypt.org\"\n    },\n    \"ca_info\": {\n      \"name\": \"Let's Encrypt\",\n      \"type\": \"Free\",\n      \"wildcard_support\": true\n    },\n    \"interpretation\": {\n      \"meaning\": \"Only letsencrypt.org is authorized to issue certificates\",\n      \"restriction\": \"Restricted to specific CA\",\n      \"critical\": false,\n      \"critical_explanation\": \"Non-critical - CA may proceed if not understood\"\n    },\n    \"tag_description\": \"Authorizes a CA to issue certificates (any type)\",\n    \"is_valid\": true\n  }\n}\r\n```\r\n\r\n---\r\n\r\n## Customer Support\r\n\r\nNeed any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=npm&utm_medium=readme).\r\n\r\n---\r\n\r\n## Updates\r\n\r\nStay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.\r\n\r\n---\r\n\r\n## Legal\r\n\r\nAll usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=npm&utm_medium=readme), [Privacy Policy](https://apiverve.com/privacy?utm_source=npm&utm_medium=readme), and [Refund Policy](https://apiverve.com/refund?utm_source=npm&utm_medium=readme).\r\n\r\n---\r\n\r\n## License\r\nLicensed under the The MIT License (MIT)\r\n\r\nCopyright (&copy;) 2026 APIVerve, and EvlarSoft LLC\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n","readmeFilename":"README.md"}