{"name":"@dprint/typescript","version":"0.68.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.68.0","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/dprint-plugin-typescript#readme","bugs":{"url":"https://github.com/dprint/dprint-plugin-typescript/issues"},"dist":{"shasum":"8768823f4f7ee4ffad40599b3fc321e1de7f4322","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.68.0.tgz","fileCount":5,"integrity":"sha512-eYuLKpYX3Z8i7GGAGbSSa/gPVRtiFuOacUOTIiKFCj882OPTwVKkVH7LaCzIMkWWR9A9POM3i7nXdp50XGRMnA==","signatures":[{"sig":"MEYCIQCiu2G7I6YuI6mVTs5Psm992jDsOXpSdyZBivFki6FLkwIhAJJK5RpWR52Eb+zXZS11FbI+HcjkP2+s6VEi85MsSXl3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6338483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXMcXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1IA//aH/Z2pjKECwpDeMy4O6c7rSCmYXI8Ds4oByQfEy8q3dkwBe0\r\n6ZQO/SyqWTp6jXgcXARcvzFHGs4gdUfHxHGENjxVRaq1LqLg+aYA20sK7+2U\r\n+gDwHLcEPum37xVw/xvmZmJXZGPw/KftktMl8yUdLI9wrwtj6FVMe54yJTQ1\r\n0b9WwYvwg6YDpzxJZIiQvFvNL33fOQMakjZDcYAOGxqtzPoBrXKsRYL9nIPb\r\njuKiXeFgGSh8xUBqmxiix7kwhH0wFVDdmD7/MoE1qkgT9MaSYa72juAeS1Pg\r\n3hZbe/ViOUyJqe9W9888U3xX+nhBSgiygYvNeSFWJc94DJc2liYakAN/7ylW\r\nf/LawDlDH3Ne1OOLjp6zWI+NywIqMMtZaQsABs3v+SNtbjMKPw7nk3IvnexQ\r\ngYR90WHO2q9Oyx43YdpMCE2JUbCMmt/zR0p4uy8z/jLoMLe/dojksMygmSXq\r\nga4gvYknuSSmiJr1FPWcpm7FrmgEvt33pUyKvVnO6MAwO48ymOpFmrn2jxhT\r\nlT/nBR86K/Iscq/35w3wP/C+/++5grZcFfY4rWaf0pROMPplii7l2l3+f+OR\r\nnNG1h5e7dgOHQLTwEmfBB8PtNjqFv7w+ShrGXxW4OHl1w6nyANsqr74jy4Sj\r\ns/tH7qH/U514TRA5J9wRjO2FScLZ6uPX0/o=\r\n=3+qB\r\n-----END PGP SIGNATURE-----\r\n","size":1814605,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.68.0.tgz"},"main":"./index.js","types":"./index.d.ts","scripts":{"test":"node index.test.js"},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/dprint-plugin-typescript.git","type":"git"},"_npmVersion":"6.14.16","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.19.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.68.0_1650247447185_0.8957151261556142","host":"s3://npm-registry-packages"},"readme":"# @dprint/typescript\n\nnpm distribution of [dprint-plugin-typescript](https://github.com/dprint/dprint-plugin-typescript).\n\nUse this with [@dprint/formatter](https://github.com/dprint/js-formatter) or just use @dprint/formatter and download the [dprint-plugin-typescript Wasm file](https://github.com/dprint/dprint-plugin-typescript/releases).\n\n## Example\n\n```ts\nimport { createFromBuffer } from \"@dprint/formatter\";\nimport { getPath } from \"@dprint/typescript\";\nimport * as fs from \"fs\";\n\nconst buffer = fs.readFileSync(getPath());\nconst formatter = createFromBuffer(buffer);\n\nconsole.log(formatter.formatText(\"test.ts\", \"const   t    =    5;\"));\n```\n","publish_time":1650247447407,"_cnpm_publish_time":1650247447407,"dist-tags":{"latest":"0.99.2"}}