{"_id":"remark-linkify-regex","_rev":"4-43dc23b0f26a32ff426c801ad23a57fd","name":"remark-linkify-regex","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"remark-linkify-regex","version":"1.0.0","description":"Converts regex matches insides text nodes to link nodes","repository":{"type":"git","url":"git+https://gitlab.com/staltz/remark-linkify-regex.git"},"main":"index.js","scripts":{"test":"tape test.js"},"author":{"name":"staltz.com"},"license":"MIT","keywords":["unified","remark","mdast","markdown","unist"],"dependencies":{"unist-util-visit-parents":"2.0.x","unist-util-flatmap":"1.0.x"},"devDependencies":{"tape":"^4.8.0","unified":"7.0.0","unist-util-inspect":"4.1.3","remark-parse":"5.0.0"},"gitHead":"87b71492ba4cab80b07cd81dcbbe9dc8377c5656","bugs":{"url":"https://gitlab.com/staltz/remark-linkify-regex/issues"},"homepage":"https://gitlab.com/staltz/remark-linkify-regex#readme","_id":"remark-linkify-regex@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"staltz","email":"andre+npm@staltz.com"},"dist":{"integrity":"sha512-ysHcEHKFGmdjfcsWD7fLZw3soTOtuLbL2+xXH/kyf8fZROKD92gINgkb0QVPdTjfuRj/wycs4IQjqiSJy0uqTA==","shasum":"afcaf4dcc96ffdf62e7aca490c3f3f5969a43f85","tarball":"https://registry.npmjs.org/remark-linkify-regex/-/remark-linkify-regex-1.0.0.tgz","fileCount":5,"unpackedSize":12910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6wetCRA9TVsSAnZWagAAzHsQAI1JPZbkITQb7FljnWln\nOuSZNN/ckCW1MVDSb0zD3002EWJl1mA7IT8u70jaDO0B4z/Qso30G6QgxBFH\nrN962Hii1hxXgecxr7Qe3FmfBb4514LTNoKnGGWD/zSJbqheVf4GHnkoIaMT\nUFsGZuSurFrIKyPOGaBF450ie4kfpmfYvx4j5Z8g3v6mop4fMX9CLo9Zm50G\n9xBy39+xPBJNQmjwbronqaZyuvz9xWINOBt7QAYoJogwM49wJFVPxlAXBepI\ncDvU8/CPzfHLlBmR4OH+tqsQbhft6jmhZlLriGUHeO25L+hOrLGkkpTKe1Mh\nJQpXyUNGjnpARr9EzORnDBNTJTYnR2I7d94AnVCkgUmgIQH1eXX88jzCc9wb\n0twBIf2TDnL5dn/qAjxW1Qb7jKS+gzs6MYfVqY3arwUuuKMUCu1GgifdCpF1\nwlhXS9u3iqitON+cHiJto06YsQi7SnOY1Vcg7sZw09ovTCCb4GFMKSjddvZ1\nvh5QhEfKSQJfPdr13a+nhkTAlaPVsEWz97MHnCm565zOdc/BQ8UP6eXUD5JR\nv4CdKICX78iC+4DxTGS0Yfxf7wXJZdpN8qgvLsyV5xqx+poikZc0V4tIPiZa\nG782vUNhRaQzIgrs1xcSmH4hsjnzVGZ3UGVHnnSdxrcmvF1ZWeXkbk94TxrX\nQZgr\r\n=9zgO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmMK1r5Oqmogt/jRJFeo7ydufHdX4Yoq2U1F/tfaohyAiAik691YIY5ot1zYfPb7Ahp3ukHIGss7YNmYjcbexcrlw=="}]},"maintainers":[{"name":"staltz","email":"andre+npm@staltz.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-linkify-regex_1.0.0_1542129580676_0.1738144862177171"},"_hasShrinkwrap":false},"1.1.0":{"name":"remark-linkify-regex","version":"1.1.0","description":"Converts regex matches insides text nodes to link nodes","repository":{"type":"git","url":"git+https://gitlab.com/staltz/remark-linkify-regex.git"},"main":"index.js","author":{"name":"staltz.com"},"license":"MIT","keywords":["unified","remark","mdast","markdown","unist"],"dependencies":{"unicode-word-regex":"^1.0.1","unist-util-flatmap":"1.0.x","unist-util-visit-parents":"2.0.x"},"devDependencies":{"remark-parse":"5.0.0","tap-spec":"^5.0.0","tape":"^4.8.0","unified":"7.0.0","unist-util-inspect":"4.1.3"},"scripts":{"test":"tape test.js | tap-spec"},"_resolved":"","_integrity":"","_from":"file:remark-linkify-regex-1.1.0.tgz","bugs":{"url":"https://gitlab.com/staltz/remark-linkify-regex/issues"},"homepage":"https://gitlab.com/staltz/remark-linkify-regex#readme","_id":"remark-linkify-regex@1.1.0","_nodeVersion":"12.19.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-+t/nHM5W32pdNJbtUQXubalAwe9yCHZgWxxZjvfNHkesEttirfC2+bG3vanlNFRVHuzH037F44GQ5RiMB7+b/A==","shasum":"037dfcee6b982ba2edb3eca980a0551b227db034","tarball":"https://registry.npmjs.org/remark-linkify-regex/-/remark-linkify-regex-1.1.0.tgz","fileCount":5,"unpackedSize":18242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2A9gCRA9TVsSAnZWagAArRwP/09R5SUppb0QkGQLvQLZ\nkiaP/i6V76/ooWYE5T60t5sdGTinqgX/X5nsvJ28Cm7N7ak+YxPbatAButwo\nrJ/6D6VsE7tLIx12x62ZbSaGfJCrD1FtICe7GhM9mI6v3LIUeo9Mi2CxknDs\nfVa/HDZZf4hkseg5rEbOFofkRRMB7budob6/SCg2FOCt+y+YRC3w0kWwXlI8\nGUk/H6G6lCWSAvZ2qnEHXFC3H49aoxXzVzrO8wYVBiS7qY1OtiZ1ILykTPIB\n9iYoKT8amNI7iTTwgID1kgS5uPJ0Fkn8aYgC8HJInpP2NbR53qr9HkkUrLDD\n+pyRGsC+F9tMrCQu4d048uHVsankZ+COMnsBHS5IPlshezoXPPaWXkSWBRwL\ntzFCcSy1ZQMfa6aDvMSPTJMwbrvuy3t1Tv8H1P8hMBc6PUBB9MLvpDapmQN7\n0MgXka0SK/QxSUbqtSjX3gGoGyVzokMMBU9WHpYd5FuylJHJq0WwuzUQ2FTL\nyXHLM0c/aWSgYbPEz1MXtjZ+wxN/5Q5oe60ps8uAwgk2zaLXZIJFLi9wrQYy\nY7jY2pgGaVi00UBxaatu8yO2ZrxotDVv/+fsnIC7eTx/9aX8rt174ii7mLco\nY0Ah4xlVulQujoc0AkiyC15Oc6UFI908Kd1jgIcHAVViad7c6d+jqNJu73QV\nb5c4\r\n=B/BV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHz7FXQ3InsiltmfWjpjjgrDM317NUwFfJOcM4g5XKEQIgbUxdQXmnqpKNMAL1UHm0DA2cYZIwOG0CYvR9MnlePRQ="}]},"_npmUser":{"name":"staltz","email":"andre+npm@staltz.com"},"directories":{},"maintainers":[{"name":"staltz","email":"andre+npm@staltz.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-linkify-regex_1.1.0_1641549664193_0.637443380326786"},"_hasShrinkwrap":false},"1.2.0":{"name":"remark-linkify-regex","version":"1.2.0","description":"Converts regex matches insides text nodes to link nodes","repository":{"type":"git","url":"git+https://gitlab.com/staltz/remark-linkify-regex.git"},"main":"index.js","author":{"name":"staltz.com"},"license":"MIT","keywords":["unified","remark","mdast","markdown","unist"],"dependencies":{"unicode-word-regex":"^1.0.1","unist-util-flatmap":"1.0.x","unist-util-visit-parents":"2.0.x"},"devDependencies":{"remark-parse":"5.0.0","tap-spec":"^5.0.0","tape":"^4.8.0","unified":"7.0.0","unist-util-inspect":"4.1.3"},"scripts":{"test":"tape test.js | tap-spec"},"_resolved":"","_integrity":"","_from":"file:remark-linkify-regex-1.2.0.tgz","bugs":{"url":"https://gitlab.com/staltz/remark-linkify-regex/issues"},"homepage":"https://gitlab.com/staltz/remark-linkify-regex#readme","_id":"remark-linkify-regex@1.2.0","_nodeVersion":"12.19.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-2ZFNY98uk1jJvS4Us6xe2nZG3PANTVwiRvKL7bxErkxx/SMmIU27bypXOsjRTjomk67OetoYPHd03Fe9gWhLNw==","shasum":"2592489fff4900c42fd9ead5f4e5f3a62aa2871f","tarball":"https://registry.npmjs.org/remark-linkify-regex/-/remark-linkify-regex-1.2.0.tgz","fileCount":4,"unpackedSize":8274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAjDbCRA9TVsSAnZWagAAZ8IQAKD2WMTZMtrsG2u1pk3y\nrJAtbpD1RwizwAwb4oEbJcezqbp/3oQZb8DBzRqQ/7SjSnhnHxJQBxzBeB3O\nszMUFeXdYN5WWcNHrhQ4OPJzS0MtoozbeMt7bRJPstq2zm6gkFuiZmcChUI9\nZmqORGZ5V0RMitTHweSlT3CaPej+r9TtcbEpSbwSuvcXlKsIv+4F+OOtsbZa\nkmhNxOzZzg48xMz31FzVMW36pqV/dMDqHm1wllyj2zTIgT1XYGI8V8eVnrkG\n8Ikd607hJiTNL3Flv/UQxmi1Sl8oJnm1++l8KERajEY/EEQtynmTb1Oxjj4l\noVRBHJo7Hxn5fxPwmOEKZLbXNbmlkShplrbDbadH9Nyzuueh+eElJi8Ke1Gm\nUMWNQkteZsvawBSRiesls6ehS3oxHSHqwn9GrGZQJe7k1DPFeOCcIBsFvMdN\nclusohNtp2JfUdMCnk+4jXxKx+MoVYCVjf6+snJz9hlFlwoG/fhumC1biqHH\n4kp+kU6H7DtM3+1q9TEGQYW5wqgbRhiXMKugk41CQ5xfzjdSrxrI/5t3U6Dd\njXuSJo6BJgg2brauyt1ADiPTmsCPghCK/504ckqBoc/zTjCjINmuA1vQGPN8\n5Xo0+DMurDn7mCM/fBm1kH4AyX6ycQcIx9ffU2stEt/RrPmC2bBxwntwlEOP\nEO9W\r\n=Q/ii\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6YfF1fC97QtTO2WsXE9kwqmWuMRzcnCQBQ8TLtvWffAiBtNwCGoWtViycZYKqanFZi1348L+IRvQDc5CK6xZDYxw=="}]},"_npmUser":{"name":"staltz","email":"andre+npm@staltz.com"},"directories":{},"maintainers":[{"name":"staltz","email":"andre+npm@staltz.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-linkify-regex_1.2.0_1644310747483_0.7278551664366644"},"_hasShrinkwrap":false},"1.2.1":{"name":"remark-linkify-regex","version":"1.2.1","description":"Converts regex matches insides text nodes to link nodes","repository":{"type":"git","url":"git+https://gitlab.com/staltz/remark-linkify-regex.git"},"main":"index.js","author":{"name":"staltz.com"},"license":"MIT","keywords":["unified","remark","mdast","markdown","unist"],"dependencies":{"unicode-word-regex":"^1.0.1","unist-util-flatmap":"1.0.x","unist-util-visit-parents":"2.0.x"},"devDependencies":{"remark-parse":"5.0.0","tap-spec":"^5.0.0","tape":"^4.8.0","unified":"7.0.0","unist-util-inspect":"4.1.3"},"scripts":{"test":"tape test.js | tap-spec"},"_resolved":"","_integrity":"","_from":"file:remark-linkify-regex-1.2.1.tgz","bugs":{"url":"https://gitlab.com/staltz/remark-linkify-regex/issues"},"homepage":"https://gitlab.com/staltz/remark-linkify-regex#readme","_id":"remark-linkify-regex@1.2.1","_nodeVersion":"12.19.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-aKZAFcZWzrw64m1eTKfVgiZ9iKhZ5vxeOVoACjCd9ahPpKpdnAz++z0qVaR7h0z5nryrvUrTQvIyFieHkdEfCA==","shasum":"5121ad7f8297a7d75e56df4d87c808052d325fc8","tarball":"https://registry.npmjs.org/remark-linkify-regex/-/remark-linkify-regex-1.2.1.tgz","fileCount":4,"unpackedSize":8082,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL42TwGb9AiuSZ/UXM2s+B9nB9TzWF5lMi/8GUDFE/fwIhALpqREYfBdz4Xm+Votbj09BKUYrqhzF4c3zxqQTuSYEe"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwrhUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA/RAAmsSWw95sGHVSoUkY1dlX/Dio1zjUPJRgTFmvhzpyXa5TF2ac\r\nYdKMSrlfOf+hzSbAZY0iV003Q2bJtWtU8TT49Z95mV83E4467+cxneCi1R1N\r\nHBw7Zw4rkp++evux/B8oEcEwy7Dt4oAgxQDT/DnsbeF1bpNSnT6VYBqIQJ/u\r\nFfZ65BmsrROMLqkx3qZ6LlBfm0vyVD8kIw7M8R3Tih2ZgjsZSsKqZteIvI1Y\r\nIvc/i/c+2Q61BH5eHOPIMnqjJPepRf1Xdyiwym5+uTOvd6P0UD/EOYqmd55v\r\nicx5FU3sD54Essw3VkkdVIolPJy0/FgLKoXOrWRY8qeu9x1npoGILlW6AGED\r\nD54Dgc48VZGevbOuNsgNhdP4Q/OKqYtNHdXiljSd8rCJlk/zVHIBFo8KTiRw\r\nE7+lKAwtO9hTskEsN5PXSqgJW3QkUsEciWdmG+oH6m2tT6OR+rfuwQdgfG1s\r\nUojju9VHpNXv8pnnolLVpsXo7vlr8vcxqFZ64pTfMEqyB+ufgATr9cgjIIF6\r\nUf75cN1bMeApePhXlVkXCK4hoe1ogZ75AeRtkrtTmEo6uR6qZkhBL7qNUxuD\r\nE+sMW+aTo3ZrJeiZniq3bG5A9SvPbUzeqIG7OwuGJvur65NML0/ntOnjYeNQ\r\ntGXz0/7x8rFnYFJ5kFd+G6AFe0Ow0AWmqu0=\r\n=Ky6w\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"staltz","email":"andre+npm@staltz.com"},"directories":{},"maintainers":[{"name":"staltz","email":"andre+npm@staltz.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-linkify-regex_1.2.1_1656928340603_0.6636270083542222"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-13T17:19:40.676Z","1.0.0":"2018-11-13T17:19:40.806Z","modified":"2022-07-04T09:52:20.810Z","1.1.0":"2022-01-07T10:01:04.322Z","1.2.0":"2022-02-08T08:59:07.658Z","1.2.1":"2022-07-04T09:52:20.736Z"},"maintainers":[{"name":"staltz","email":"andre+npm@staltz.com"}],"description":"Converts regex matches insides text nodes to link nodes","homepage":"https://gitlab.com/staltz/remark-linkify-regex#readme","keywords":["unified","remark","mdast","markdown","unist"],"repository":{"type":"git","url":"git+https://gitlab.com/staltz/remark-linkify-regex.git"},"author":{"name":"staltz.com"},"bugs":{"url":"https://gitlab.com/staltz/remark-linkify-regex/issues"},"license":"MIT","readme":"# remark-linkify-regex\n\nGiven markdown text nodes, find textual matches of a RegExp, and replace those matches with link nodes.\n\n## Installation\n\n```sh\nnpm install remark-linkify-regex\n```\n\n## Usage\n\nNote: the API is not a remark plugin directly, instead it's a factory for a plugin. You must call the factory with a regex.\n\n```js\n// ...\nvar linkifyRegex = require('remark-linkify-regex');\n\nunified()\n  .use(parse)\n  .use(linkifyRegex(/\\@[A-Za-z0-9]+\\b/))\n// ...\n```\n\nMarkdown document:\n\n```\n# Title\n\nThis is my friend: @6ilZq3kN0F\n\nThis is redundantly linked: [@6ilZq3kN0F](@6ilZq3kN0F)\n\ncc [@alreadyLinked](@2RNGJafZt)\n```\n\nInput AST:\n\n```\nroot[4] (1:1-9:1, 0-130)\n├─ heading[1] (2:1-2:8, 1-8) [depth=1]\n│  └─ text: \"Title\" (2:3-2:8, 3-8)\n├─ paragraph[1] (4:1-4:31, 10-40)\n│  └─ text: \"This is my friend: @6ilZq3kN0F\" (4:1-4:31, 10-40)\n├─ paragraph[2] (6:1-6:55, 42-96)\n│  ├─ text: \"This is redundantly linked: \" (6:1-6:29, 42-70)\n│  └─ link[1] (6:29-6:55, 70-96) [url=\"@6ilZq3kN0F\"]\n│     └─ text: \"@6ilZq3kN0F\" (6:30-6:41, 71-82)\n└─ paragraph[2] (8:1-8:32, 98-129)\n   ├─ text: \"cc \" (8:1-8:4, 98-101)\n   └─ link[1] (8:4-8:32, 101-129) [url=\"@2RNGJafZt\"]\n      └─ text: \"@alreadyLinked\" (8:5-8:19, 102-116)\n```\n\nOutput AST:\n\n```\nroot[4] (1:1-9:1, 0-130)\n├─ heading[1] (2:1-2:8, 1-8) [depth=1]\n│  └─ text: \"Title\"\n├─ paragraph[2] (4:1-4:31, 10-40)\n│  ├─ text: \"This is my friend: \"\n│  └─ link[1] [url=\"@6ilZq3kN0F\"]\n│     └─ text: \"@6ilZq3kN0F\"\n├─ paragraph[2] (6:1-6:55, 42-96)\n│  ├─ text: \"This is redundantly linked: \"\n│  └─ link[1] (6:29-6:55, 70-96) [url=\"@6ilZq3kN0F\"]\n│     └─ text: \"@6ilZq3kN0F\" (6:30-6:41, 71-82)\n└─ paragraph[2] (8:1-8:32, 98-129)\n   ├─ text: \"cc \"\n   └─ link[1] (8:4-8:32, 101-129) [url=\"@2RNGJafZt\"]\n      └─ text: \"@alreadyLinked\" (8:5-8:19, 102-116)\n````\n\n## License\n\n[MIT](LICENSE)","readmeFilename":""}