{"name":"@dprint/typescript","version":"0.91.1","description":"Wasm module for dprint-plugin-typescript.","main":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/dprint/dprint-plugin-typescript.git"},"keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","bugs":{"url":"https://github.com/dprint/dprint-plugin-typescript/issues"},"homepage":"https://github.com/dprint/dprint-plugin-typescript#readme","scripts":{"test":"node index.test.js"},"devDependencies":{"@dprint/formatter":"~0.1.4"},"_id":"@dprint/typescript@0.91.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-BX3TneRLf3OuO/3tsxbseHqWbpCPOOb2vOm9OlKgSYIKqOsCHpz5kWx5iDuGrNwxWWMKife/1ccz87I5tBLaNA==","shasum":"49f4c042bed7c66e5a70d723048b943d11c61412","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.91.1.tgz","fileCount":5,"unpackedSize":5739620,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa2qeInfJjbtnRYogjHUsApnpwS2Q3N6O3pah9j5idPwIgDR2v5EbbG8RoMh4q5feOvspI8TanRo8YTcCboXV9JCA="}],"size":1500794,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.91.1.tgz"},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"directories":{},"maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript_0.91.1_1717514711621_0.5444834730438821"},"_hasShrinkwrap":false,"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":1717514711887,"_cnpm_publish_time":1717514711887,"dist-tags":{"latest":"0.99.2"}}