{"_id":"@dodiameer/markdown-viewer","_rev":"1-f62dda2e63a1d96da8887a1397f26374","name":"@dodiameer/markdown-viewer","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dodiameer/markdown-viewer","version":"1.0.0","main":"./dist/mdviewer.umd.js","module":"./dist/mdviewer.es.js","exports":{".":{"import":"./dist/mdviewer.es.js","require":"./dist/mdviewer.umd.js"}},"scripts":{"dev":"vite","build":"vite build","serve":"vite preview","prepublish":"yarn build"},"devDependencies":{"@sveltejs/vite-plugin-svelte":"^1.0.0-next.7","@types/dompurify":"^2.2.2","@types/marked":"^2.0.2","svelte":"^3.37.0","svelte-preprocess":"^4.7.2","typescript":"^4.2.4","vite":"^2.2.3"},"dependencies":{"dompurify":"^2.2.8","marked":"^2.0.3"},"description":"This template should help get you started developing with Svelte and TypeScript in Vite.","_id":"@dodiameer/markdown-viewer@1.0.0","dist":{"shasum":"62d724cbc47a6ec911936a83a6e23ac34e9077d3","integrity":"sha512-DRu1xNhNKVWBzJ/O4XkLnkFPO4UnDkFMSLGDcu0W9VK7XQS/v5D8u0RmWLw++TYQzVkrjwQvFvrnivI9q6YAVw==","tarball":"https://registry.npmjs.org/@dodiameer/markdown-viewer/-/markdown-viewer-1.0.0.tgz","fileCount":7,"unpackedSize":14787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmEq0CRA9TVsSAnZWagAAoyUQAJJ73BhXouWzw183cEln\n790O05yP6TokPHW4flK4fmo58u4S2NyqiGTE2LbCh0ByIlZ2kTm+zqgiZKpl\nZR1W5+Al+OwHlHGMZkHbmxVuUWEWo/bRyR5flfHtyTAyIrvKOkeJUgiwR/N4\nCKipPYIoLsl/IS9GOLHUcFC+RJXTqTdjYBynIvTrdpcAI5dVU4n83Rj4Od4S\nIlsRUf0LWurCB8RsiIaEmI4UyKCAIsgFwuwPywQrae8Y9k3eTB0GQEHQ1+6C\nD76rtANVwpKkrlm6Pzqo1E7ELY1AmY+0vL1STTLWMuo2uWOBp2F38XSne2K2\nfIdsQ9zgJZDTrzVFTF/LOLkKrrYL1LUWHbrP4GYlFWZZYsd/9GNjcGveRsfQ\nryUockeOJ51Tym/82/qYl0O/ur/KeB2JoS5mwdH8RmiybWefOEbTaMW5ByqT\nUCFW0eJePhAROAF17esG+7FHkXd9Gg9mWx444ZMDmWMBxXhnO8++7hVk9bsH\nkQf3enRHaXtUBu+mWNgTAl//MSXyRc5LfRk6zGDa2mRYskqWFuN6abHXot8i\nBv+6XZyla0E2MzbCYyAwDjhsL9MMoDfu0d61PKhqCtPWs/vlYmkpOu1Nxt5H\nRj4nAPxqScEl1SJzi/EFHhcaC+GSRlHMYuRPRrsvfSSffzg/Y32pQPVL/LEA\nJi8l\r\n=bc5w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID0HKXTey41fIs8KNJH4pLq5O8jqmkFkBggBPVAYbEZdAiAWqXcV0Ty+8TCSyhcQSW1KT3gQ2qJlSQSrNtFIwn0zCw=="}]},"_npmUser":{"name":"dodiameer","email":"mtxshiftg@gmail.com"},"directories":{},"maintainers":[{"name":"dodiameer","email":"mtxshiftg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-viewer_1.0.0_1620593331938_0.9417831668033794"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-09T20:48:51.868Z","1.0.0":"2021-05-09T20:48:52.061Z","modified":"2022-04-05T05:05:49.344Z"},"maintainers":[{"name":"dodiameer","email":"mtxshiftg@gmail.com"}],"description":"This template should help get you started developing with Svelte and TypeScript in Vite.","readme":"# Svelte + TS + Vite\n\nThis template should help get you started developing with Svelte and TypeScript in Vite.\n\n## Recommended IDE Setup\n\n[VSCode](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).\n\n## Need an official Svelte framework?\n\nCheck out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more.\n\n## Technical considerations\n\n**Why use this over SvelteKit?**\n\n- It brings its own routing solution which might not be preferable for some users.\n- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.\n  `vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example.\n\nThis template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-app` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.\n\nShould you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate.\n\n**Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?**\n\nSetting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information.\n\n**Why include `.vscode/extensions.json`?**\n\nOther templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project.\n\n**Why enable `allowJs` in the TS template?**\n\nWhile `allowJs: false` would indeed prevent the use of `.js` files in the project, it does not prevent the use of JavaScript syntax in `.svelte` files. In addition, it would force `checkJs: false`, bringing the worst of both worlds: not being able to guarantee the entire codebase is TypeScript, and also having worse typechecking for the existing JavaScript. In addition, there are valid use cases in which a mixed codebase may be relevant.\n\n**Why is HMR not preserving my local component state?**\n\nHMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr).\n\nIf you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR.\n\n```ts\n// store.ts\n// An extremely simple external store\nimport { writable } from 'svelte/store'\nexport default writable(0)\n```\n","readmeFilename":"README.md"}