{"name":"@dprint/typescript","version":"0.95.5","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.95.5","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":"79499d02774fcec7c6fca93a27802221feb0e178","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.95.5.tgz","fileCount":5,"integrity":"sha512-AEm9T8t60sEu2hu+0BxdvGlpZivai3KvOMmwkXiFvH64XjWBLa4NY1a3IfxA4o9wjmZY0lRj2oc3Mm/tZTRHLA==","signatures":[{"sig":"MEYCIQDkesuTXXZF5Ii2bEsszwzJUWlf8JV7IF4qBUetGQhHNwIhALd/gpHhsLuic3MAyuwypI9Npr7BtEqEqTc+2s3zXiHh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4079528,"size":1041850,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.95.5.tgz"},"main":"./index.js","types":"./index.d.ts","gitHead":"12b789345f3d033aff80340d81f209b88f0d0ab4","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":"10.8.2","description":"Wasm module for dprint-plugin-typescript.","directories":{},"_nodeVersion":"20.19.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.95.5_1748449817305_0.5632866246978272","host":"s3://npm-registry-packages-npm-production"},"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":1748449817597,"_cnpm_publish_time":1748449817597,"dist-tags":{"latest":"0.99.2"}}