{"_id":"remark-heading-id","_rev":"3-878fd65263173a17e9974fdb82e5e679","name":"remark-heading-id","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"remark-heading-id","version":"1.0.0","main":"index.js","description":"The remark plugin for supporting custom heading id","author":{"name":"imcuttle","email":"moyuyc95@gmail.com"},"scripts":{"test":"jest","prepublishOnly":"npm test","version":"npm run changelog","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -e $HUSKY_GIT_PARAMS"}},"sideEffects":false,"engines":{"node":">=8"},"keywords":["imcuttle","remark","heading","id","remark-heading-id","custom"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/imcuttle/remark-heading-id.git"},"jest":{"testMatch":["**/__test{s,}__/*.(spec|test).{t,j}s{x,}"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.5.2","@commitlint/config-conventional":"^7.5.0","@types/jest":"^24.0.9","conventional-changelog-cli":"^2.0.12","husky":"^1.3.1","jest":"^23.6.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","rehype-stringify":"^5.0.0","remark":"^10.0.1","remark-rehype":"^4.0.0"},"dependencies":{"unist-util-visit":"^1.4.0"},"gitHead":"d17e3067e58929cf6fdd00ab02d4717cdac68701","bugs":{"url":"https://github.com/imcuttle/remark-heading-id/issues"},"homepage":"https://github.com/imcuttle/remark-heading-id#readme","_id":"remark-heading-id@1.0.0","_nodeVersion":"9.2.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-86QaOiL+8jTV9P5Y0S25kSIcykCd/XmnqiFltWZRWKHmsVT4sevN7QJnkpUjkCJUpIeWte/LYH7pVlCTGz89fw==","shasum":"a4a5c7c3de3c7fdee223d508760c6d6a5e0d9336","tarball":"https://registry.npmjs.org/remark-heading-id/-/remark-heading-id-1.0.0.tgz","fileCount":11,"unpackedSize":8077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdnZWCRA9TVsSAnZWagAAEpwP/i5Xitj+QrznodKEArh5\n4o1E4ADNsA46hc9tvWS+m7h+MSIhiDZc5xvsDMp+J9D7APLO/BPkF4XUIaif\nWvl3t2dbUHzBkRGn8sq2J8J7tEsHTA7kSGJGh4GyFwHgwo5Xwn4w8o3bomUb\n4iit0goDcvMAs/Z707DYkSPOoEFkmeOltON6EF3Zh/Qc39ge7w2bEgYfWuSs\n+j+IX5xaNnEnjAAALXWFQ4aRJyPu3k3yOLzCsvZ/IL2w59simJQf3CsnP+3X\n94n9jdxij/GDTPUDtq5ThB+620X0UPCKkc1KgOn2257W+PyF+L9UMNZ4afvq\nJUKbkGqn84uSIyEC7Wp/rPz5vWgJHMomMcbdsHEh6bpjR/FXDRuvE5rFDv+M\nDNwSjTh1DOLO81424Cc8wVsP3PF2TBAAd2XjSRlyqPMeml/i1LyHkq/V3KNS\n8uKhK3h5gGTw9WMpIeAZgMNnkB454dvjyap6p9gfA1rOwdJxa/TTaLNcjAiS\ndMngRX3BW3z1+F/6wC6PKNvCk5uJSqP2F51Y3x7jg03tjJShTBoThG/XC+yi\njUedHbjtrROPACMExdvMKipTSk2hCn1v59R99AyRh1aG8MmxhYmAluH5zFPo\nV8HCT1POKv1gchxskABed/BFBID0NCWMUDmethT6/AXAAlhsogg3oSCK3jkh\n/lFa\r\n=9Rfw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHMoIhyuEsG/wnspwUaTtsTcuvm2Q8AtMOQIRynqzgJAiEAr+GwKHjJ3Uc94aNrKRNAAeeIetgj6mUsD4LKKJDyFGY="}]},"maintainers":[{"name":"moyuyc","email":"moyuyc95@gmail.com"}],"_npmUser":{"name":"moyuyc","email":"moyuyc95@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-heading-id_1.0.0_1551267414269_0.44493848377041645"},"_hasShrinkwrap":false},"1.0.1":{"name":"remark-heading-id","version":"1.0.1","main":"index.js","description":"The remark plugin for supporting custom heading id also including default id","author":{"name":"imcuttle","email":"moyuyc95@gmail.com"},"scripts":{"test":"jest","prepublishOnly":"npm test","version":"npm run changelog","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -e $HUSKY_GIT_PARAMS"}},"sideEffects":false,"engines":{"node":">=8"},"keywords":["imcuttle","remark","heading","id","remark-heading-id","custom"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/imcuttle/remark-heading-id.git"},"jest":{"testMatch":["**/__test{s,}__/*.(spec|test).{t,j}s{x,}"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.5.2","@commitlint/config-conventional":"^7.5.0","@types/jest":"^24.0.9","conventional-changelog-cli":"^2.0.12","husky":"^1.3.1","jest":"^23.6.0","prettier":"^1.16.4","pretty-quick":"^1.10.0","rehype-stringify":"^5.0.0","remark":"^10.0.1","remark-rehype":"^4.0.0"},"dependencies":{"unist-util-visit":"^1.4.0","lodash":"^4.17.21"},"gitHead":"23418841e147a9e98d13ccccb0df459499d7df2f","bugs":{"url":"https://github.com/imcuttle/remark-heading-id/issues"},"homepage":"https://github.com/imcuttle/remark-heading-id#readme","_id":"remark-heading-id@1.0.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-GmJjuCeEkYvwFlvn/Skjc/1Qafj71412gbQnrwUmP/tKskmAf1cMRlZRNoovV+aIvsSRkTb2rCmGv2b9RdoJbQ==","shasum":"5500b8cbc12ba6cc36fc5ccc2a3ff3d6e5cf981e","tarball":"https://registry.npmjs.org/remark-heading-id/-/remark-heading-id-1.0.1.tgz","fileCount":12,"unpackedSize":10885,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsz+9DlDiIWIOzb794Hg3ZpXKGYjvmLQrv7uUxO98qbAiEAvlAnOGdf67QHeqR0UXNVBCHNQRdv3XNnaV1rARCPdkw="}]},"_npmUser":{"name":"spikeon","email":"spikeon@gmail.com"},"directories":{},"maintainers":[{"name":"moyuyc","email":"moyuyc95@gmail.com"},{"name":"spikeon","email":"spikeon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-heading-id_1.0.1_1692721347745_0.6603363007413714"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-27T11:36:54.268Z","1.0.0":"2019-02-27T11:36:54.409Z","modified":"2023-08-22T16:22:28.193Z","1.0.1":"2023-08-22T16:22:28.003Z"},"maintainers":[{"name":"moyuyc","email":"moyuyc95@gmail.com"},{"name":"spikeon","email":"spikeon@gmail.com"}],"description":"The remark plugin for supporting custom heading id also including default id","homepage":"https://github.com/imcuttle/remark-heading-id#readme","keywords":["imcuttle","remark","heading","id","remark-heading-id","custom"],"repository":{"type":"git","url":"git+https://github.com/imcuttle/remark-heading-id.git"},"author":{"name":"imcuttle","email":"moyuyc95@gmail.com"},"bugs":{"url":"https://github.com/imcuttle/remark-heading-id/issues"},"license":"MIT","readme":"# remark-heading-id\n\n[![Build status](https://img.shields.io/travis/imcuttle/remark-heading-id/master.svg?style=flat-square)](https://travis-ci.org/imcuttle/remark-heading-id)\n[![Test coverage](https://img.shields.io/codecov/c/github/imcuttle/remark-heading-id.svg?style=flat-square)](https://codecov.io/github/imcuttle/remark-heading-id?branch=master)\n[![NPM version](https://img.shields.io/npm/v/remark-heading-id.svg?style=flat-square)](https://www.npmjs.com/package/remark-heading-id)\n[![NPM Downloads](https://img.shields.io/npm/dm/remark-heading-id.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/remark-heading-id)\n[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)\n\n> The remark plugin for supporting [custom heading id](https://www.markdownguide.org/extended-syntax/#heading-ids) and Default Id\n\n### Custom Heading Input\n\n```markdown\n### My Great Heading {#custom-id}\n```\n\n### Custom Heading Output\n\n```html\n<h3 id=\"custom-id\">My Great Heading</h3>\n```\n\n### API\n\nThis package exports no identifiers. The default export is `remarkHeaderId`.\n\n`unified().use(remarkHeadingId[, options])`\n\n#### options\n\nConfiguration (optional).\n\n#### options.defaults\n\nWhether to add default titles based on the title text (boolean, default: false).\n\n##### Default Heading Input\n\n```markdown\n### My Great Heading\n```\n\n##### Default Heading Output\n\n```html\n<h3 id=\"my-great-heading\">My Great Heading</h3>\n```\n\n## Contributing\n\n- Fork it!\n- Create your new branch:  \n  `git checkout -b feature-new` or `git checkout -b fix-which-bug`\n- Start your magic work now\n- Make sure npm test passes\n- Commit your changes:  \n  `git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`\n- Push to the branch: `git push`\n- Submit a pull request :)\n\n## Authors\n\nThis library is written and maintained by imcuttle, <a href=\"mailto:moyuyc95@gmail.com\">moyuyc95@gmail.com</a>.\n\n## License\n\nMIT - [imcuttle](https://github.com/imcuttle) 🐟\n","readmeFilename":"README.md"}