{"name":"@mdit-vue/types","version":"3.0.0","keywords":["markdown-it","vue","types"],"author":{"name":"meteorlxy","email":"meteor.lxy@foxmail.com"},"license":"MIT","_id":"@mdit-vue/types@3.0.0","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":"9fdb4431b9bc87c3b26c5fec9aa65f519564a930","tarball":"http://registry-npm.ywwl.com/@mdit-vue/types/download/@mdit-vue/types-3.0.0.tgz","fileCount":8,"integrity":"sha512-9j5fpTpMdyD9swZwbJZJHPyAS58WzTYpIUUFYzfBJViDL6drQTj7jnMbfGPtApSoKrsV5VJ4ClVctJnm+0TpkQ==","signatures":[{"sig":"MEQCIAJAccqf50GOM3nLJWa9zVgqV75rsUx2+ipS5yEVR2PDAiAZqtD/l03i2eH333mzjkc2l7LkrTEmN6XJcUaQ/HJVzg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4592,"size":2001,"noattachment":false,"key":"/@mdit-vue/types/-/@mdit-vue/types-3.0.0.tgz"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.cts","module":"./dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"bbb62a47109c2932505b3f570b963f70d590914f","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.0_1754898916672_0.6071853639804847","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":1754898916858,"_cnpm_publish_time":1754898916858,"dist-tags":{"latest":"4.0.0"}}