{"_id":"remark-linkify","_rev":"7-39a71605f0fa87375c2a0ab3fb4a339d","name":"remark-linkify","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.0":{"name":"remark-linkify","version":"0.0.0","keywords":["remark","remark-plugin","markdown","linkify","url","email","links"],"author":{"name":"Your Name","email":"you@example.com"},"license":"MIT","_id":"remark-linkify@0.0.0","maintainers":[{"name":"hoqua","email":"dmitrii.zolotukhin@gmail.com"}],"homepage":"https://github.com/hoqua/remark-linkify#readme","bugs":{"url":"https://github.com/hoqua/remark-linkify/issues"},"dist":{"shasum":"ecf0405a36a92266ee677f767cdbae25e12c5f0c","tarball":"https://registry.npmjs.org/remark-linkify/-/remark-linkify-0.0.0.tgz","fileCount":7,"integrity":"sha512-Jo+CDzMYELGNRujPvxJuc+Ru78H9ercYG/teNxu6x1bF0DoDjBpkp4kRjjJHYRLYIhqFwJmajYUHAX4WfShOKA==","signatures":[{"sig":"MEQCIAqvH7yU78BE3SwA8sAio8ziIAiZLGIUXD5GWVlNfh+CAiAP3cTi3JXzkCBdK36AGXSzOFSefYp7pufV1GulrDzGFw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10611},"main":"./dist/index.js","_from":"file:remark-linkify-0.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"pnpm run build --watch","lint":"eslint . --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","release":"pnpm run build && changeset publish","version":"changeset version","coverage":"vitest run --coverage","changeset":"changeset","test:watch":"vitest","coverage:badge":"make-coverage-badge --output-path ./coverage/coverage.svg"},"_npmUser":{"name":"hoqua","email":"dmitrii.zolotukhin@gmail.com"},"_resolved":"/tmp/6c167e5c914320cd1e8bd0de4adc67be/remark-linkify-0.0.0.tgz","_integrity":"sha512-Jo+CDzMYELGNRujPvxJuc+Ru78H9ercYG/teNxu6x1bF0DoDjBpkp4kRjjJHYRLYIhqFwJmajYUHAX4WfShOKA==","repository":{"url":"git+https://github.com/hoqua/remark-linkify.git","type":"git"},"_npmVersion":"10.8.2","description":"A remark plugin to automatically convert URLs and email addresses into links.","directories":{},"sideEffects":false,"_nodeVersion":"18.20.8","dependencies":{"unified":"^11.0.5","linkify-it":"^5.0.0","unist-util-visit":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","eslint":"^9.25.1","remark":"^15.0.1","vitest":"^3.1.2","typescript":"^5.8.3","@types/node":"^22.14.1","@types/mdast":"^4.0.4","@types/unist":"^3.0.3","@changesets/cli":"^2.29.2","@types/linkify-it":"^5.0.0","typescript-eslint":"^8.31.0","@vitest/coverage-v8":"^3.1.2","make-coverage-badge":"^1.2.0","eslint-plugin-vitest":"^0.5.4","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"remark":"^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/remark-linkify_0.0.0_1745331632282_0.05110106194868114","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"remark-linkify","version":"1.0.2","keywords":["remark","remark-plugin","markdown","linkify","url","email","links"],"author":{"name":"Your Name","email":"you@example.com"},"license":"MIT","_id":"remark-linkify@1.0.2","maintainers":[{"name":"hoqua","email":"dmitrii.zolotukhin@gmail.com"}],"homepage":"https://github.com/hoqua/remark-linkify#readme","bugs":{"url":"https://github.com/hoqua/remark-linkify/issues"},"dist":{"shasum":"5ee6fc2534134cbb024114db21e2d74d1e8c0ff0","tarball":"https://registry.npmjs.org/remark-linkify/-/remark-linkify-1.0.2.tgz","fileCount":7,"integrity":"sha512-YghjHWbPQZP7OQndZiIOnseKCqs8jIZDKgMFOeCRJtJwepZmDffAHWO8kGcxd/NdqUwDpP0E3GIWIMafs5d9KQ==","signatures":[{"sig":"MEUCIEH7qGgw84Zc7bqtqaPeWzdXoNX4Km5RIO02kfxrHYWRAiEAjbsJQ6TsKw0lcDsBMMmiVyFqyznXOZcwnTOjIh0pWt4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10611},"main":"./dist/index.js","_from":"file:remark-linkify-1.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"pnpm run build --watch","lint":"eslint . --ext .ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","release":"pnpm run build && changeset publish","version":"changeset version","coverage":"vitest run --coverage","changeset":"changeset","test:watch":"vitest","coverage:badge":"make-coverage-badge --output-path ./coverage/coverage.svg"},"_npmUser":{"name":"hoqua","email":"dmitrii.zolotukhin@gmail.com"},"_resolved":"/tmp/c3aad2ec0670ebaa55025649184739b6/remark-linkify-1.0.2.tgz","_integrity":"sha512-YghjHWbPQZP7OQndZiIOnseKCqs8jIZDKgMFOeCRJtJwepZmDffAHWO8kGcxd/NdqUwDpP0E3GIWIMafs5d9KQ==","repository":{"url":"git+https://github.com/hoqua/remark-linkify.git","type":"git"},"_npmVersion":"10.8.2","description":"A remark plugin to automatically convert URLs and email addresses into links.","directories":{},"sideEffects":false,"_nodeVersion":"18.20.8","dependencies":{"unified":"^11.0.5","linkify-it":"^5.0.0","unist-util-visit":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","eslint":"^9.25.1","remark":"^15.0.1","vitest":"^3.1.2","typescript":"^5.8.3","@types/node":"^22.14.1","@types/mdast":"^4.0.4","@types/unist":"^3.0.3","@changesets/cli":"^2.29.2","@types/linkify-it":"^5.0.0","typescript-eslint":"^8.31.0","@vitest/coverage-v8":"^3.1.2","make-coverage-badge":"^1.2.0","eslint-plugin-vitest":"^0.5.4","@typescript-eslint/parser":"^8.31.0","@typescript-eslint/eslint-plugin":"^8.31.0"},"peerDependencies":{"remark":"^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/remark-linkify_1.0.2_1745333574252_0.23922007309905213","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"remark-linkify","version":"1.1.0","description":"A remark plugin to automatically convert URLs and email addresses into links.","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["remark","remark-plugin","markdown","linkify","url","email","links"],"author":{"name":"Your Name","email":"you@example.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hoqua/remark-linkify.git"},"bugs":{"url":"https://github.com/hoqua/remark-linkify/issues"},"homepage":"https://github.com/hoqua/remark-linkify#readme","publishConfig":{"access":"public"},"engines":{"node":">=18"},"peerDependencies":{"remark":"^14.0.0 || ^15.0.0"},"devDependencies":{"@changesets/cli":"^2.29.2","@types/linkify-it":"^5.0.0","@types/mdast":"^4.0.4","@types/node":"^22.14.1","@types/unist":"^3.0.3","@typescript-eslint/eslint-plugin":"^8.31.0","@typescript-eslint/parser":"^8.31.0","@vitest/coverage-v8":"^3.1.2","eslint":"^9.25.1","eslint-plugin-vitest":"^0.5.4","make-coverage-badge":"^1.2.0","remark":"^15.0.1","tsup":"^8.4.0","typescript":"^5.8.3","typescript-eslint":"^8.31.0","vitest":"^3.1.2"},"dependencies":{"linkify-it":"^5.0.0","unified":"^11.0.5","unist-util-visit":"^5.0.0"},"scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --clean","dev":"pnpm run build --watch","lint":"eslint . --ext .ts","test":"vitest run","test:watch":"vitest","coverage":"vitest run --coverage","coverage:badge":"make-coverage-badge --output-path ./coverage/coverage.svg","changeset":"changeset","version":"changeset version","release":"pnpm run build && changeset publish"},"_id":"remark-linkify@1.1.0","_integrity":"sha512-VKM3EoZO3/9b1SVdNOOqD8jcYrYP8FH5ikuNMtoiRNGifQuqO3+T8h4xd8OhnWePnOiYKlCMV8+T3fipQQlgEA==","_resolved":"/tmp/e17a502253555d6703d2a6baedf7865a/remark-linkify-1.1.0.tgz","_from":"file:remark-linkify-1.1.0.tgz","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-VKM3EoZO3/9b1SVdNOOqD8jcYrYP8FH5ikuNMtoiRNGifQuqO3+T8h4xd8OhnWePnOiYKlCMV8+T3fipQQlgEA==","shasum":"a1bf6af3bacc2b821b86f383820ae857ece189da","tarball":"https://registry.npmjs.org/remark-linkify/-/remark-linkify-1.1.0.tgz","fileCount":7,"unpackedSize":10793,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCGNC7t+2X418wLTvonzddfoDc9RCSQMXgleUUmBxQ56QIhANVQ3P2+EDfeI8WdvkCLKCz90WCVwcnbLCPjUuw6MbhG"}]},"_npmUser":{"name":"hoqua","email":"dmitrii.zolotukhin@gmail.com"},"directories":{},"maintainers":[{"name":"hoqua","email":"dmitrii.zolotukhin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/remark-linkify_1.1.0_1757447278294_0.029535677588175657"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-22T14:52:54.157Z","modified":"2025-09-09T19:47:58.658Z","1.0.0":"2022-10-28T16:24:18.705Z","1.0.1":"2022-10-30T23:04:35.944Z","0.0.0":"2025-04-22T14:20:32.478Z","1.0.2":"2025-04-22T14:52:54.461Z","1.1.0":"2025-09-09T19:47:58.482Z"},"bugs":{"url":"https://github.com/hoqua/remark-linkify/issues"},"author":{"name":"Your Name","email":"you@example.com"},"license":"MIT","homepage":"https://github.com/hoqua/remark-linkify#readme","keywords":["remark","remark-plugin","markdown","linkify","url","email","links"],"repository":{"type":"git","url":"git+https://github.com/hoqua/remark-linkify.git"},"description":"A remark plugin to automatically convert URLs and email addresses into links.","maintainers":[{"name":"hoqua","email":"dmitrii.zolotukhin@gmail.com"}],"readme":"# remark-linkify\n\n[![NPM version](https://img.shields.io/npm/v/remark-linkify)](https://www.npmjs.com/package/remark-linkify)\n[![Downloads](https://img.shields.io/npm/dm/remark-linkify)](https://www.npmjs.com/package/remark-linkify)\n[![Bundle size](https://img.shields.io/bundlephobia/minzip/remark-linkify)](https://bundlephobia.com/package/remark-linkify)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/hoqua/remark-linkify/ci.yml?branch=main)](https://github.com/hoqua/remark-linkify/actions/workflows/ci.yml)\n[![Coverage Status](coverage/coverage.svg)](./coverage/coverage-summary.json)\n[![License](https://img.shields.io/npm/l/remark-linkify)](LICENSE)\n\nA [remark](https://github.com/remarkjs/remark) plugin to automatically detect URLs and email addresses in text and turn them into Markdown links.\n\n## Features\n\n*   Automatically converts URLs (like `http://example.com`) and emails (`user@example.com`) into links.\n*   Uses the robust `linkify-it` library for accurate detection.\n*   Integrates seamlessly with the `remark`/`unified` ecosystem.\n*   Avoids linkifying text within existing links or code blocks (by default behavior of `unist-util-visit`).\n*   Supports ESM and CJS.\n\n## Installation\n\n```bash\npnpm add remark-linkify\n```\n```bash\nyarn add remark-linkify\n```\n```bash\nnpm install remark-linkify\n```\n\n## Usage\n\n### With `remark`\n\n```javascript\nimport { remark } from 'remark';\nimport remarkLinkify from 'remark-linkify'; // Note: Default export\n\nconst markdownInput = `\nVisit example.com or contact user@example.com.\nAlso check https://another.example.org.\n`;\n\nasync function processMarkdown() {\n  const file = await remark()\n    .use(remarkLinkify)\n    .process(markdownInput);\n\n  console.log(String(file));\n  /*\n  Output:\n  Visit [example.com](http://example.com) or contact [user@example.com](mailto:user@example.com).\n  Also check [https://another.example.org](https://another.example.org).\n  */\n}\n\nprocessMarkdown();\n```\n\n### With `react-markdown`\n\n```jsx\nimport ReactMarkdown from 'react-markdown';\nimport remarkLinkify from 'remark-linkify';\nimport remarkGfm from 'remark-gfm'; // Example other plugin\n\nconst markdown = \"Go to example.com or email info@example.com.\";\n\nfunction MyComponent() {\n  return (\n    <ReactMarkdown\n      remarkPlugins={[remarkGfm, remarkLinkify]}\n    >\n      {markdown}\n    </ReactMarkdown>\n  );\n}\n\nexport default MyComponent;\n```\n\n## API\n\nThis plugin currently does not accept any options.\n\n```typescript\nimport type { Transformer } from 'unified';\nimport type { Root } from 'mdast';\n\n/**\n * A remark plugin to automatically detect URLs and email addresses in text \n * and turn them into Markdown links.\n */\ndeclare function remarkLinkify(): Transformer<Root, Root>;\n\nexport default remarkLinkify;\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}