{"name":"@mdit-vue/types","version":"3.0.1","keywords":["markdown-it","vue","types"],"author":{"name":"meteorlxy","email":"meteor.lxy@foxmail.com"},"license":"MIT","_id":"@mdit-vue/types@3.0.1","maintainers":[{"name":"meteorlxy","email":"meteor.lxy@foxmail.com"}],"homepage":"https://github.com/mdit-vue","bugs":{"url":"https://github.com/mdit-vue/mdit-vue/issues"},"dist":{"shasum":"6b4866322acf9bebb6f6fda6593d5ef035c8788d","tarball":"http://registry-npm.ywwl.com/@mdit-vue/types/download/@mdit-vue/types-3.0.1.tgz","fileCount":5,"integrity":"sha512-NLNVkMuDv8GkmuPFyqZU2XhAdCI2455io+BX+oTiww+mElBysIUelS1YRyUiAiaOA3hvJqcIdXfwGAweeauKvQ==","signatures":[{"sig":"MEUCIQDV59rVEgqHcQ+0zhWprduShUEXS3Wz4wuA6aKtIJJ0iwIgRuEyoL51rBXIOOdA879q8FUIAEjNDejUxo8j0nlVo1M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3321,"size":1820,"noattachment":false,"key":"/@mdit-vue/types/-/@mdit-vue/types-3.0.1.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"gitHead":"cdffe386ef7b897f1bf878ce20e38bdd07908fb1","scripts":{"build":"tsdown"},"_npmUser":{"name":"meteorlxy","email":"meteor.lxy@foxmail.com"},"repository":{"url":"git+https://github.com/mdit-vue/mdit-vue.git","type":"git"},"_npmVersion":"lerna/4.7.0/node@v22.17.0+arm64 (darwin)","description":"Shared types definition of mdit-vue","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.14.0"},"_npmOperationalInternal":{"tmp":"tmp/types_3.0.1_1754926943360_0.35101685436925223","host":"s3://npm-registry-packages-npm-production"},"readme":"# @mdit-vue/types\n\n[![npm](https://badgen.net/npm/v/@mdit-vue/types)](https://www.npmjs.com/package/@mdit-vue/types)\n\nShared types definition of mdit-vue.\n\n## Install\n\n```sh\nnpm i @mdit-vue/types\n```\n\n## Usage\n\nAdd more properties to `env` via [TypeScript module augmentation](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation):\n\n```ts\ndeclare module '@mdit-vue/types' {\n  interface MarkdownItEnv {\n    foo?: string[];\n  }\n}\n```\n\n```ts\nimport type { MarkdownItEnv } from '@mdit-vue/types';\nimport MarkdownIt from 'markdown-it';\n\nconst md = MarkdownIt({ html: true });\nconst env: MarkdownItEnv = {};\nconst rendered = md.render('raw markdown text', env);\n```\n","publish_time":1754926943555,"_cnpm_publish_time":1754926943555,"dist-tags":{"latest":"4.0.0"}}