{"name":"@dprint/typescript","version":"0.62.1","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.62.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":"f78cdd4615a72b046e7e5053d7d5c57586ee00ea","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.62.1.tgz","fileCount":5,"integrity":"sha512-O1hZMYhpd3uidws4MXpQfXQjjW4YD3N/YzaT+2pbPEqPzI8WE0PpO9iDPIiT5wqNqv3DmE5IJ6CPNsyxNKR9pw==","signatures":[{"sig":"MEQCIH6yXr5Af3M8/Sk2nm2BIEhCeZH0Qr74N6fhjcrMJvzBAiA54QXyJHKZ34SxXSe0jBleqvhW4CTyJfnnt7j2H/4pWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7256819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8rBYCRA9TVsSAnZWagAADO8QAIWiBV4vb/GCLkgl8UL8\nayRO03d5Ze0ct0JoCyDTSb1GNq18lnRk75CO8QE0UZNZu/hIkMnTXqF2jD+R\n8ygUEZ+jWvRKvgp/os4d30vZwSFcDvZCJYlzsI9n33AO27ZeCiAnF25XKYn4\nxEnZw7Vx30b/Mq4meHdG/X++2OxTKy3bUV3lFqyrsELNyn6SZ3lFTFaoPIyd\nbtTcuHYMG2yWDQsWbxEqSQUaA2MOjitc+Ex7rkazvzbMeDM89PsTY64Nd83W\nTcdEnZoZGXyW8v6617mHsVXglSWOZF3PWNg85EDJKZHO7wURLVcie2+IXtZq\nF9f/nRv5nvZ+dxdMFOIlUhjvUdkxs4GMbvadvMgu5ABiLPBlrQMa1ZBIsPEG\nvTVepSRVzA3YuyOk9AY7xfBvzK0GeTHyaF3vDP0wQJLptOHXYpGAI238pumf\ny8cauJ6cEu5B7oj25IMUwUYQFFHeJ4PupYl4aPC3tPsJdg18tdb9A9c8/qov\nWAKgN9HfXeYJHrlcvTZHc6ozyDcXDprQ1xlYtb4/vOmhhNT9UN7W3mI0uIv6\nE/KorivCN/gI4Xyu3Z8Vr4G9Qdot8vHnehDt36sFiu1fj8wGUfxhY9BxEL9g\n8uKl94gmxuJrgj4LcuT7pNIm/HZxV5Xfsmq+yMR4jDiC854mx3xuF8CbbU0S\n1Ici\r\n=e8AJ\r\n-----END PGP SIGNATURE-----\r\n","size":1950517,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.62.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.3","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.62.1_1643294808059_0.5661190189472571","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":1643294808311,"_cnpm_publish_time":1643294808311,"dist-tags":{"latest":"0.99.2"}}