{"_id":"hast-util-heading-rank","_rev":"10-de7e56bcac52a60d4282f4020b09ff7e","name":"hast-util-heading-rank","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"hast-util-heading-rank","version":"1.0.0","description":"hast utility to get the rank (or depth, level) of headings","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","heading","rank","depth","level"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-heading-rank.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-heading-rank/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"hastscript":"^5.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","xo":"^0.27.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"878eaec4bc346765ab12194d68121133dc09a2b7","homepage":"https://github.com/syntax-tree/hast-util-heading-rank#readme","_id":"hast-util-heading-rank@1.0.0","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-VnDR+abh0GkBM6o0wMsvWmU4Ew2ZnFcHEMN3wseG1oN1/lv1Pj7w5XSTrctgfqaEAd2H6FVH9VlxmsayFVkamg==","shasum":"c28903be8e4cd1d637ef3f84cecbbfac48c8f1fd","tarball":"https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-1.0.0.tgz","fileCount":4,"unpackedSize":6124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX4zMCRA9TVsSAnZWagAA8QwP/Aj0ppyiBt3apbEP6G5I\nFd3jm1P0ai58R7ZPA2gaYMvsthaoH4DjQT82nvMExFQXvEd4kyUeG+/30A+A\nmVRDrphx984rC1UFCZB0MlFB5JqStWx2QQWkEaHftyl3b91PluyMF96lcvk9\nt3cDQZ8E2neOuJQhK5bZi2jbywfBdXF2lsXv293xhYjFaNcLO+QA+Tv3uFa0\noXMyc7jgduNMrEfLe08k0NLXT+lWp1q07ucssiQe6fnVV2MDOIi2wCsfF/07\nTTWhaCNFZBWDObq1l3mEq5Tyn5qDmGtw9MAgzyLuq27mdO6fIFppl+wmXLsy\nIiGCcE0iQH4tpFB7oU/7+xqT0P7o7Su2eRcC6/+CLhvHDZEp8tZugu5mqPWI\nH9BnvcjXy1Ohaf89a5ky4t6mmaXu6gt8zYi54jBoTMHzDRq7Gh9tZIQoXyPi\nmwU+SduU4fKvFk60c+3IdBykbG42jeyaWarxYA8CrSObNWu85exVsrHN6qQD\n/8blhzqbxmnzid4GlkIAt8kRjh9IFEle19IXvHMUkuEsnqHeDt6tXAOUq4zz\nY84fH5wghQk3GRwQPvSPln/3BNMyZJWbRBJG8fzKAB/IcIHVEYSDs6GsVsLp\nzQcOKT2EQNMJiBuWG1O3IFoHR+4YK9nbNUi3vg8DtQca0e0qqtSTjI3eRHAe\n/CFz\r\n=szLJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC51TbMsSmhCFpLNQUhJwis8LD0EYwi3YXVndw8wgabpgIgbpl4rORMF0snDZwhogO0TJyxUwbYdJviNT5Zt8jiKag="}]},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-heading-rank_1.0.0_1583320267618_0.2688826249578109"},"_hasShrinkwrap":false},"1.0.1":{"name":"hast-util-heading-rank","version":"1.0.1","description":"hast utility to get the rank (or depth, level) of headings","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","heading","rank","depth","level"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-heading-rank.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-heading-rank/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"hastscript":"^5.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","xo":"^0.27.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4db5e67da6757f4b355d2af4e47222eaba0c6317","homepage":"https://github.com/syntax-tree/hast-util-heading-rank#readme","_id":"hast-util-heading-rank@1.0.1","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-P6Hq7RCky9syMevlrN90QWpqWDXCxwIVOfQR2rK6P4GpY4bqjKEuCzoWSRORZ7vz+VgRpLnXimh+mkwvVFjbyQ==","shasum":"28dfd8b0724cfb0da48308e2a794b1d9f24fd80d","tarball":"https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-1.0.1.tgz","fileCount":4,"unpackedSize":6148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX5mSCRA9TVsSAnZWagAAslsQAIvrZ853f93HBTH+wZ3r\nVg/HYIt0AqERoHxigF3ZMyc44zJVhcOkYURjus1P0tpiGEzbgZAV0sCmjpuy\nOYAz4NXW35Cg3E/POXvWg7LR4lvfQoo2/RP0DPEzYUTQm38dRmmvI29FWma1\nWsplycRc7acP9Z2ATinX2kx0KC4iYOymIgFHeEpBcBcflpr7JPTOQPJTRQ2r\n8a1PfcSJDAMclTayIY7XTKhvM9j8aDj8HxpSuP66/yEtm444o7kAT31qiWuH\n6dBY6XUbUD2xAxO9EG6CLfayQEceOQnnOw23q/aP1niB0rXqlw80tPXWpHow\ntVbMTkdPkokL8rDtCGcA7rQectANRhys1BujxACLBpnZKRrRuvg7L+ZuNGtg\nC0vorCVtb+l5cjiycOmG6pnaElMAjMY/crmD1Bfbx+Ko0kirjPpCVV1NZEvS\nrkEDx/s4EKCB6JcKmJGA1P9bgGMAQ38czVcOarKsKZBoqtOQe08yWKKoQQu0\nXl6XyHScqcesvOpJgxBHpYQgDJYsZFaNK5alawhO3xHSZm61HU8xXTXEH6Er\nK0UJrDEwPpXo1lrevmApSkxhiq87hxqsNezReGVlN3cNJAtTI2hfDbmRv3E4\nOJCD1PossvVKn1dJJW/CQ4Yq0PG9Q2okqHbcmIrbsxaQs4815W9tv3OeNNIy\ndzsE\r\n=xwvB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCc2IL8f3/EcRM4QNmX7WUZtMolWWH8muHe9QnS9YMkywIgCOhNc/IkJ9P/3j1+eomCE3osVgdh9wrBjvlXz5El9b4="}]},"maintainers":[{"email":"keith@mcknig.ht","name":"kmck"},{"email":"tituswormer@gmail.com","name":"wooorm"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-heading-rank_1.0.1_1583323538198_0.10246058214493226"},"_hasShrinkwrap":false},"2.0.0":{"name":"hast-util-heading-rank","version":"2.0.0","description":"hast utility to get the rank (or depth, level) of headings","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","heading","rank","depth","level"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-heading-rank.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-heading-rank/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","hastscript":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"2dd9754ee8fb142a85db09f7b1291404fd291fe6","homepage":"https://github.com/syntax-tree/hast-util-heading-rank#readme","_id":"hast-util-heading-rank@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-BaHPyuL1xbxXoJF4rnRtqhWbJ5pTm8m7xtsRllPUMYvFPnN0oLO/VBE9x7B4HtS4WMnlssafNaFMHylDskx1rQ==","shasum":"9dcc542e747984e6aa68a26d8dd13408d96b0ed4","tarball":"https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-2.0.0.tgz","fileCount":5,"unpackedSize":7235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiZWFCRA9TVsSAnZWagAAADsP/0X9iLPP9swvPaMqEUpe\no/JyUvUCCp6hoPj+naz6gjWT60ipesieJcPnCUtyUwodEe06UmygRd7efZdd\nugu/XMQNdzsy2JVlJVCkism5zOyuoAnV6d9mJIanFqPa7MW5lhVb/M4BCNqJ\nra5pZ1Npz0wMp9zz85I3AWOOQU7qdYhdLwB6owE1N5VitNcSHSKRZ76rf5W+\nythWWLAWb26N46vgTYb9n5uwVEAwUo1iJPA/p/L6cHWyn3W2da3IJsN27vNz\nabeHmeCQBvg9Uejl0Uvo09rfdLsUyzoHiVWR2PoUMVtvVJ5IbxooMNa+Vq3g\n7MuUwt+u08hnzbwJwzwziMbCOOvw/IvSQaS6czOPcDDnBiqPTyIQHnizHtCA\nFGlbhf340Jd108WHJULY8VVhEhmHku7b8v9ymYTTpt2V2l593eWc5Mrj24CW\nF2KFJoXwIjjos8xiLATW+TNWsV6mBWC6BfGKh86pP7bnmwgDe5O9xqFpBNSq\nrMm5bP7w5jzuGyhD1aEcbDt1xzocXnPNtBs9jCCEt2UAfeC1pxYQkUBacVRE\n4d8qwzbnycIz0zfCK4PP7XjknkgHa0ovIAkYYsea4sTXdKy/IXKuWjTn8dgW\nTKJZC+ECWDANTxc8z8+JxhEDHRE8PiuQ/s5X2+d6I6nHZiv9f03qJKXebrYg\nzAAZ\r\n=oZLe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIjYgGwi0BLHhyGpCiZO/RgZzdMt94xhO5jQaG5YgS9AiEA8rCoOlZdDztYoL81YM53KqaqLMsukg+QvDYucGpNHKA="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-heading-rank_2.0.0_1619629445010_0.11375081274737786"},"_hasShrinkwrap":false},"2.1.0":{"name":"hast-util-heading-rank","version":"2.1.0","description":"hast utility to get the rank (or depth, level) of headings","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","heading","rank","depth","level"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-heading-rank.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-heading-rank/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","hastscript":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"735b454902cb70bd4e8ce12c47232c43aeba3c5d","homepage":"https://github.com/syntax-tree/hast-util-heading-rank#readme","_id":"hast-util-heading-rank@2.1.0","_nodeVersion":"16.1.0","_npmVersion":"7.12.1","dist":{"integrity":"sha512-w+Rw20Q/iWp2Bcnr6uTrYU6/ftZLbHKhvc8nM26VIWpDqDMlku2iXUVTeOlsdoih/UKQhY7PHQ+vZ0Aqq8bxtQ==","shasum":"c39f34fa8330ebfec03a08b5d5019ed56122029c","tarball":"https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-2.1.0.tgz","fileCount":5,"unpackedSize":7468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnVh8CRA9TVsSAnZWagAACRYP/AmFZyWaMoq5sBlVZRxH\nZdmxLmljGA1BbErwiAbE5RKl69du803/B1mAufTSTLebS/7C1rWclbiykVjt\n6eSQsds9OMIdM5RMgUifpRarBru+v7WBXf4lej4r5vQBjXq1HdEuFjqNA15P\nDdo2RaXT3J8M9/YIVccdNRRy6FhRZW/iEDY9HMw8xK44/GFjGClJewHc88Ca\nKdM+ofJG94p/Xp4qco5iYaa2K8rUjCSQYnw/8+eMtodmTINuLPAAiJbCpP4N\njNguG4QQMariJShZ7LINQ00qpEa7Ek4hFgXxeoJFZwmm8GLOKr21IDft9PIW\nZ20iO0iARIE5+QnYo2IboxIKZKAJUpoqYk8xl/RXhqsUY626r4r68tW6Ckd2\nkoyX0ctvvKlFoBbm1IZMlgxuVHcp70Y6V2k0rwCSJpPNevjJD6TJW9boycWZ\nV2yRanQScVkP+it5uRsxTbwsYGBpTql37bHDKxOM/+6OR1RIrExIMnwfkbKK\nXFXMXMprMKlOLgjRFlkvHhU6G0ur+5XyqOUrkg3TDxHpDICJuNJwB/ag2PL5\nrvCwMqsPuuex3Czy641NaA4dgGayFzBqW+blOim3HhVkYY2vXUlB2i5vvLTu\ndIvVmLrzt4KRleQth030A/gjVaG0JC9G7c6IvTtTqrtAEQw2Xb1WdjQFZkiS\nXXlT\r\n=TXQK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI8/VuQS4NvGJnC1FUcWX9UPO/fnVc4rY2muzdr1VusAIgDl3aJ7Ou9UZpfS2KZE58ePtOK8CmOjXoVQNjQldYYU8="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-heading-rank_2.1.0_1620924540527_0.8898208896216964"},"_hasShrinkwrap":false},"2.1.1":{"name":"hast-util-heading-rank","version":"2.1.1","description":"hast utility to get the rank (or depth, level) of headings","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","heading","rank","depth","level"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-heading-rank.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-heading-rank/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","hastscript":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"feafa267c54b310cd78fdf84fa93be007e34e563","homepage":"https://github.com/syntax-tree/hast-util-heading-rank#readme","_id":"hast-util-heading-rank@2.1.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-iAuRp+ESgJoRFJbSyaqsfvJDY6zzmFoEnL1gtz1+U8gKtGGj1p0CVlysuUAUjq95qlZESHINLThwJzNGmgGZxA==","shasum":"063b43b9cfb56a1a8ded84dd68d8af69e8864545","tarball":"https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-2.1.1.tgz","fileCount":7,"unpackedSize":9236,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLrRlmG/Y2Gl1DsKY7G8mky3CQIj4NapFnl58yFLSXVAIhANVqmnH0tYvA3vei5D90I9XsjaAIQIbMgmCOh1FJgHI5"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvCOIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1cg//ZLw8VncT647QuBueMhSll9Vh+2SAMOsUuEYF5IZu11DtC9Hd\r\nIPGZFFEe+4wTSEnPys7crNBSrcogbvSHq2JinHlpzPrqIjKLNxO5lS2q2OiX\r\n7yRumYSeifh8Z9h4NZt+GFzsxKR+octSzNIc+7ubOckiQ/Q9PAZdUArfwP/h\r\nZVPxrKfHeJp3XWWyYcfY/5FUmisp1bkoWBjxWGQb7h/WcM0ZeXSHWqGV750T\r\n/82Q8IZrIlTdvoJJHeg6EVjTOKVsEohfeEH4oumjBstWqUuMggoD2VEXXS4Y\r\noiZ5IwrRqeT/VamvgGMFS4GTh/gv2HV79ha9mtBxpNvzx7rDuWa8eEBbTpWQ\r\nAumML81UtPMxvKIiYy8S4HUpj7SmdX1+ABJwEhpVZjYB4j86MkVWPNBmnoC/\r\n1wdCmtSzKxebv278vxSoPHds/q9BEZDDS3cK5XXKX0gtjRplr3otYbioYcqt\r\nSbEeP++y/I5me08HXu4hmaYdc3H0lgeLItQYboL/VH62DRWPhnJhmvQstSyk\r\nk7HBDedJcOd5BT4AbLsuajPtSapAvfnNIg//4ecdLdz7yVwvBFG37VGVu9jH\r\nR5aIEjufb4qCUZQkeqx8txHC4W/B3tP+dAyXOigQZV4ChYQI4syc2Peug3wF\r\nShCoveyPKQE42O2QrKPfxjPzQR+9Tjn6PyE=\r\n=FgKA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-heading-rank_2.1.1_1673274248573_0.7281675539285741"},"_hasShrinkwrap":false},"3.0.0":{"name":"hast-util-heading-rank","version":"3.0.0","description":"hast utility to get the rank (or depth, level) of headings","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","heading","rank","depth","level"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-heading-rank.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-heading-rank/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","hastscript":"^8.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.55.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off"}},"gitHead":"820f0b315aa86eb33b4bdd193b5c5ba8d0548d71","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-heading-rank#readme","_id":"hast-util-heading-rank@3.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-EJKb8oMUXVHcWZTDepnr+WNbfnXKFNf9duMesmr4S8SXTJBJ9M4Yok08pu9vxdJwdlGRhVumk9mEhkEvKGifwA==","shasum":"2d5c6f2807a7af5c45f74e623498dd6054d2aba8","tarball":"https://registry.npmjs.org/hast-util-heading-rank/-/hast-util-heading-rank-3.0.0.tgz","fileCount":7,"unpackedSize":9092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmLU+vuKzoXLxYACbMgaesvGKtDtkFLlQE5W6YD7zg4AiEA1CzMkX9L/YlVHMfQr/zVrdZldsuJMYWYK7NHDCDxaVo="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-heading-rank_3.0.0_1690982271648_0.9480989174525418"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-04T11:11:07.618Z","1.0.0":"2020-03-04T11:11:07.804Z","modified":"2023-08-02T13:17:52.008Z","1.0.1":"2020-03-04T12:05:38.301Z","2.0.0":"2021-04-28T17:04:05.184Z","2.1.0":"2021-05-13T16:49:00.668Z","2.1.1":"2023-01-09T14:24:08.749Z","3.0.0":"2023-08-02T13:17:51.787Z"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"description":"hast utility to get the rank (or depth, level) of headings","homepage":"https://github.com/syntax-tree/hast-util-heading-rank#readme","keywords":["unist","hast","hast-util","util","utility","html","heading","rank","depth","level"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-heading-rank.git"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-heading-rank/issues"},"license":"MIT","readme":"# hast-util-heading-rank\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n[hast][] utility to get the rank (also known as depth or level) of headings.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`headingRank(node)`](#headingranknode)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package is a utility that lets you get the rank (`1`, `6`) of heading\nelements (`h1`, `h6`).\n\n## When should I use this?\n\nThis utility is pretty niche, if you’re here you probably know what you’re\nlooking for!\n\nTo change heading ranks, use\n[`hast-util-shift-heading`][hast-util-shift-heading].\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install hast-util-heading-rank\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {headingRank} from 'https://esm.sh/hast-util-heading-rank@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {headingRank} from 'https://esm.sh/hast-util-heading-rank@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {h} from 'hastscript'\nimport {headingRank} from 'hast-util-heading-rank'\n\nheadingRank(h('p', 'Alpha')) //=> undefined\nheadingRank(h('h5', 'Alpha')) //=> 5\n```\n\n## API\n\nThis package exports the identifier [`headingRank`][api-heading-rank].\nThere is no default export.\n\n### `headingRank(node)`\n\nGet the rank (`1` to `6`) of headings (`h1` to `h6`).\n\n###### Parameters\n\n*   `node` ([`Node`][node])\n    — node to check\n\n###### Returns\n\nRank of the heading (`number`) or `undefined` if not a heading.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`hast-util-heading-rank@^3`, compatible with Node.js 16.\n\n## Security\n\n`hast-util-heading-rank` does not mutate.\nThere are no openings for [cross-site scripting (XSS)][xss] attacks.\n\n## Related\n\n*   [`hast-util-heading`](https://github.com/syntax-tree/hast-util-heading)\n    — check if a node is heading content\n*   [`hast-util-shift-heading`](https://github.com/syntax-tree/hast-util-heading)\n    — change heading rank\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`syntax-tree/.github`][health] for\nways to get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definition -->\n\n[build-badge]: https://github.com/syntax-tree/hast-util-heading-rank/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/hast-util-heading-rank/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-heading-rank.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/hast-util-heading-rank\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-heading-rank.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-heading-rank\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=hast-util-heading-rank\n\n[size]: https://bundlejs.com/?q=hast-util-heading-rank\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[hast]: https://github.com/syntax-tree/hast\n\n[node]: https://github.com/syntax-tree/hast#nodes\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[hast-util-shift-heading]: https://github.com/syntax-tree/hast-util-shift-heading\n\n[api-heading-rank]: #headingranknode\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}