{"name":"@dprint/typescript","version":"0.90.5","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.90.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":"22bd5a218c5ac8c4cdcdfa4fb044bf2ef6f6ddb2","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.90.5.tgz","fileCount":5,"integrity":"sha512-/1aP6saonFvJyQN3l2is6eTOec3GnLGyW+opid/eDm8pnlhwzYl8A9p36pI6WO5jLl/a9Ghod+LWpvSOuXFGUw==","signatures":[{"sig":"MEUCIQCyrUr3uePmFuT1JkPmIpYTZQ0XMzFJ4TVkc6ISAacEMwIgMQ8q4zmhmF81+n9dz1IEOQspzU/9m9LzTK43saf515g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5727583,"size":1495387,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.90.5.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.18","description":"Wasm module for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.21.3","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.90.5_1714952235749_0.88251380066322","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":1714952235981,"_cnpm_publish_time":1714952235981,"dist-tags":{"latest":"0.99.2"}}