{"_id":"@bradgarropy/rehype-image-links","_rev":"5-36f83eaa77582875f7228daf9b8e3bea","name":"@bradgarropy/rehype-image-links","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.2":{"name":"@bradgarropy/rehype-image-links","version":"0.0.2","description":"🔗 rehype image links","keywords":["node","typescript","eslint","prettier","vitest","hacktoberfest","unified","rehype"],"homepage":"https://github.com/bradgarropy/rehype-image-links","bugs":{"url":"https://github.com/bradgarropy/rehype-image-links/issues"},"license":"MIT","author":{"name":"Brad Garropy","email":"bradgarropy@gmail.com","url":"https://bradgarropy.com"},"main":"dist/index.js","types":"dist/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bradgarropy/rehype-image-links.git"},"scripts":{"start":"tsc --watch","build":"tsc","lint":"eslint .","lint:fix":"eslint --fix .","format":"prettier --check .","format:fix":"prettier --write .","typecheck":"tsc","test":"vitest --coverage","test:watch":"vitest --coverage --watch","contributors":"all-contributors generate","prepare":"npm run build"},"devDependencies":{"@bradgarropy/eslint-config":"^1.1.0","@bradgarropy/eslint-config-typescript":"^1.0.0","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","@vitest/coverage-istanbul":"^0.24.1","all-contributors-cli":"^6.20.0","babel-eslint":"^10.1.0","eslint":"^7.19.0","eslint-config-prettier":"^7.1.0","eslint-plugin-simple-import-sort":"^7.0.0","husky":"^4.3.8","lint-staged":"^10.5.4","prettier":"^2.2.1","rehype-parse":"^8.0.4","rehype-stringify":"^9.0.3","typescript":"^4.1.3","unified":"^10.1.2","vite-tsconfig-paths":"^3.5.1","vitest":"^0.24.1"},"engines":{"node":">=14"},"dependencies":{"hast-util-is-element":"^2.1.2","unist-util-visit":"^4.1.1"},"gitHead":"a9bb6e3f8f1f94d5c419d2f989427e733ad9e250","_id":"@bradgarropy/rehype-image-links@0.0.2","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-68nl7baa19pMbmt68TdhwBX/aIHtYC/RarvpvAmlW41I1Ckgc9vswrIuY8u9uBDbTnkmhD2wIXnbKUI6yhk3XQ==","shasum":"8ed184e79ca19be26a16626e605e92cfe544e0fc","tarball":"https://registry.npmjs.org/@bradgarropy/rehype-image-links/-/rehype-image-links-0.0.2.tgz","fileCount":9,"unpackedSize":10780,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCncv2UcfgVGL0XwEkd3/HOCNWPSEI/yLdJmVVYJG4ngIhAPrfSnCIF6tOlYOJDLFbd6L61mxeFBLCfL5Zczxa4SvM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR4LTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZOA/+IQ6NYBBlx6f6CpYgpLMYOJr0ZKarM93Hg3hanrOBlBoZXljx\r\nbDjbBfNS0aKopSspA7zjyowC8hf94uh7TjCA6QMTvRkJin6ibWCM7vLtUvg+\r\nWaXQmDshYgSHGCcjVvnmhxO22WcfLWTBY/vW5Nrbzk4lTNvMX74Y5eTPmoEf\r\nllWT0r/9DaqWVv0/Q+zkiO6JxV9v6cC8uowd+TjD58kVbQqr0pdyJ8R/tWTY\r\n0DV80UTizp/VY48Qr8QSlwSI4SruSAafMfAwvYBSH2/0EqqLielwdS8+EtGI\r\nt329mmHOeNPfXCZ9m7I3AwDR7D4b7Te3q7wBR090mIK67cArXpAhT+7br3Os\r\nHTee7S0hrVh3xnn7ss8SYKGGIOx5u8h0fv1L1oi1A2li1Be8Yvg03W3iBKhK\r\nSuJAoapTZ4Sf61/4eQVgnEwBJtEg81z9S5cZyvTwpzO8T6QPiPQlK0/ThstE\r\nOXjJLHc7wreOfRcUiCP9WC9sTXUFXjiiBvMt1daU16bL+lgGPEz5ddl/jKUF\r\nwie7yvqDwHI57NRtenmimwgc2sHPsoDTzwvlVMKUH1JfECNmrjTOH6tSesgH\r\neOo7fXVMKKAFkc7bztAh6yvc882rNJGgOXgUgSu4UA7aug3jfocNP9avARtr\r\nquhReQYF08k7qWxyzPN6Ik9wNLivr/gqxiw=\r\n=1JHZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bradgarropy","email":"bradgarropy@gmail.com"},"directories":{},"maintainers":[{"name":"bradgarropy","email":"bradgarropy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-image-links_0.0.2_1665630931012_0.2321360610688712"},"_hasShrinkwrap":false},"0.0.3":{"name":"@bradgarropy/rehype-image-links","version":"0.0.3","description":"🔗 rehype image links","keywords":["node","typescript","eslint","prettier","vitest","hacktoberfest","unified","rehype"],"homepage":"https://github.com/bradgarropy/rehype-image-links","bugs":{"url":"https://github.com/bradgarropy/rehype-image-links/issues"},"license":"MIT","author":{"name":"Brad Garropy","email":"bradgarropy@gmail.com","url":"https://bradgarropy.com"},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bradgarropy/rehype-image-links.git"},"scripts":{"start":"tsc --watch","build":"tsc","lint":"eslint .","lint:fix":"eslint --fix .","format":"prettier --check .","format:fix":"prettier --write .","typecheck":"tsc","test":"vitest --coverage","test:watch":"vitest --coverage --watch","contributors":"all-contributors generate","prepare":"npm run build"},"devDependencies":{"@bradgarropy/eslint-config":"^1.1.0","@bradgarropy/eslint-config-typescript":"^1.0.0","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","@vitest/coverage-istanbul":"^0.24.1","all-contributors-cli":"^6.20.0","babel-eslint":"^10.1.0","eslint":"^8.25.0","eslint-config-prettier":"^8.5.0","eslint-plugin-simple-import-sort":"^8.0.0","husky":"^4.3.8","lint-staged":"^10.5.4","prettier":"^2.2.1","rehype-parse":"^8.0.4","rehype-stringify":"^9.0.3","typescript":"^4.1.3","unified":"^10.1.2","vite-tsconfig-paths":"^3.5.1","vitest":"^0.24.1"},"engines":{"node":">=14"},"dependencies":{"hast-util-is-element":"^2.1.2","unist-util-visit":"^4.1.1"},"gitHead":"e542c409eeb514de28c8373ef7e9927c7f639223","_id":"@bradgarropy/rehype-image-links@0.0.3","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-W1t7ab1kbulZIRCsJQibfcwExodcn8jr4am35lypTB8nMMHOpaDYys1GVAWBiC6Uag9buBS1rTfUSPGmASvCKQ==","shasum":"b82ddb13beaa9c7c87c023f743d1b941b85c39b3","tarball":"https://registry.npmjs.org/@bradgarropy/rehype-image-links/-/rehype-image-links-0.0.3.tgz","fileCount":9,"unpackedSize":9816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHr6WLWFFiME32lhezeu9XqHGyQvmgMjBAjvRSLNneX3AiAitx8xUX2EtXF2jIUqjnBObUqsiMiwfQyQlC/X6JRvBw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSDVWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpwew//ZYhVvyCX1Tjestkk9zCWzrpGJG6ag3B2OFJL9vt+8742ZQvD\r\nhtn3+FeScO8o7vqxSwX/ANZZWQqsfKarGhQ/Q56K/g+YVJt4b9i1GCml9DaE\r\nBpr8IIM6gUAAVM3tD5bnYXq79qVMhR1b4nkh2v1435K5XhZ2p0SGAW9mdhoa\r\nt6ZQNm5lyh7lkSxj4RomdEabkx7yOdFhRN28Gu954LBkNHve/nzvXxl7gHY6\r\nn43jy8/xBSawv/BlFUuM6ECpEywg2z02ud7PcRijOspFtbT7ifk1YzMGARjL\r\nzVcw21CNd6oW/vIf0j9GcZiUU6eLc8GJwXvwbjSLZIBn7VC0uqGwHFvImhUv\r\n+S4NtH2Xj0Zu/jhgJJ6ChfFAib2k3QRIl/WVbZYdWWC+NHkodxb6eA4ZC3/5\r\n2eHZ/G5APC+fl4ZLIymHzV5lmG11Jc62hMscq80I3D2YBhkEkCWWrKlaE/zj\r\n+EA+iihHODdG/Gnwq76NKrIdB1/Dpsub4ya6URDBZ2Kn4ViAVIfhg6Ll7vTy\r\ngp5i73flHlu3mdtfq/rwKR66qRBG4Zs3gNnRzDkJVbdUGC/wekV5Pj/b62+v\r\n5OQcNXidCn/2aLX67WpH3gYCd1yotFBeF5XRuW6C+pNlXNiE8encj20lNYcy\r\nRseg3NQ8eEyLWce4NSQkH4n4YZprwOMF0Mw=\r\n=a6qc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bradgarropy","email":"bradgarropy@gmail.com"},"directories":{},"maintainers":[{"name":"bradgarropy","email":"bradgarropy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-image-links_0.0.3_1665676630252_0.5287384871664076"},"_hasShrinkwrap":false},"1.0.0":{"name":"@bradgarropy/rehype-image-links","version":"1.0.0","description":"🔗 rehype image links","keywords":["node","typescript","eslint","prettier","vitest","hacktoberfest","unified","rehype"],"homepage":"https://github.com/bradgarropy/rehype-image-links","bugs":{"url":"https://github.com/bradgarropy/rehype-image-links/issues"},"license":"MIT","author":{"name":"Brad Garropy","email":"bradgarropy@gmail.com","url":"https://bradgarropy.com"},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bradgarropy/rehype-image-links.git"},"scripts":{"start":"tsc --watch","build":"tsc","lint":"eslint .","lint:fix":"eslint --fix .","format":"prettier --check .","format:fix":"prettier --write .","typecheck":"tsc","test":"vitest --coverage","test:watch":"vitest --coverage --watch","contributors":"all-contributors generate","prepare":"npm run build"},"devDependencies":{"@bradgarropy/eslint-config":"^1.1.0","@bradgarropy/eslint-config-typescript":"^1.0.0","@typescript-eslint/eslint-plugin":"^5.40.0","@typescript-eslint/parser":"^5.40.0","@vitest/coverage-istanbul":"^0.24.1","all-contributors-cli":"^6.20.0","babel-eslint":"^10.1.0","eslint":"^8.25.0","eslint-config-prettier":"^8.5.0","eslint-plugin-simple-import-sort":"^8.0.0","husky":"^4.3.8","lint-staged":"^10.5.4","prettier":"^2.2.1","rehype-parse":"^8.0.4","rehype-stringify":"^9.0.3","typescript":"^4.1.3","unified":"^10.1.2","vite-tsconfig-paths":"^3.5.1","vitest":"^0.24.1"},"engines":{"node":">=14"},"dependencies":{"hast-util-is-element":"^2.1.2","unist-util-visit":"^4.1.1"},"gitHead":"0534f42b70730b0d21149ce6284656ed6bbcfe79","_id":"@bradgarropy/rehype-image-links@1.0.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-g7TjlNgVeEv45cPJaHPtV1MQXSWAxN5OnxWw/uQTXeOiSRL7jCh8i1ptUw6obK3YNDAIqKzSXn7H+LC4CjLiVQ==","shasum":"24d21457e5aa2583b9c8fa0c2729ad9c38c6aa46","tarball":"https://registry.npmjs.org/@bradgarropy/rehype-image-links/-/rehype-image-links-1.0.0.tgz","fileCount":9,"unpackedSize":11373,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMYF4tfoTFebV9RE+byssqXtQCOXfDoyr8ekWtfAq3XQIhAL8XYfbj5d8lZi3I9qWw1zBnwXP74u41mDL4opCNZ+BJ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSFvAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmJw/+Ij+9I9bSrcoPITbn9nkIyYAWly06p8jYQibvgnppi4RWoneH\r\n0CMWYE8glHNnS7bmpjGAhf/vz3Y2iIKE2ZW3Um3B1deL5UWZBW/shuFAcAfK\r\nESgiy1v/QSe6FWte8UxR79FoMAZVGb9pvb6WvYsBgkgPc4ONSH0oM3nDCp5k\r\nIafyvw9JCexOGVmW3OXwTVZ63sfTnvUO1cqTmeQKNfJqtoZlYe7RtYg/4FF1\r\niOpg01m33/notDh/E7oIvOSwBHUNgK0sjuJxznN1nrLMso2d/ULCzsemPpM/\r\n2wqks8hkBfZwmmIBprEoVPrYWQDIanWUBOzcmibhFJhqK1kJUgV1HbIAo2aK\r\nk0Uu7Wt5mz6u4dogqDD1w56rZmhyicGSHNvb6rEa8kEyBl+5cRD/KzkxUFDn\r\nnpjUhwZG5NMB7ToraqjXiNPnK/wemGwAewdGc7hLh7hQsge5XoJZIV+DzNLM\r\nVBEgFqjwO3LhcpjmNt5Nz7lULGRvOgqzeGv7k9JdcRi5iCAlUC8UG6rvLy/R\r\nHCiZ2gJ5yy5w304UR8ruNK7jY9NafEHI+Qsoe+h9z67qK0WJrcQaZp1+99qu\r\nHh/phBIDhSK9XKHDTbtCMeU9RLsCMC2r4AZJ2NhxWfWMnKJMOJTJa+pMmoH+\r\nbfNgrw/DKNsBe+tCI17c0IcYmVHQqXagrB0=\r\n=DX7i\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bradgarropy","email":"bradgarropy@gmail.com"},"directories":{},"maintainers":[{"name":"bradgarropy","email":"bradgarropy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-image-links_1.0.0_1665686464299_0.5168922967801932"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bradgarropy/rehype-image-links","version":"1.0.1","description":"🔗 rehype image links","keywords":["node","typescript","eslint","prettier","vitest","hacktoberfest","unified","rehype"],"homepage":"https://github.com/bradgarropy/rehype-image-links","bugs":{"url":"https://github.com/bradgarropy/rehype-image-links/issues"},"license":"MIT","author":{"name":"Brad Garropy","email":"bradgarropy@gmail.com","url":"https://bradgarropy.com"},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bradgarropy/rehype-image-links.git"},"scripts":{"start":"tsc --watch","build":"tsc","lint":"eslint .","lint:fix":"eslint --fix .","format":"prettier --check .","format:fix":"prettier --write .","typecheck":"tsc","test":"vitest --coverage","test:watch":"vitest --coverage --watch","contributors":"all-contributors generate","prepare":"npm run build"},"devDependencies":{"@bradgarropy/eslint-config":"^1.1.0","@bradgarropy/eslint-config-typescript":"^1.0.0","@typescript-eslint/eslint-plugin":"^6.15.0","@typescript-eslint/parser":"^6.15.0","@vitest/coverage-v8":"^1.1.0","all-contributors-cli":"^6.20.0","babel-eslint":"^10.1.0","eslint":"^8.25.0","eslint-config-prettier":"^9.1.0","eslint-plugin-simple-import-sort":"^10.0.0","prettier":"^3.1.1","rehype-parse":"^9.0.0","rehype-stringify":"^10.0.0","typescript":"^5.3.3","unified":"^11.0.4","vite-tsconfig-paths":"^4.2.2","vitest":"^1.1.0","vitest-tsconfig-paths":"^3.4.1"},"engines":{"node":">=14"},"dependencies":{"hast-util-is-element":"^3.0.0","unist-util-visit":"^5.0.0"},"_id":"@bradgarropy/rehype-image-links@1.0.1","gitHead":"73b491319bb45bbb8cd2402d205552cc41620247","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-6r8hV4NfcvM8DN4bLi3+2qtvX52HJkWZRxtASxINXUlsyW7AujTWWYKfWXVqRHy5LMymAbZbFwF+MMnb5edqIg==","shasum":"d497e1e48fa1a91df6210377d388103dbc00a32b","tarball":"https://registry.npmjs.org/@bradgarropy/rehype-image-links/-/rehype-image-links-1.0.1.tgz","fileCount":15,"unpackedSize":17462,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP/qrWCadcukajAoAwsYwq80lrqxc2zCMtzgJNyhnD0QIhAOPDjygIHbPe25LU2o7xW758oy4iGKlzbu7SLC4XmdOE"}]},"_npmUser":{"name":"bradgarropy","email":"bradgarropy@gmail.com"},"directories":{},"maintainers":[{"name":"bradgarropy","email":"bradgarropy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-image-links_1.0.1_1703275089502_0.8137875055178667"},"_hasShrinkwrap":false},"1.1.0":{"name":"@bradgarropy/rehype-image-links","version":"1.1.0","description":"🔗 rehype image links","keywords":["node","typescript","eslint","prettier","vitest","hacktoberfest","unified","rehype"],"homepage":"https://github.com/bradgarropy/rehype-image-links","bugs":{"url":"https://github.com/bradgarropy/rehype-image-links/issues"},"license":"MIT","author":{"name":"Brad Garropy","email":"bradgarropy@gmail.com","url":"https://bradgarropy.com"},"main":"dist/index.js","type":"module","types":"dist/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bradgarropy/rehype-image-links.git"},"scripts":{"start":"tsc --watch","build":"tsc","lint":"eslint .","lint:fix":"eslint --fix .","format":"prettier --check .","format:fix":"prettier --write .","typecheck":"tsc","test":"vitest --coverage","test:watch":"vitest --coverage --watch","contributors":"all-contributors generate","prepare":"npm run build"},"devDependencies":{"@bradgarropy/eslint-config":"^1.1.0","@bradgarropy/eslint-config-typescript":"^1.0.0","@typescript-eslint/eslint-plugin":"^6.15.0","@typescript-eslint/parser":"^6.15.0","@vitest/coverage-v8":"^1.1.0","all-contributors-cli":"^6.20.0","babel-eslint":"^10.1.0","eslint":"^8.25.0","eslint-config-prettier":"^9.1.0","eslint-plugin-simple-import-sort":"^10.0.0","prettier":"^3.1.1","rehype-parse":"^9.0.0","rehype-stringify":"^10.0.0","typescript":"^5.3.3","unified":"^11.0.4","vite-tsconfig-paths":"^4.2.2","vitest":"^1.1.0","vitest-tsconfig-paths":"^3.4.1"},"engines":{"node":">=14"},"dependencies":{"hast-util-is-element":"^3.0.0","unist-util-visit":"^5.0.0"},"_id":"@bradgarropy/rehype-image-links@1.1.0","gitHead":"7479007af01f96db43295d3280313c86daa0a485","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-QHtQM1VWHODT9To+9UAG7m7c0QuHh9C3pdakQtkTrTYebbX8W95PEi4hycqCXhqe+bi+Ewaq03sFdJKJbwprMA==","shasum":"5a74910c0d91b247374d1699b07326bea6dcf029","tarball":"https://registry.npmjs.org/@bradgarropy/rehype-image-links/-/rehype-image-links-1.1.0.tgz","fileCount":15,"unpackedSize":20676,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHt7Lf0PFIxhNyhmimEKpy2dHkq8dsC3/9VpN4bVtgYtAiEAgHRsFj8QTIRmhSozrQnmSK+J+KVHnz7pwG8Q6NLTxoo="}]},"_npmUser":{"name":"bradgarropy","email":"bradgarropy@gmail.com"},"directories":{},"maintainers":[{"name":"bradgarropy","email":"bradgarropy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-image-links_1.1.0_1703305824082_0.42927644763868567"},"_hasShrinkwrap":false},"1.1.1":{"name":"@bradgarropy/rehype-image-links","version":"1.1.1","description":"🔗 rehype image links","keywords":["node","typescript","eslint","prettier","vitest","hacktoberfest","unified","rehype"],"homepage":"https://github.com/bradgarropy/rehype-image-links","bugs":{"url":"https://github.com/bradgarropy/rehype-image-links/issues"},"license":"MIT","author":{"name":"Brad Garropy","email":"bradgarropy@gmail.com","url":"https://bradgarropy.com"},"main":"dist/src/index.js","type":"module","types":"dist/types/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bradgarropy/rehype-image-links.git"},"scripts":{"start":"tsc --watch","build":"tsc","lint":"eslint .","lint:fix":"eslint --fix .","format":"prettier --check .","format:fix":"prettier --write .","typecheck":"tsc","test":"vitest --coverage","test:watch":"vitest --coverage --watch","contributors":"all-contributors generate","prepare":"npm run build"},"devDependencies":{"@bradgarropy/eslint-config":"^1.1.0","@bradgarropy/eslint-config-typescript":"^1.0.0","@typescript-eslint/eslint-plugin":"^6.15.0","@typescript-eslint/parser":"^6.15.0","@vitest/coverage-v8":"^1.1.0","all-contributors-cli":"^6.20.0","babel-eslint":"^10.1.0","eslint":"^8.25.0","eslint-config-prettier":"^9.1.0","eslint-plugin-simple-import-sort":"^10.0.0","prettier":"^3.1.1","rehype-parse":"^9.0.0","rehype-stringify":"^10.0.0","typescript":"^5.3.3","unified":"^11.0.4","vite-tsconfig-paths":"^4.2.2","vitest":"^1.1.0","vitest-tsconfig-paths":"^3.4.1"},"engines":{"node":">=14"},"dependencies":{"hast-util-is-element":"^3.0.0","unist-util-visit":"^5.0.0"},"_id":"@bradgarropy/rehype-image-links@1.1.1","gitHead":"8d7953e6efe076c30afc909353c4cf8a27dc0a67","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-EmMomtcJbHYzoegJpzGlNOFYk0SjPpouYPR3fI7/XY1FHKbO3NhI3p1hTAVsQigrWE5KNKvKdHUeP4oErCWYNw==","shasum":"22c869a57e7b9e4e914a78357fb0f1cd26b8ca8d","tarball":"https://registry.npmjs.org/@bradgarropy/rehype-image-links/-/rehype-image-links-1.1.1.tgz","fileCount":15,"unpackedSize":20684,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE7U1SLBHzMOUw40aewK+N3Au1RNmG7czK8jP/dFUxxgIgTXeVcmz5Q6N9TBAbngDBpvJNE1cHWxIIt7oMnKYv++g="}]},"_npmUser":{"name":"bradgarropy","email":"bradgarropy@gmail.com"},"directories":{},"maintainers":[{"name":"bradgarropy","email":"bradgarropy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-image-links_1.1.1_1703307469364_0.6877629525051725"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-13T03:15:30.940Z","0.0.2":"2022-10-13T03:15:31.164Z","modified":"2023-12-23T04:57:49.699Z","0.0.3":"2022-10-13T15:57:10.435Z","1.0.0":"2022-10-13T18:41:04.466Z","1.0.1":"2023-12-22T19:58:09.698Z","1.1.0":"2023-12-23T04:30:24.251Z","1.1.1":"2023-12-23T04:57:49.518Z"},"maintainers":[{"name":"bradgarropy","email":"bradgarropy@gmail.com"}],"description":"🔗 rehype image links","homepage":"https://github.com/bradgarropy/rehype-image-links","keywords":["node","typescript","eslint","prettier","vitest","hacktoberfest","unified","rehype"],"repository":{"type":"git","url":"git+https://github.com/bradgarropy/rehype-image-links.git"},"author":{"name":"Brad Garropy","email":"bradgarropy@gmail.com","url":"https://bradgarropy.com"},"bugs":{"url":"https://github.com/bradgarropy/rehype-image-links/issues"},"license":"MIT","readme":"# 🔗 rehype image links\n\n[![version][version-badge]][npm]\n[![downloads][downloads-badge]][npm]\n[![size][size-badge]][bundlephobia]\n[![github actions][github-actions-badge]][github-actions]\n[![coverage][codecov-badge]][codecov]\n[![typescript][typescript-badge]][typescript]\n[![contributing][contributing-badge]][contributing]\n[![contributors][contributors-badge]][contributors]\n[![discord][discord-badge]][discord]\n\n_[Rehype][rehype] plugin to wrap images in links._\n\n## 📦 Installation\n\nThis package is hosted on [npm][npm].\n\n```bash\nnpm install @bradgarropy/rehype-image-links\n```\n\n## 🥑 Usage\n\nThis is a [rehype][rehype] plugin for use in a [unified][unified] chain that modifies HTML syntax trees. It wraps all `img` tags in `a` tags with a link to their original source.\n\n```typescript\nimport rehypeParse from \"rehype-parse\"\nimport rehypeStringify from \"rehype-stringify\"\nimport {unified} from \"unified\"\n\nconst processor = unified()\n    .use(rehypeParse, {fragment: true})\n    .use(rehypeImageLinks)\n    .use(rehypeStringify)\n\nconst html = await processor.process(\n    '<img src=\"https://example.com/photo.jpg\" alt=\"alt text\">',\n)\n\nconsole.log(file)\n\n// output\n// <a href=\"https://example.com/photo.jpg\">\n//     <img src=\"https://example.com/photo.jpg\" alt=\"alt text\" />\n// </a>\n```\n\n## 📖 API Reference\n\n### `use(rehypeImageLinks, options)`\n\nThe `options` object is optional. Here are all the available options.\n\n| Name            | Required |        Default         |               Example                | Description                                                  |\n| :-------------- | :------: | :--------------------: | :----------------------------------: | :----------------------------------------------------------- |\n| `classes`       | `false`  |          `[]`          |         `[\"link\", \"fancy\"]`          | List of classes to add to the `a` tag.                       |\n| `srcTransform`  | `false`  | `(url: string) => url` | `(url: string) => url.toLowerCase()` | Function that modifies the `src` attribute on the `img` tag. |\n| `hrefTransform` | `false`  | `(url: string) => url` | `(url: string) => url.toLowerCase()` | Function that modifies the `href` attribute on the `a` tag.  |\n\nIf you provide the `classes` option, those classes will be combined into a string and added to the `a` tag. For example, if you provided `{classes: [\"link\", \"fancy\"]}` for the options, the result will look like this.\n\n```html\n<!-- input -->\n<img src=\"https://example.com/photo.jpg\" alt=\"alt text\" />\n\n<!-- output -->\n<a href=\"https://example.com/photo.jpg\" class=\"link fancy\">\n    <img src=\"https://example.com/photo.jpg\" alt=\"alt text\" />\n</a>\n```\n\n## ❔ Questions\n\n🐛 report bugs by filing [issues][issues]  \n📢 provide feedback with [issues][issues] or on [twitter][twitter]  \n🙋🏼‍♂️ use my [ama][ama] or [twitter][twitter] to ask any other questions\n\n## ✨ contributors\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://bradgarropy.com\"><img src=\"https://avatars.githubusercontent.com/u/11336745?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Brad Garropy</b></sub></a><br /><a href=\"https://github.com/bradgarropy/rehype-image-links/commits?author=bradgarropy\" title=\"Code\">💻</a> <a href=\"https://github.com/bradgarropy/rehype-image-links/commits?author=bradgarropy\" title=\"Documentation\">📖</a> <a href=\"https://github.com/bradgarropy/rehype-image-links/commits?author=bradgarropy\" title=\"Tests\">⚠️</a> <a href=\"#infra-bradgarropy\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n[codecov]: https://app.codecov.io/gh/bradgarropy/rehype-image-links\n[contributing]: https://github.com/bradgarropy/rehype-image-links/blob/master/contributing.md\n[contributors]: #-contributors\n[npm]: https://www.npmjs.com/package/@bradgarropy/rehype-image-links\n[codecov-badge]: https://img.shields.io/codecov/c/github/bradgarropy/rehype-image-links?style=flat-square\n[version-badge]: https://img.shields.io/npm/v/@bradgarropy/rehype-image-links.svg?style=flat-square\n[downloads-badge]: https://img.shields.io/npm/dt/@bradgarropy/rehype-image-links?style=flat-square\n[contributing-badge]: https://img.shields.io/badge/PRs-welcome-success?style=flat-square\n[contributors-badge]: https://img.shields.io/github/all-contributors/bradgarropy/rehype-image-links?style=flat-square\n[issues]: https://github.com/bradgarropy/rehype-image-links/issues\n[twitter]: https://twitter.com/bradgarropy\n[ama]: https://bradgarropy.com/ama\n[bundlephobia]: https://bundlephobia.com/result?p=@bradgarropy/rehype-image-links\n[size-badge]: https://img.shields.io/bundlephobia/minzip/@bradgarropy/rehype-image-links?style=flat-square\n[github-actions]: https://github.com/bradgarropy/rehype-image-links/actions\n[github-actions-badge]: https://img.shields.io/github/workflow/status/bradgarropy/rehype-image-links/%F0%9F%9A%80%20release?style=flat-square\n[typescript]: https://www.typescriptlang.org/dt/search?search=%40bradgarropy%2Frehype-image-links\n[typescript-badge]: https://img.shields.io/npm/types/@bradgarropy/rehype-image-links?style=flat-square\n[discord]: https://bradgarropy.com/discord\n[discord-badge]: https://img.shields.io/discord/748196643140010015?style=flat-square\n[rehype]: https://github.com/rehypejs/rehype\n[unified]: https://github.com/unifiedjs/unified\n","readmeFilename":"readme.md"}