{"name":"@dprint/typescript","version":"0.82.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.82.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":"559f422d482ee8967260942f80f07ee3900642bd","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.82.0.tgz","fileCount":5,"integrity":"sha512-Q+2TJ1ukZc+HuSg6AvF5lEbO2uXfKnNYLdrvaMG1JJCTiurpL023GzZAM9tXHAwMvFxeURvSp9FOLazVBgDZyw==","signatures":[{"sig":"MEYCIQDzJAuZDbbtTybGXOSI9Y1HFcdEK6LdXCzoV1ZITKz7bQIhAMDl70Cqr5lUqIQ1ihWFdW+vdgZCQsF1msjwG36ypRDT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5161629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3/qiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJjQ/+Nz6YNxVPkf1kxxAfKzn6qj686wH3D0Nv+wp/8Xf6Vpdj0m1a\r\nLcmLgWn4V7QnGiBzOJHyiXwdrrFltXuTVETLX78imjP6i+WpCeOyB36l3O6O\r\nPTlgBdWWpgYwTVffmi1gSzuw3tI3/VmgtwP8HHJWt2GNa1ibP60Ab5CasyWi\r\nJ1J8dgnpcAqyT8rGP7I9G/vF+8HurEqR0roZ7JC72My9+B8qMbOf8bJTUSxK\r\nTSFoEgnnSc4W48NAK7pd4Nuy58FkiA9c1zUy2hoe7EW98WgqQSpTJS7tpBgD\r\nU8dBOU1T5ATa9kaRY2wlEO7v9fuxUUKuidUeZOad/6pKXgDGvBLt646lw/ih\r\nJIQqF7hOGfZq99k4V0EyQhCDGt5bSq6rSg5nldJdYd2NRheeVH1RTa+JH2qS\r\nVRuogqWInECO9vk9rkL9NPKW4M76YuD/EuNujL/xHNPNGhs8B7ZeF7E56cs4\r\nPBvP+z/UXQeB6R82Ftn9CFsqG+UR73xv10Ix0I+02u6ewqbDbXhPoPmi/ZwN\r\n14jRixhccAIcxQeDae4LHYbCLjVIokEEf02KNVIueB5SYAs/VDdy+rubJLZN\r\nG5Xnq0dtYmW/H4xhxyqjL57kyRI1QHhqVhPbBUHbdk0D+QJKfEoYmQFa6kgi\r\nps2sbNPqArUGY9h/BspdU6YcxZ7sNPON8GU=\r\n=lQ5z\r\n-----END PGP SIGNATURE-----\r\n","size":1319436,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.82.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.17","description":"Wasm module for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.21.2","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.82.0_1675623074491_0.5949795055288938","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":1675623074757,"_cnpm_publish_time":1675623074757,"dist-tags":{"latest":"0.99.2"}}