{"_id":"rehype-plugin-image-native-lazy-loading","_rev":"6-4c520d5615e2e6f7c492c6d5b2dfa42b","name":"rehype-plugin-image-native-lazy-loading","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"rehype-plugin-image-native-lazy-loading","version":"1.0.0","main":"lib/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/potato4d/rehype-plugin-image-lazy-loading.git"},"author":{"name":"Takuma HANATANI","email":"mail@potato4d.me"},"license":"MIT","scripts":{"build":"tsc","format":"yarn prettier './src/**/*.ts'","test":"jest","test:coverage":"jest --coverage"},"devDependencies":{"@types/hast":"^2.3.1","@types/jest":"^26.0.14","@types/node":"^14.10.3","hast":"^1.0.0","jest":"^26.4.2","prettier":"^2.1.2","rehype":"^11.0.0","rehype-stringify":"^8.0.0","remark-parse":"^8.0.3","remark-rehype":"^7.0.0","ts-jest":"^26.3.0","typescript":"^4.0.2"},"dependencies":{"unified":"^9.2.0","unist-util-visit":"^2.0.3"},"gitHead":"82227b98d95602a4aca396aedac9b8028b1f7fa9","description":"[![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading)","bugs":{"url":"https://github.com/potato4d/rehype-plugin-image-lazy-loading/issues"},"homepage":"https://github.com/potato4d/rehype-plugin-image-lazy-loading#readme","_id":"rehype-plugin-image-native-lazy-loading@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Eug7mwhNL2Eh6LHEgC6jhuEvNj1wpYMhBFW3VseYAkLFayjCFPVLygETYI46DhRpN/c59Sq0j9KesULazKIRiw==","shasum":"d27b034f1a60f3a9339169cd1b17fffc28f3ddcf","tarball":"https://registry.npmjs.org/rehype-plugin-image-native-lazy-loading/-/rehype-plugin-image-native-lazy-loading-1.0.0.tgz","fileCount":22,"unpackedSize":62170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZOP/CRA9TVsSAnZWagAAHxYP+wYBSdf3rLr6piDPoqQu\ns5JO46GPl+xFMvlUZa3pK1/jUFi55Py3eso8iTrbWX4g8oEB7LwepD6AWuae\nPgsve6JYN488pNJTsVGoTZc9FzSUaw131nMqvaCJSmzE43UDpuxYBUOuKkNf\nGi5o/kP0Bn0AWJxzyW7bhDWgxhK/FcQ0MHnLtOqGQYW2TsoFqFLhkpHKhuA2\n7HPE8RO6iYMF4kYz2LvA+Ymm2fx6yYJSYBwwhc3Pb43L1/8dePXTQ5iJHwjx\nrz4Mhn0i8tyjJwYuCFAFLOV6XpTbemO5Z8DsJ3uvS4IygrRgn1oHntqyHtgd\n2w3bQIq6Ihq3gbURp9auZzyqaeae/jgPAyO3QLtguJAH9kn9Xl8Qwz7gVOyJ\nUB6j5FkBmtSnbsWHrVa1MsPYWxYNpOZucr0h+ESYnxcfX+GlzeBeuUgP1msw\n4/MVIRYa9JmH+400lSIFVqNnHnVj05DEWFjBgQ49a56drbX9EgM4EyfuzF2W\n7YMjIGVCGNkB8um0qQ+XA5KEAkfH7s5utN6XqBI52KUiAa9RWFZHfb/SyPKU\nHAqUSkghoMt0MJ4WHLAE8QTykquhsGh/MW1Ihey3RbevtiQKhsh9KkxHS2uF\nC6qME67hghUSJ9qBg+tJv67zWgVspGUedSTAcS9lMRPSuayACONzzGkhjPQT\n4RJL\r\n=WhJJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZtlaY0V/o45DcgXMSdjjkjFcPyWbi8Vl3uXKQMI3yWAiAxeIQbzBWLBwfU9sjm+miSXvIzEv7iNvZSHLX91bztZA=="}]},"maintainers":[{"name":"potato4d","email":"mail@potato4d.me"}],"_npmUser":{"name":"potato4d","email":"mail@potato4d.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-plugin-image-native-lazy-loading_1.0.0_1600447486633_0.250536285926404"},"_hasShrinkwrap":false},"1.0.1":{"name":"rehype-plugin-image-native-lazy-loading","version":"1.0.1","main":"lib/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/potato4d/rehype-plugin-image-lazy-loading.git"},"author":{"name":"Takuma HANATANI","email":"mail@potato4d.me"},"license":"MIT","scripts":{"build":"tsc","format":"yarn prettier './src/**/*.ts'","test":"jest","test:coverage":"jest --coverage"},"devDependencies":{"@types/hast":"^2.3.1","@types/jest":"^26.0.14","@types/node":"^14.10.3","hast":"^1.0.0","jest":"^26.4.2","prettier":"^2.1.2","rehype":"^11.0.0","rehype-stringify":"^8.0.0","remark-parse":"^8.0.3","remark-rehype":"^7.0.0","standard-version":"^9.0.0","ts-jest":"^26.3.0","typescript":"^4.0.2"},"dependencies":{"unified":"^9.2.0","unist-util-visit":"^2.0.3"},"gitHead":"7c5376ae87c318ed0a5c3ec756ac105580e4d8ba","description":"![build](https://github.com/potato4d/rehype-plugin-image-native-lazy-loading/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehyp","bugs":{"url":"https://github.com/potato4d/rehype-plugin-image-lazy-loading/issues"},"homepage":"https://github.com/potato4d/rehype-plugin-image-lazy-loading#readme","_id":"rehype-plugin-image-native-lazy-loading@1.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-6mOnwQd8LI85Y4PzwcVnn890WTzXaTzujHHCUBqOZGdVF3Lszys+0juMOU9GBeLGDFvN4k4gTZyx2Qnw4rT4eg==","shasum":"883553f30ac869813cd3b9c3ce0029bf991737ed","tarball":"https://registry.npmjs.org/rehype-plugin-image-native-lazy-loading/-/rehype-plugin-image-native-lazy-loading-1.0.1.tgz","fileCount":25,"unpackedSize":72162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZOh1CRA9TVsSAnZWagAAs+UP/3ea763gqhMDNiTyIfgJ\n09uOR4JNtlXxCIK2sxijTd9WRGMd7UQztDaAexw9LcIgKc1QXSmLB1in8ZuH\nUPL0vJTihK3r8zQZsNQ7+HtJGoSux93cnU+0aBZ5E1imP+bzWQ/HhcDot1am\nJur0tuRMGO6scaJxA75nPrfaQA5Ld5QrrjZcMnOnr4KcYeVtyZRyqQZqPp9S\nLf//VMwsJ9xoTeXZUdiTBZ+qOV7mhhf4GaaI4DDFCbwJM0iKAlp7s5jas/Bq\n6e1/ewnimn9Mg0W0bjg2Y3FYWA67s6ia9xLXs0fBXW7HYMfJrA4hy7LaLv+S\n3PfvxcZGzybt1UOJ9xHXmx5WtiMGDaGQW79etqEb0e9kREhW6xiZKLaVTMUf\nKKWcwrvDdwdA/RJWf/bUi7vH4SvQihvp+KwcLNihpfjdQ5CrmADt+Qw0uNLd\nSxBMhdmTBzYiYWGjlHPB5AM9UERXmH7ujmaZG5oMNl3pGgQnITCO9fAaK+n1\nZd+q85dk+Q12iX0RJrGie3fygrovs0PDnzEnOf2qHTErxGdxO5MoGBruxoma\nsOh/Qwl0Om1Tjne1ceKcYZLFONL6EUX/0XfbDC683lMhelGvAV+XPwiWqRSo\nqoTZ9x20XVyuGo1TylI5D68O9Ngg69bCe/if4+M/I2CjNDzxWQJv7oR+wexm\nyt6n\r\n=wPfQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfDtIfdDOQW2cWqFk5SKUI4Oc5Kn8CBT+VrYhko+o6bQIgC3oEUj3/1U0vQJmgHjzwQtGPTHDverIbOFOATEZ/Mic="}]},"maintainers":[{"name":"potato4d","email":"mail@potato4d.me"}],"_npmUser":{"name":"potato4d","email":"mail@potato4d.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-plugin-image-native-lazy-loading_1.0.1_1600448628493_0.5243897363088998"},"_hasShrinkwrap":false},"1.0.2":{"name":"rehype-plugin-image-native-lazy-loading","version":"1.0.2","main":"lib/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/potato4d/rehype-plugin-image-lazy-loading.git"},"author":{"name":"Takuma HANATANI","email":"mail@potato4d.me"},"license":"MIT","scripts":{"build":"tsc","format":"yarn prettier './src/**/*.ts'","test":"jest","test:coverage":"jest --coverage"},"devDependencies":{"@types/hast":"^2.3.1","@types/jest":"^26.0.14","@types/node":"^14.10.3","hast":"^1.0.0","jest":"^26.4.2","prettier":"^2.1.2","rehype":"^11.0.0","rehype-stringify":"^8.0.0","remark-parse":"^8.0.3","remark-rehype":"^7.0.0","standard-version":"^9.0.0","ts-jest":"^26.3.0","typescript":"^4.0.2"},"dependencies":{"unified":"^9.2.0","unist-util-visit":"^2.0.3"},"gitHead":"c0f11404b2676e0710cd1209f0dc139b2df8cf8e","description":"![build](https://github.com/potato4d/rehype-plugin-image-native-lazy-loading/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehyp","bugs":{"url":"https://github.com/potato4d/rehype-plugin-image-lazy-loading/issues"},"homepage":"https://github.com/potato4d/rehype-plugin-image-lazy-loading#readme","_id":"rehype-plugin-image-native-lazy-loading@1.0.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-VPrOnA8bTwD8ykNRhnSzPVuguNZrIf8HbZqQy4hA8I8yMWeQEj1cwmqIeYSZrznTIDb7fZfCozb0NbLSW46QxA==","shasum":"3d723089515c2bc7298c46225d9d65b27203abc3","tarball":"https://registry.npmjs.org/rehype-plugin-image-native-lazy-loading/-/rehype-plugin-image-native-lazy-loading-1.0.2.tgz","fileCount":25,"unpackedSize":72346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZOjXCRA9TVsSAnZWagAAPZUP/jEJN7hojvkd1qADm6Qk\naD8rTbjymMtYU1zq7gq4jo5Jlma6hRcoeTiM/2ynh5luDnaC8Ow6dBMKRHgL\nSMoESB4dMoN3tAu5MrkIRofARglBaeWs8uGrQ7UY8P+amAWSEH2SInH8WbkR\nQgNA0eK1xq/Hh16CgKY2rjffWVE3rpNBG+h3gece69RqhLsngstLS/JKyJ6r\nUb2N1USg8Yi/QQwvdSW8BphEvaDI3omhmOF+lXeAvfQHki6Pwl8Lzly+pcKC\nD+l66IeE2PK6lWXyzC+1s9I1vpdouIOvga1YJmLu2gTiC8zLdd9wcRspfNdZ\nLyc1QW3vtDk86xWA5vSjEGl6AXgRckUpzj6VN5vTzXkKZWdB8s0ZA5FJB0c+\n1X+Xz3dSG0MefftWg6gWYvyBOe5Ysrm3r9HDrrw9Slq5ufgqXJTR7vPrONl1\nLbRcAG2fbgo0v3pYXHvThs7VL50Q+At8Ivj2vrmM6iuvHBLdzrPU1kZzsPlY\nCeG7srPcE8M8bF6f3c+FOjZTfxEO9x4RMBsdK4ivHkj0GSVrafZd4yalB+t/\ncM9LWy1v7KsR1HQKZTWZBXCxYjmhJX+bTUUfmkFKncMhKNCctDavArNDYvQQ\npzO/dl/UZl8EWRQouRL8Cspf4GNKAu5NB+C5NL6m542njb78zkIc3WYx+KG6\ngKCV\r\n=SBRk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSKFL6dtn4ZpGS5hfTZHV6I/MRkskdKZ2Y+V2BVOZt+AiA0n/9srEQ/eeH63yC7pnQQneXyhsB85K5JG/IgWTecMw=="}]},"maintainers":[{"name":"potato4d","email":"mail@potato4d.me"}],"_npmUser":{"name":"potato4d","email":"mail@potato4d.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-plugin-image-native-lazy-loading_1.0.2_1600448726467_0.3467691192965183"},"_hasShrinkwrap":false},"1.0.3":{"name":"rehype-plugin-image-native-lazy-loading","version":"1.0.3","main":"lib/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/potato4d/rehype-plugin-image-lazy-loading.git"},"author":{"name":"Takuma HANATANI","email":"mail@potato4d.me"},"license":"MIT","scripts":{"build":"tsc","format":"yarn prettier './src/**/*.ts'","test":"jest","test:coverage":"jest --coverage"},"keywords":["remark","rehype","rehype-plugin","lazyload","lazy-load"],"devDependencies":{"@types/hast":"^2.3.1","@types/jest":"^26.0.14","@types/node":"^14.10.3","hast":"^1.0.0","jest":"^26.4.2","prettier":"^2.1.2","rehype":"^11.0.0","rehype-stringify":"^8.0.0","remark-parse":"^8.0.3","remark-rehype":"^7.0.0","standard-version":"^9.0.0","ts-jest":"^26.3.0","typescript":"^4.0.2"},"dependencies":{"unified":"^9.2.0","unist-util-visit":"^2.0.3"},"gitHead":"deb53dbb7673aaebdba72af3d36313f81b49d023","description":"![build](https://github.com/potato4d/rehype-plugin-image-native-lazy-loading/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehyp","bugs":{"url":"https://github.com/potato4d/rehype-plugin-image-lazy-loading/issues"},"homepage":"https://github.com/potato4d/rehype-plugin-image-lazy-loading#readme","_id":"rehype-plugin-image-native-lazy-loading@1.0.3","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-pFtfYRU055Vuv3pUcEGs41I+/0Cb9fUvNzoOR49JSFXcLulQRasLmsArFVGpNeZAIHKTIJVo+od+bcu21dgM+g==","shasum":"076e552fc184b28927cd35c6521ce4be0c5dbad6","tarball":"https://registry.npmjs.org/rehype-plugin-image-native-lazy-loading/-/rehype-plugin-image-native-lazy-loading-1.0.3.tgz","fileCount":25,"unpackedSize":72676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZOm4CRA9TVsSAnZWagAAblIQAINnlBuwjPtiZftYdKYj\nm/78oLKRhyssZPgtI2jzl5j1pFxTzkc1IEwTfBvO3ToNJKeNpggD9i/Pxtn4\nMy67up+Sj/uYrLQop0fR7JfiTsNJmquUQBThv+cgGzCUisoeYOVK4uZ9aiPG\nfPujghWzwrxZQAW0TmS/l9CUxluhxT7wxCauYba6q8JiGhCzILgUZrbw1m0S\nEEbb3dkZ3hEtJbe29gZgIC1HZVeMj6E/zPIL0Qn0y9pyXnmRhMIXNuhOjWhU\nV02NyQgdzIpUTqt6ObyZeSYpvu3oUD7xksEJGt01wQWdlTBqB7ymbjgvb0Qp\nTzpULV2Dwe7NvxMVNvH84L18D8XujaFUh2H1dpAjZeu3fDaMMztuJPXJZM5n\nIi9qxevSsXCkInacoZ4p8GjUY2oQ0T9/whvWM1bPxdwelBlQCt1CNPBmrc7L\nKLV2xBft1Q2b8znuX0kPVXU0Cgmr4bJpO6LNVeayQYVyZuH1JHeIs4aNqtJi\nDKl+yNLvSKrqm8bEjHmjnimcoRKS9ApDD1PLY5B2fA7wO8Y8nmn7x/0L8Fv9\nRZl6ZxsaKO1Tzn/d07kbST7lgX2StYnQkCTDXoaali/11qFxAeYQVXDb2wk6\nnZgWBbzh+jvoIiGOO11Be39jjhyU0vZtHpxefWl8BCKbC+eAskxLhWq13jQA\nPgW8\r\n=X2/D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDo/qfTNfEE74Rm4qTQcImXFXb+PgBd0U2I7Uuu4ZDRmwIgeyJr0auIF1/iS+oL27UA5DBqyUlvfP+E8Yc5r5cUwQA="}]},"maintainers":[{"name":"potato4d","email":"mail@potato4d.me"}],"_npmUser":{"name":"potato4d","email":"mail@potato4d.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-plugin-image-native-lazy-loading_1.0.3_1600448951926_0.5526905217322278"},"_hasShrinkwrap":false},"1.1.0":{"name":"rehype-plugin-image-native-lazy-loading","version":"1.1.0","main":"lib/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/potato4d/rehype-plugin-image-lazy-loading.git"},"author":{"name":"Takuma HANATANI","email":"mail@potato4d.me"},"license":"MIT","scripts":{"build":"tsc","format":"yarn prettier './src/**/*.ts'","test":"jest","test:coverage":"jest --coverage"},"keywords":["remark","rehype","rehype-plugin","lazyload","lazy-load"],"devDependencies":{"@types/hast":"^2.3.1","@types/jest":"^26.0.14","@types/node":"^14.10.3","hast":"^1.0.0","jest":"^26.4.2","prettier":"^2.1.2","rehype":"^11.0.0","rehype-stringify":"^8.0.0","remark-parse":"^8.0.3","remark-rehype":"^7.0.0","standard-version":"^9.0.0","ts-jest":"^26.3.0","typescript":"^4.0.2"},"dependencies":{"unified":"^9.2.0","unist-util-visit":"^2.0.3"},"gitHead":"76e264be7fcdda50ad833c1bd5cc859109280b60","description":"![build](https://github.com/potato4d/rehype-plugin-image-native-lazy-loading/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehyp","bugs":{"url":"https://github.com/potato4d/rehype-plugin-image-lazy-loading/issues"},"homepage":"https://github.com/potato4d/rehype-plugin-image-lazy-loading#readme","_id":"rehype-plugin-image-native-lazy-loading@1.1.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-LJ6NsqOOcNfEYp2/nU5zJQlPUOYAgrQESeqAcANDm09rIrxuoDJd33IGIyccT7v0EUYrp5Z/9NUE/OKtlfpgNA==","shasum":"ae34703ab414db3e9480b72f0b51f8880ffc36fb","tarball":"https://registry.npmjs.org/rehype-plugin-image-native-lazy-loading/-/rehype-plugin-image-native-lazy-loading-1.1.0.tgz","fileCount":26,"unpackedSize":73085,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZw7oCRA9TVsSAnZWagAAkB0QAIx2v19tS+7051HRhgeR\nnCZzozvCPZJ2fwHuPoQwZeOp/3nrBTLNqM+OkNZOcuHtkuGFnwkXAhFprJCj\n5PEhy4henJ/4SOzKCCrvZZzxztHnY/VA8ITVzsCxZhhNwcQzZa4osKRfUJCG\nY57o7IMNJxBCoMwz1g3n61CmWhLbLwhklmQpEvmZmkPSEp/xZ45lcISeWD97\n713ooty4GZJaBmZabTC7DIxnYdFKJ13fbpqi82NImy/UIGZ0iaZiKZ+3qnIN\nUY8z12MzeL19Cl+1R6WGBiUOalK+dKKbo2Oh5/BZFR6hosXT/5oF9pAee2a1\njehLqelkRyQSK+WscAp0yt1rulWNkCqA4fmpjeZR8WFbFkQV5tuuB94lktg6\nYiriaRfkvfJRFMHPImkPRJF90UrlW87dS1XOBVMS2bs0qABbWcrMSmZfM3Si\nojNds7plLy/lj0w8mDixzWTaUODjuLOrgeOh2ZwTh7inQOAqITrqQhxXNz9l\nl42XX358FTWqgbqNQ/JG250iX7GhKBoTfcE2oLA1KO+mbhEiz3qkmE89B7EF\n452KwgysKqGx1xYBf7tgynHvFdBR9a3jzRL5SC6Nf6i9SSeEORPY4NOM801x\nNOSolcInUKTtvt3IwtMqJ48CeUXk46dy4P4Yhu75LVRl9JFNVW+d14/5Wm9L\njmsd\r\n=SYrs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUWM9VLy/ySiA74ZQnCD+nSmZmKtZhnn54GoPbnl9tQQIgc3kVc/Fo9aqlSmaH7TPx3e1lP+qYV6FDXLlL2tWtc2Y="}]},"maintainers":[{"name":"potato4d","email":"mail@potato4d.me"}],"_npmUser":{"name":"potato4d","email":"mail@potato4d.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-plugin-image-native-lazy-loading_1.1.0_1600589544080_0.4524000884656898"},"_hasShrinkwrap":false},"1.2.0":{"name":"rehype-plugin-image-native-lazy-loading","version":"1.2.0","main":"lib/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/potato4d/rehype-plugin-image-lazy-loading.git"},"author":{"name":"Takuma HANATANI","email":"mail@potato4d.me"},"license":"MIT","scripts":{"build":"tsc","format":"yarn prettier './src/**/*.ts'","test":"jest","test:coverage":"jest --coverage"},"keywords":["remark","rehype","rehype-plugin","lazyload","lazy-load"],"devDependencies":{"@types/hast":"^2.3.1","@types/jest":"^26.0.14","@types/node":"^14.10.3","hast":"^1.0.0","jest":"^26.4.2","prettier":"^2.1.2","rehype":"^11.0.0","rehype-stringify":"^8.0.0","remark-parse":"^8.0.3","remark-rehype":"^7.0.0","standard-version":"^9.0.0","ts-jest":"^26.3.0","typescript":"^4.0.2"},"dependencies":{"unified":"^9.2.0","unist-util-visit":"^2.0.3"},"gitHead":"013a097512026b269d5ba3ea4df0e9b620185e69","description":"![build](https://github.com/potato4d/rehype-plugin-image-native-lazy-loading/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehyp","bugs":{"url":"https://github.com/potato4d/rehype-plugin-image-lazy-loading/issues"},"homepage":"https://github.com/potato4d/rehype-plugin-image-lazy-loading#readme","_id":"rehype-plugin-image-native-lazy-loading@1.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-UuUyGNTRk7dIUIJaT8z1TWsWgU3zUj/HFx/66jv94xF3wR85XBgm7GOGinzgSmpeQsSz3E3R+dvecHP1cgVmOQ==","shasum":"e6e0b717137592ebe91202c45f12e8a899c66ad9","tarball":"https://registry.npmjs.org/rehype-plugin-image-native-lazy-loading/-/rehype-plugin-image-native-lazy-loading-1.2.0.tgz","fileCount":13,"unpackedSize":16562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO5pnCRA9TVsSAnZWagAA/WQP/AlAdSVX0XLNx96L/0p9\nJaStm9YAhGR/w/Cw3PBXSv8CJxt2FlqrJog3g/IdglfQrFofN1wMFVCCUShw\nG46T73WTwFWdIBvu5vvd2spx8s7m7lXPPydreBoIqsEtZxAaCZfOWfPKYMvb\n1270QOXTeBrQ7nTuTWeFo4lG8I2DG36RuOgBdMdy3/HVRTiRENAes8MNRmMd\nIxaYajoMj0SOizKQkVO05HiEDqoMIKbAmG7hzyjpCdLYH54qHgYCoYZKZTik\n9pnq8rgDg+s+XLKbdFORi/svvmryC7IjJBtsMtrojn7bkkMDcD9JsWo8P4XK\nISvxijVSFKrnPiRBG4VgJT94+g8MFssENkklyi4BSKjCyIXNTLNHXx6LhnRs\nfM2PfLZMyax5WASHHUGe7Jo0wURpHCA5Yl+V479qRqNfHzzuiRSJMUqudlNk\n23SNwkHuQAoSVFqEMIXSgpG+LrMV0DQmWUX0cyqCbi62Bm8cu1v5aUp/eYZv\nUbswgRU6rZeQfPKAHeJHHu2VTN/4YC2TkSVDTED4QghfFBxWChY/oTq9TJBS\n5vlNRLxvc2vuwJvimRRYYdx38e/ho8ch54lwPUp7K0b9sDLqNq/SGeVWzY2d\nhwjDIFMQHVM0YxbJyfqvL9YKOrkqLvmggCTcamG6FCkUXC1Pa8kuP25bKrxU\nCQSN\r\n=YqrD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAm/8kfOsoTFkY/UvqVyRPjVQ2kSBXPijlau5OObwSthAiEAsGv9o6QCmjZRcIxKgoE6OfgbxzrBx21vUqqRIcv3Pdc="}]},"_npmUser":{"name":"potato4d","email":"mail@potato4d.me"},"directories":{},"maintainers":[{"name":"potato4d","email":"mail@potato4d.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-plugin-image-native-lazy-loading_1.2.0_1614518885674_0.9788949149889077"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-18T16:44:46.632Z","1.0.0":"2020-09-18T16:44:46.777Z","modified":"2022-05-15T17:21:55.519Z","1.0.1":"2020-09-18T17:03:48.656Z","1.0.2":"2020-09-18T17:05:26.785Z","1.0.3":"2020-09-18T17:09:12.104Z","1.1.0":"2020-09-20T08:12:24.256Z","1.2.0":"2021-02-28T13:28:05.796Z"},"maintainers":[{"name":"potato4d","email":"mail@potato4d.me"}],"description":"![build](https://github.com/potato4d/rehype-plugin-image-native-lazy-loading/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehyp","homepage":"https://github.com/potato4d/rehype-plugin-image-lazy-loading#readme","repository":{"type":"git","url":"git+ssh://git@github.com/potato4d/rehype-plugin-image-lazy-loading.git"},"author":{"name":"Takuma HANATANI","email":"mail@potato4d.me"},"bugs":{"url":"https://github.com/potato4d/rehype-plugin-image-lazy-loading/issues"},"license":"MIT","readme":"# rehype-plugin-image-native-lazy-loading\n\n![build](https://github.com/potato4d/rehype-plugin-image-native-lazy-loading/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading/branch/master/graph/badge.svg)](https://codecov.io/gh/potato4d/rehype-plugin-image-native-lazy-loading) ![Version](https://img.shields.io/npm/v/rehype-plugin-image-native-lazy-loading.svg?sanitize=true)\n\nNative lazy loading plugin for Rehype.\n\n## Installation\n\n```bash\n$ yarn add rehype-plugin-image-native-lazy-loading # or npm install\n```\n\n## Usage\n\n### General Use\n\n1. Add `loading=\"lazy\"` to your markdown document\n\n```javascript\nimport fs from 'fs'\nimport lazyLoadPlugin from 'rehype-plugin-image-native-lazy-loading'\nimport unified from 'unified'\nimport markdown from 'remark-parse'\nimport remark2rehype from 'remark-rehype'\nimport html from 'rehype-stringify'\n\nasync function process(markdown: string) {\n  return new Promise((resolve, reject) => {\n    unified()\n    .use(markdown)\n    .use(remark2rehype)\n    .use(lazyLoadPlugin)\n    .use(html)\n    .process(markdown, (err, file) => {\n      if (err) {\n        return reject(err)\n      }\n      return resolve(file.toString())\n    })\n  })\n}\n\nasync function run() {\n  const input = `# test\n![potato4d](https://github.com/potato4d.png)`\n  const output = await process(input)\n  console.log(output) // `<h1>test</h1>\\n<img alt=\"potato4d\" loading=\"lazy\" src=\"https://github.com/potato4d.png\">`\n}\n```\n\n2. Add `loading=\"lazy\"` to your HTML document\n\n```javascript\n\nimport fs from 'fs'\nimport lazyLoadPlugin from 'rehype-plugin-image-native-lazy-loading'\nimport unified from 'unified'\nimport parse from 'rehype-parse'\nimport slug from 'rehype-slug'\nimport stringify from 'rehype-stringify'\n\nasync function process(html: string) {\n  return new Promise((resolve, reject) => {\n    unified()\n    .use(parse)\n    .use(slug)\n    .use(lazyLoadPlugin)\n    .use(stringify)\n    .process(html, (err, file) => {\n      if (err) {\n        return reject(err)\n      }\n      return resolve(file.toString())\n    })\n  })\n}\n\nasync function run() {\n  const input = `<h1>test</h1>\\n<img alt=\"potato4d\" src=\"https://github.com/potato4d.png\">`\n  const output = await process(input)\n  console.log(output) // `<h1>test</h1>\\n<img alt=\"potato4d\" loading=\"lazy\" src=\"https://github.com/potato4d.png\">`\n\n```\n\n### Used with the Framework\n\n#### `@nuxt/content`\n\nin your nuxt.config.js\n\n```javascript\nexport default {\n  // ...\n  content: {\n    markdown: {\n      rehypePlugins: [\n        'rehype-plugin-image-native-lazy-loading'\n      ]\n    }\n  },\n  // ...\n}\n```\n\nFor more information, see [official document](https://content.nuxtjs.org/configuration#markdownrehypeplugins).\n\n## Support browsers\n\n- 19 Sep. 2020\n\n[![Image from Gyazo](https://i.gyazo.com/ccc6d6f57f0e9599a5b1355a8f1f1e39.png)](https://gyazo.com/ccc6d6f57f0e9599a5b1355a8f1f1e39)\n\n## LICENCE\n\nMIT\n","readmeFilename":"README.md","keywords":["remark","rehype","rehype-plugin","lazyload","lazy-load"]}