{"name":"@dprint/typescript","version":"0.62.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.62.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":"cb4b8029c5cc5f5fec139adb72e396aedb678c12","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.62.0.tgz","fileCount":5,"integrity":"sha512-x2izQSBylYCBUQQiYj8j0rEJFxMPQu1f9V67oEhkUmRZBa2QCQju2iYxtO6bFgSe+sXZPXvQhKbjh+7Pd/sckw==","signatures":[{"sig":"MEYCIQDsUhGN2bheJRMx2lVpaJhbjfQFH148GOEq/R3/Or4MNAIhAJlpKUN60uk9l47Y2+pWXShe2//JmQvE0id7Lz+hpcOw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7252375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4EqNCRA9TVsSAnZWagAAKlMP/2csdaHoa7422DcCgo5b\n6DBG8OtjJHmFGJFJKFlciYF8BXkli56qEUyhG6WVtOPp3HJUFE8+umzYW+hx\numndeIznpHMz5EIltg+bAm+tu4U+K/NfgmYwNUNQXDU0zTmbzcjJpy59WSKf\nl4Xn2kqIrWnorbkXjQqTRpeY63E1SQbaSwSlQFbdhvmE5YLuRp9Zuom4JgpI\nczr+4MAC/SDIRdtynL0TaYOpGXItViMuXO1b5syoFgezXG43dA890M/9XFhc\nwdudGvObkf6oDCkVYHYhdNd+5AZ3H/BLbxOsHkgrQnfvk5BvG3NEsl54aeCo\nfw4EV4nZx2QJRIhRkwLHVTynkZ5mh6lqGW4BO0gYycJRXsdRO8ZxuRrAVmAz\ntEnJd3L0Lro0LJCbl95aFRz5F97kmaVYj976HFmkQKmxNVV5tnSHFx28K2GR\nt4oAHQdw29HNQj9F4deq6sgq0uLiAiYFuDeplunzpKSZC3xnx0In7Ueb3JSA\n2gVYyTfGUOQb0CAkCIhK4h8kN+dE5UPbjSMCJqyUsOUZY2hfUOGbZthgZoAi\nGwFC3J85pc/uClQFUTjCUSRnawSmdvbAijRdC93Ex1RzyWoAM/MmoLpfmdIc\nIkosA2UblMsa0U/XiPpuK5pmKpBf1eLZ+/8tv/W6MUDqkuk2Ka3XaJdDOugN\nzsfb\r\n=76aU\r\n-----END PGP SIGNATURE-----\r\n","size":1953224,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.62.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.3","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.62.0_1642089101289_0.811302645516802","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":1642089101534,"_cnpm_publish_time":1642089101534,"dist-tags":{"latest":"0.99.2"}}