{"name":"@dprint/typescript","version":"0.52.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.52.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":"316cc227d2655ba8fdde5385061338b04286e697","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.52.0.tgz","fileCount":4,"integrity":"sha512-MI7dGi0ka5FpbUYNoCpz4rLr5gCSCdcVvFHPypb77DD7+T2EOspIUYec6EXgy8nb5W2dxafP/elfsu7hE2BRTQ==","signatures":[{"sig":"MEQCIG1xDGUEd0lzVp4uPvxeYGhz7vo2zIy6forM9zfmSgEAAiBGr2IS+V/0aXUEH/ISMKO5JsHexpmtT/QcJx6CrDd3BA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5717877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKqbdCRA9TVsSAnZWagAA2CMP/3HM1CZBT7QfqMBMUJzN\nF1BQuUPBzw4GkElSwMTsUGQ7QXyrMeLLIDyss2WFkzGCFzovWdOtEpXtZQiH\nSOFW6E7myyi0O69u8jKN4dFPfEPI8khcs0bQg1BqT9BDD6DWCSKS8ShXPX3+\nQid1KtaumTY4PFBx0xsPcJBF66LikmgG10ZmdVhCFRXebrshW+kelkoFOgiA\nNyCgggbcTCbF8Bzgj7KJupL8U1nnrGYKxdX488oNi3j8Sl4pRpRYJ9d792l+\nPMbJePq94F9jY7JrdJ2xt8W5tTi3AkeBOPCja8a/KNwY1KDsiKp+IIqDYAAj\n46lhlfsgFh7vc9qUj6/Xyn7g/oR8I/jvkQlfSLYuRuWltwWhBghmxpl3T4Vb\nlUT+bGXkREUwQBQhFuuOnobiKtvi6lrHmsCzdA+Kt1pNXQQfBM4EuRiFV2Yp\nU7J8FFyhXxgYdZBX16ydM+a1I/AaQYAC6PLvCGCm8ba/VHJLMdHgUjQC0818\n9wS3F7nYUuoutLAKQh+n7r/KGGaI2yziLEBILSJW21yRB5tr6RXUl++FTGds\nFp+ApXFapPUE4t/eFSW7T40/THFwAxIKRjxbIIUpRXRAcUk513Jmw0ZQfZOa\nGAyVkkdb+MVL+lUaaTN5k58JeaBN9uHlOKyLxy7/E+QEDymZE+0F8SaEnxGY\nJreG\r\n=v2to\r\n-----END PGP SIGNATURE-----\r\n","size":1621423,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.52.0.tgz"},"main":"./index.js","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.14","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.17.5","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.52.0_1630185181441_0.9683031299643345","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":1630185181674,"_cnpm_publish_time":1630185181674,"dist-tags":{"latest":"0.99.2"}}