{"name":"@dprint/typescript","version":"0.71.2","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.71.2","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":"07cba75950be8aee753d6983d1f6144cba65db49","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.71.2.tgz","fileCount":5,"integrity":"sha512-QpQJiJMxSMhqqOgVk1zrh+2ueQnZmBQ6aCtVgXKd3zxyVOEIj5CLarfDmza/9KFOU+5lKsprbGAQBskC+xODkw==","signatures":[{"sig":"MEUCIQC1Kq5PdKWIIox4a2QuA2iAMWNVbT5YmLGrOevcAkYAqQIgObnhpFcflCi8oyyxK/MxTzRKvYt27XcPTyIf94v50IY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6693023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5/4AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqxCw//dlFNkzp32IkY5ZpuvwDM/xWM0fZe0IUUuw69HuQurvFt5id5\r\nHhz3ru045U2H8dYAmQfQzp33FwC/r1nTdZP8gBW/vCFlIuftf9/xVO0Vo8XM\r\n4HCLn6DUsqMxbzs1Z6TD55J1LFA17PisHj2f58WQizUy3Uzwsxx18an8qxBl\r\n5QY5pkm8dpr6SLjpHGtO4vJ5FkU+zYpFMQUeAc6C7gr2BksO0RgNzwKfdPsC\r\nHayv7lP/ReQJroYg7nYdRFZFEQ34y8HTzlhvJTtS8Jp3COBUNtjWt8p9U+aK\r\n6JE9mZJPHMRDOECm2FZxcuKoQ+FiO2IkdWiOBYI7GMFkRDFyNJpfrZVCi1hN\r\nuTYf56zfgUQDLvPtnU8QKaDZY6gx62els0AD8mOT7O5c1nV22UuH95krZykh\r\nE0gMOTS1FO3iVsMLawrrIw01ppl7Gzzgx6GF1X5+2ugCqCqQan73vb0G+29e\r\nyeIxxSAPoFWzDG7i5KRULDcNMzCEvGIizoEnmwInJ3DdxwSnRScLDuKAAuxM\r\nBy0+C3VdNElBJEfK5aNqZ6isG53muXJzyR9ZuHOc5KQ7v4P8z3q3Wf60sKg9\r\nHZdD7TVDIE2zOU0wRvhIoJ2jrCOFCbse3CEiEfaoVnnq4qCfxKoYKj1IE9Sw\r\nq1CQ2u03qRUeBjUF8TK+qiLR3lscoCZawZc=\r\n=kOHP\r\n-----END PGP SIGNATURE-----\r\n","size":1881625,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.71.2.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 buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.20.0","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.71.2_1659371007737_0.45076665613841005","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":1659371008055,"_cnpm_publish_time":1659371008055,"dist-tags":{"latest":"0.99.2"}}