{"name":"@dprint/typescript","version":"0.79.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.79.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":"482b8ba2702756c0b85a39f6f5cb36d096358873","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.79.0.tgz","fileCount":5,"integrity":"sha512-cBWb0XOHDJL4AuXwd0ktYjI8Ip0rj4HmQ+N4LCum6ByyYOTySU30vtKVj01LgcUg6P9XUOXF1crtAJgLHRafgw==","signatures":[{"sig":"MEUCIQCOzruRhm0gRWVUS3kU5wPpvUg8j39xXGNw5kzM0lByagIgOz6qBeSDj0ys6B+s6oIs9+JrrnQDhy7vH50zUdi2h6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5057978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkPRHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBSA//UP0myto7ucgZhQ+weSgMAuuyQ2/ADUqMTWvJ6RXd0D49cPl7\r\nTePi9Ad93ZcaoJWUWTX1Xfp9J/KBKL65fDmJ90clI/nBk75u+PtuLXx9Cj+H\r\nEHg6gsrweTZK91iAafXTZ7oC4i4ugJVLP3wlw1K6ZZwc+gpWsA98R2iNA7GF\r\nziMy4xWLQxTtYKQjubg88RCvbtTRrpG8/NLZqCH3/MT07yV07hlT6RMsZcgS\r\nOW9aon7C8ManyfH3v3PitsAjJchJmLIW2EMPMc8SW8R9gShtQOoBf3Rl/gza\r\nhJieaGSnYLT7v87dUu3W4PcfgX9SPg/5e3veqFdt69TfRZZhr62UVk5DXgZz\r\nL7e78zGOmR80shaY+t1rwIXjOmUhv7W5GePSIxoCG3gXG8KUlW5I9v/b+kMx\r\n/ZkE+FCSXH5N3ka0jRvqf9lg8DViFohqRcQaiLnU413GDcLGXICr3KZOraom\r\nAksh5EoOgGQA8oo01bXY7cY5fbB8p9Rh06QVsmvAopqUIpqwNOBI7Z6UNmrJ\r\ncRqeYJ5O7Dyut6qV0aVtIqER8tqyx5DvwJRKMiSuqHfzbw2JySs2u4ML/YTf\r\nj+SwYSQPyklF7bnKzgVVP7g5Lg1UjPF64w6lu1ZQhpN5EUE1bafA0rhJCYLh\r\nD5SlsX/E92Any1WAiumDu8VEd2QgDQZZ1W8=\r\n=jOmO\r\n-----END PGP SIGNATURE-----\r\n","size":1279377,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.79.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.79.0_1670444103349_0.751829976371325","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":1670444103741,"_cnpm_publish_time":1670444103741,"dist-tags":{"latest":"0.99.2"}}