{"name":"@dprint/typescript","version":"0.80.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.80.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":"693932395516f68eb8220315b2816d75f5761507","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.80.0.tgz","fileCount":5,"integrity":"sha512-FrpqiJCetRKo+UKaahxFy7OcP4VdkNoMUQ26PghlgpynbzbHTSSAsluzi1Hx4SZYDA/INxaTKoDWYyQeaPJZ5w==","signatures":[{"sig":"MEUCIQCHufONeeSkv40ZAa10GsD80v9E6FBu5HT8aIvQTcpu0wIgcn8djE0atrLz+Vm0ch5ZOcSfJBwmwCphwOt7BQT+Des=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5154891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtaThACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpauA/+IFxFF7LTVcI/AV6XrwRCHlRVyYatV+FXnFkQtsgy4feiUAVx\r\niY12XKE2UfNCDI91h/Zn/4Z3wQaPUVSUYy1eLcpVenpxgY3/QPszcvnUOW4r\r\n8zJKu2/qI7HHFqhYgsn01hFT4wSvf4XW+14cF50DlcGOr+xdDQ4IprBJILRz\r\nu5/NHS5wIzlrePyjruagxjwxdI8/becgRR3+lrJjWRPExXVGbCcgxBRxBmcH\r\nMiWELEphwgbJRhoAKk+fZBh1/QbtJrTPIt7MFuOxZowzZFku7gcA/YYrHwEv\r\neen6hxph4K1bp9Lux/2v8bonZAGjD3zNaMk2AMxPDDSx2RVjnwXPIC8GIiBk\r\n+ewhunDs+AsqXdNWDh1yy24SqWchrBqvIYs7UsJAE/bjjA8c98nXpzTfGY7I\r\negmBYBbmVmeGorijVHQ5llCIHV/RreMy0kQWgHC3f7Y9M+Z/+TTUox6MvIkN\r\nfoc1skLwmQYXx3NP+4BAL4hN6S0r/uI3VUkm1vjh3faOO3vOX2BxpXsAfkmS\r\nlZJDLHsIFaih/ZQTqU/m1+MpBdqm6KQDCxZxUqUr7vJs3SN9UPjngpTmbitB\r\npvBW9hfWPAz//6GOPTbM7M1R/oGkGVRXzN1fLY0to3SgXySjpnYYfxTqln0M\r\ne/nEphM4kG9+5ywRodF06rB7vF5QSQeYT4A=\r\n=rGQ3\r\n-----END PGP SIGNATURE-----\r\n","size":1318583,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.80.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.17","description":"Wasm module for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.21.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.80.0_1672848609281_0.3582255529715601","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":1672848609506,"_cnpm_publish_time":1672848609506,"dist-tags":{"latest":"0.99.2"}}