{"name":"@dprint/typescript","version":"0.59.1","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.59.1","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":"1f9156c4f28da65b7ec2ca53b4143436b26a985f","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.59.1.tgz","fileCount":5,"integrity":"sha512-Rel2TsbISOcAiHi2boUUr79JteG6PKDvaU/WhpqaQuxtp0yfOqbebNscj4Kzh7ImqNy89ILzFpyXIsoj/CyX0g==","signatures":[{"sig":"MEYCIQCy4HX8aUTTjKrTE0nXRIOrQY+BdCNMSU+xD9FgRQGSVAIhAOO2tEaQb9NF5tWhmISooMfC6/s4/LCeWW8vBGfKuA6V","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7175535,"size":1945701,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.59.1.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.15","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.18.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.59.1_1635799976146_0.0698466205589856","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":1635799976365,"_cnpm_publish_time":1635799976365,"dist-tags":{"latest":"0.99.2"}}