{"_id":"@apiverve/markdownlinkextractor","_rev":"4-f5fb47ae93a1c23806b64bdc1495f9e9","name":"@apiverve/markdownlinkextractor","dist-tags":{"latest":"1.2.0"},"versions":{"1.1.12":{"name":"@apiverve/markdownlinkextractor","version":"1.1.12","keywords":["markdown links","link parser","url extractor","markdown analyzer","link finder"],"author":{"url":"http://apiverve.com/","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/markdownlinkextractor@1.1.12","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/markdownlinkextractor?utm_source=npm","bugs":{"url":"https://github.com/apiverve/markdownlinkextractor-api/issues"},"dist":{"shasum":"427fc5db165a5c1d8f0ebe869a759fb0bd78b37f","tarball":"https://registry.npmjs.org/@apiverve/markdownlinkextractor/-/markdownlinkextractor-1.1.12.tgz","fileCount":7,"integrity":"sha512-XoGwrOtdxTEn4TU8pi74ju2EmyaApW/JtluzxpW+1mB237cz5AyB8LOdNHofd+UgjPEIrhpHR90LoK1J8u51yg==","signatures":[{"sig":"MEUCIQCtS2hYJY8fKkSXKThztvB0ZDVgOmNgdyyr+b4WDjuB3QIgPjA2bLTvATRbUVjn0WMqMdirk7T959YqIx6gfDjIjI4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16216},"main":"index.js","types":"index.d.ts","gitHead":"9d8e77b9fc6545198b9b9f57ce739a87b73ef06c","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"apivervehq","email":"hello@apiverve.com"},"repository":{"url":"git+https://github.com/apiverve/markdownlinkextractor-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"Markdown Link Extractor parses markdown documents and extracts all links including inline, reference, autolinks, and image URLs.","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/markdownlinkextractor_1.1.12_1765262592365_0.49226442136579807","host":"s3://npm-registry-packages-npm-production"}},"1.1.13":{"name":"@apiverve/markdownlinkextractor","version":"1.1.13","keywords":[],"author":{"url":"https://apiverve.com","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/markdownlinkextractor@1.1.13","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/markdownlinkextractor?utm_source=npm&utm_medium=homepage","bugs":{"url":"https://github.com/apiverve/markdownlinkextractor-api/issues"},"dist":{"shasum":"496b1dcebc30a321deb3df56ddd530a2a2056f29","tarball":"https://registry.npmjs.org/@apiverve/markdownlinkextractor/-/markdownlinkextractor-1.1.13.tgz","fileCount":5,"integrity":"sha512-24luweDBw6RWgg+Y6yGASLEh8bCQamP4mrfj0dbpc9Mb7PGk2NF/FWGDexsJhjREs0pLuHUXNZTm/CcjRIy43Q==","signatures":[{"sig":"MEUCIQC5tqkwUiqyVL2041UZHjMcf+qr9vsrQIjekILDAZKIuAIgcaqiPyzunASzZORQxtBrC2Mv7phtjlo1/Q1xlemd7Ew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19547},"main":"index.js","types":"index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"603be281ba20b71024115a78fa6ae64907e245cc","scripts":{"test":"mocha","example":"node examples/basic.js"},"_npmUser":{"name":"charifield","email":"charifield@gmail.com"},"repository":{"url":"git+https://github.com/apiverve/markdownlinkextractor-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"Markdown Link Extractor parses markdown documents and extracts all links including inline, reference, autolinks, and image URLs.","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/markdownlinkextractor_1.1.13_1771047345291_0.04300336811050731","host":"s3://npm-registry-packages-npm-production"}},"1.1.14":{"name":"@apiverve/markdownlinkextractor","version":"1.1.14","keywords":[],"author":{"url":"https://apiverve.com","name":"APIVerve","email":"hello@apiverve.com"},"license":"MIT","_id":"@apiverve/markdownlinkextractor@1.1.14","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"homepage":"https://apiverve.com/marketplace/markdownlinkextractor?utm_source=npm&utm_medium=homepage","bugs":{"url":"https://github.com/apiverve/markdownlinkextractor-api/issues"},"dist":{"shasum":"879bedce66a96ef05f3ade25947efd7db7618387","tarball":"https://registry.npmjs.org/@apiverve/markdownlinkextractor/-/markdownlinkextractor-1.1.14.tgz","fileCount":5,"integrity":"sha512-tgCE/ak7iTxibLz44wr+Ss45OqfAVty2FVlYYlf6oavc0DSi+CUoIxa7oFfGNzy4Co2BnYEdBS76KawAy9wMQQ==","signatures":[{"sig":"MEYCIQCiwbhSNj23Q9bHHegBAr9sDBLgZ4re4hNOvqRHuAVkrwIhANZWMtwP9R4TTBfbi+Y5A++VWH6E8l39/CQCIGA7RhRm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19256},"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/markdownlinkextractor-api.git","type":"git","directory":"npm"},"_npmVersion":"10.9.3","description":"Markdown Link Extractor parses markdown documents and extracts all links including inline, reference, autolinks, and image URLs.","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/markdownlinkextractor_1.1.14_1771238389379_0.2281484431994123","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@apiverve/markdownlinkextractor","version":"1.2.0","description":"Markdown Link Extractor parses markdown documents and extracts all links including inline, reference, autolinks, and image URLs.","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/markdownlinkextractor-api.git","directory":"npm"},"keywords":["markdown links","link parser","url extractor","markdown analyzer","link finder"],"author":{"name":"APIVerve","email":"hello@apiverve.com","url":"https://apiverve.com"},"license":"MIT","bugs":{"url":"https://github.com/apiverve/markdownlinkextractor-api/issues"},"homepage":"https://apiverve.com/marketplace/markdownlinkextractor?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/markdownlinkextractor@1.2.0","_nodeVersion":"24.15.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-SGyy+oIDhBX8tJgzZu5yrT2/gI8OKHmaINbpjOb6WvcwVrl4F1aECr3qyCoCFZBq7ETLzVbPGMLBG1n5HC1M4g==","shasum":"3ca494450ae98389905fc0e08e00da5b89b85fa6","tarball":"https://registry.npmjs.org/@apiverve/markdownlinkextractor/-/markdownlinkextractor-1.2.0.tgz","fileCount":5,"unpackedSize":19734,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQClBaIiQoxaFLJvpwYCAaayNuqynVA/omDFJ1CAh4ilswIgFtQBQ+bTC0SQGG0wpCZuyOHgpcv9Z18ZaigNBHjc8cs="}]},"_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/markdownlinkextractor_1.2.0_1784151764846_0.24515713151929108"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-09T06:43:12.299Z","modified":"2026-07-15T21:42:45.144Z","1.1.12":"2025-12-09T06:43:12.504Z","1.1.13":"2026-02-14T05:35:45.451Z","1.1.14":"2026-02-16T10:39:49.519Z","1.2.0":"2026-07-15T21:42:45.004Z"},"bugs":{"url":"https://github.com/apiverve/markdownlinkextractor-api/issues"},"author":{"name":"APIVerve","email":"hello@apiverve.com","url":"https://apiverve.com"},"license":"MIT","homepage":"https://apiverve.com/marketplace/markdownlinkextractor?utm_source=npm&utm_medium=homepage","keywords":["markdown links","link parser","url extractor","markdown analyzer","link finder"],"repository":{"type":"git","url":"git+https://github.com/apiverve/markdownlinkextractor-api.git","directory":"npm"},"description":"Markdown Link Extractor parses markdown documents and extracts all links including inline, reference, autolinks, and image URLs.","maintainers":[{"name":"charifield","email":"charifield@gmail.com"},{"name":"apivervehq","email":"hello@apiverve.com"}],"readme":"# Markdown Link Extractor API\r\n\r\nMarkdown Link Extractor parses markdown documents and extracts all links including inline, reference, autolinks, and image URLs.\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/markdownlinkextractor.svg)](https://www.npmjs.com/package/@apiverve/markdownlinkextractor)\r\n\r\nThis is a Javascript Wrapper for the [Markdown Link Extractor API](https://apiverve.com/marketplace/markdownlinkextractor?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/markdownlinkextractor\r\n```\r\n\r\nUsing yarn:\r\n```shell\r\nyarn add @apiverve/markdownlinkextractor\r\n```\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore using the Markdown Link Extractor 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 Markdown Link Extractor API documentation is found here: [https://docs.apiverve.com/ref/markdownlinkextractor](https://docs.apiverve.com/ref/markdownlinkextractor?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 markdownlinkextractorAPI = require('@apiverve/markdownlinkextractor');\r\nconst api = new markdownlinkextractorAPI({\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  \"markdown\": \"# Sample Document\\n\\nCheck out [this link](https://example.com) and [another one](https://test.com).\\n\\n![Image](https://example.com/image.png)\\n\\nVisit <https://autolink.com> or just https://bare-url.com\\n\\n[Reference link][ref1]\\n\\n[ref1]: https://reference.com\"\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  \"markdown\": \"# Sample Document\\n\\nCheck out [this link](https://example.com) and [another one](https://test.com).\\n\\n![Image](https://example.com/image.png)\\n\\nVisit <https://autolink.com> or just https://bare-url.com\\n\\n[Reference link][ref1]\\n\\n[ref1]: https://reference.com\"\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  \"markdown\": \"# Sample Document\\n\\nCheck out [this link](https://example.com) and [another one](https://test.com).\\n\\n![Image](https://example.com/image.png)\\n\\nVisit <https://autolink.com> or just https://bare-url.com\\n\\n[Reference link][ref1]\\n\\n[ref1]: https://reference.com\"\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    \"totalLinks\": 6,\n    \"links\": [\n      {\n        \"text\": \"this link\",\n        \"url\": \"https://example.com\",\n        \"type\": \"inline\"\n      },\n      {\n        \"text\": \"another one\",\n        \"url\": \"https://test.com\",\n        \"type\": \"inline\"\n      },\n      {\n        \"text\": \"Image\",\n        \"url\": \"https://example.com/image.png\",\n        \"type\": \"inline\"\n      },\n      {\n        \"text\": \"Reference link\",\n        \"url\": \"https://reference.com\",\n        \"type\": \"reference\",\n        \"reference\": \"ref1\"\n      },\n      {\n        \"text\": \"https://autolink.com\",\n        \"url\": \"https://autolink.com\",\n        \"type\": \"autolink\"\n      },\n      {\n        \"text\": \"https://bare-url.com\",\n        \"url\": \"https://bare-url.com\",\n        \"type\": \"bare\"\n      }\n    ],\n    \"categories\": {\n      \"internal\": {\n        \"count\": 0,\n        \"links\": []\n      },\n      \"external\": {\n        \"count\": 6,\n        \"links\": [\n          {\n            \"text\": \"this link\",\n            \"url\": \"https://example.com\",\n            \"type\": \"inline\"\n          },\n          {\n            \"text\": \"another one\",\n            \"url\": \"https://test.com\",\n            \"type\": \"inline\"\n          },\n          {\n            \"text\": \"Image\",\n            \"url\": \"https://example.com/image.png\",\n            \"type\": \"inline\"\n          },\n          {\n            \"text\": \"Reference link\",\n            \"url\": \"https://reference.com\",\n            \"type\": \"reference\",\n            \"reference\": \"ref1\"\n          },\n          {\n            \"text\": \"https://autolink.com\",\n            \"url\": \"https://autolink.com\",\n            \"type\": \"autolink\"\n          },\n          {\n            \"text\": \"https://bare-url.com\",\n            \"url\": \"https://bare-url.com\",\n            \"type\": \"bare\"\n          }\n        ]\n      },\n      \"email\": {\n        \"count\": 0,\n        \"links\": []\n      },\n      \"other\": {\n        \"count\": 0,\n        \"links\": []\n      }\n    },\n    \"markdownLength\": 253\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"}