{"name":"@dprint/typescript","version":"0.60.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.60.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":"d4a1ce925d2544b86d94ed83b482748a277d454f","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.60.0.tgz","fileCount":5,"integrity":"sha512-KmgR1EjOoSPg7n3SJWfh3bwOxXn/pCEDF7Me/t4ByoGubwf6+NQKmRxUmREw92Xy1U9xLgP9SSCYFgB2Q9oRIQ==","signatures":[{"sig":"MEYCIQC2W4nBkiJxIrZxzG+L+0nm0wq2SIIRQrtspTC8Nom6pwIhAI5rlDhaX026tU5OsjtvuK25LUp6IGXwCCaHos+PrAa5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7228323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsPZuCRA9TVsSAnZWagAAgzIQAIxmuQ2ZPvcIwK1Xgrbb\nyE2YV9knlN1iMp22kIqj5Fn3BhfLjA9Hb/r66nvv6zHuVI/9acS/JjiO2Pmn\nOJt/jr6lvr0OmeS1JHvhbCM3Dfo+eQ6JX0AWFwlUTFMgnJYuxllTiuLSwSyk\nmAWw+e8xDFT9CzvrHg48m/Y94SFWlyOrT8YcpSVlGia6fMRe/iOPqO9OJuUK\ntgdniWLJmH2k5cdSR/+Cc5VRTMbNRvU4NJUElpglIhaOsyaM6QpCG/uk8VYe\nL4I/T/L5e0MzvxRVigAAA2sKaCGq66FqSbQdlNJVFs9v3HQBnVbeQLi3KMPl\nT2o1k8kevAYRm2O5pZF/hShcPLh8oROXUryXYGYPdkV+zk0NtSHRc7OqfJXE\nf67HK6q676fPgYeljKgrNDp7d3bvP4fETodGqDBo9N3mZmUXSNZoOS8u4OTf\nBfX/MiX8kHZUgXf4fD563rGtwHBEFNSZBLsdgHJs5bVeQoBKKEPq5NvD7mdy\n+2iOizxGvUkGVC0H8OGTeeDQvLlE0Ie36N9+FlqVRYhbkqXn31KvRM8snuDE\nLlplurkxRmclW56f+8TJhmA8+8Kozgqys82pUNQqFg05wUsCKtOloeaZ6GJy\nSqnJ+Pj4OOfDNhfTjIvWGJiVdt+bYfl+oCGTDGPWRlCVAvKjF5GwXMm4S/nb\ngIVR\r\n=4FZ4\r\n-----END PGP SIGNATURE-----\r\n","size":1937686,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.60.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.15","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.18.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.60.0_1638987374510_0.37807376532682","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":1638987374691,"_cnpm_publish_time":1638987374691,"dist-tags":{"latest":"0.99.2"}}