{"name":"@dprint/typescript","version":"0.80.2","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.80.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":"c225a3ab1ba8191cf8ae7a090b140b7b2e9036ab","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.80.2.tgz","fileCount":5,"integrity":"sha512-HozAM9p6Ae+u95CqZ2wi3K1Xp5i7Ld60Xu+aIP3dTGp57bMSEC8FXFf/Uh60bbOSaKIU7Y91NMyk+8QzP2Sldg==","signatures":[{"sig":"MEUCICW/LAWF0MBZz+LKHPuNiH0MQ1BfFXSbA4GoixDPfmAAAiEA+4YCldHcssidRGDq0UUBYFGz42+EFmjOySQvvhsLuaY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5151170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtfzKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkZQ//aTsVDZq2cijdUIeMl2saICZHsw3Bta8w0kDzsTG+2tepj0rN\r\nuE7yyBRpPHcFLXWjmUPpRFBm25NEelPLs6hHe4d6RZ8YVHH6GPYEPX165tDd\r\na9k+cJIy1FHRck67B44ycBlUormvnsMcIRCS1arEOJRMwkq+bMRmWTDyXVJU\r\nIHfSnR8LCa469IZdiXfEobE0Wo01GGBTUFOifcbwMYMmk1bJAqW01BqJDr1j\r\n7jEpUq6BPmasgy5u2TWaeEO6VLl5cuN31Arab4dq2GUx2OcOWsYQHn59+vL6\r\nwMGXFasvASzV/TWK7/Jgrimr/zchQw26VKxCpzN3Jj94Xm/CEBzkYEYGCAtS\r\n1RTKpwbtx48Q5tSnX57nRAqujH6u/pTShPmvdD5TR6KEUxRifzBklvXsEDPf\r\nZpu50tY5aekncJ07u3pGjDR9XEb0vtujsxF5bQutJClixe9l/tddvQ4h/tVq\r\nvW5SeqlgZsByhxHXUSeTuRJaLAemM5AlMSRAH2Wa9hpeXbNgggMbDQH+u+bq\r\nXF+muoTrYQQ0BV+jYoEaPX9r8nRFhmFqzoS/D8jvrvfpCs9wp6c08YUyv5xg\r\n3F3w4OkmjTc/iQqQNw1dx24wgnTPZfePEQxuLQF2Fq4bF4vdjdW/kF7yTfm6\r\nZNhS5GTWbtr4VbcxmSLqOTcoF0vodb2NAic=\r\n=kWmp\r\n-----END PGP SIGNATURE-----\r\n","size":1318158,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.80.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 module for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.21.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.80.2_1672871114551_0.27798295027883646","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":1672871114742,"_cnpm_publish_time":1672871114742,"dist-tags":{"latest":"0.99.2"}}