{"name":"@dprint/typescript","version":"0.50.1","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.50.1","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":"08d8602b95e145f3e88f3b0b380127b9ad507736","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.50.1.tgz","fileCount":4,"integrity":"sha512-2QbuVeS1Yxg99rUaD2u55Um3qt1yH1J6hDORZTsuRkFATKL04INnx8HE5eKyuaIcuIKFV4z8NBsRsKvll+SGpQ==","signatures":[{"sig":"MEUCID7hnvQGd1vJNHv+fUJeGHeQnQ0JxH9K8eKW+Ne+tifeAiEAvkuI4b2GtP4R8y4dFcE6PfPdDamMcWJ/3inyr5YxD2o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5792077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEWSdCRA9TVsSAnZWagAABjgP/jCnYQbyd7jxCf3p7a3m\n002YUTFVE8Zva/3vv3D6MmjbrJ50BemRtS9V4nchIc5RUpx7aUgNtGt4eYaN\nuMoyuOsAZa1gd+EyYMxS0Pq6hzmcRbz6WX8lWTvPBz0ObgJy9uuUi7KozKvv\nhHbEoF6HbzDWb10rh1oY2QP+6nISyLNciqbdrr7Nt87IHxdQbF7TeH47B1lv\nnwTjCr/csaZrezORAY2jrzdBgoRsEzb5oS1dUy66EAa+gVfrKG6OZ4ugPdLs\npI4SwoOBd1/R0kdupLbwIcji5i3O5ImOKsgei0ZZu2zkkX3P6eBF0e/vnI9t\nwwapS4UfCMFSEGfvxC4lpvYRkT+a6N50L6yLaYlU4ZGUozNtHQSDaSR1LLmc\nyYPoYxL1L/ejeX71dXK7kqCURshhbOmlcsut+CUJGzrQ2n2WFNm6bL2gAncA\nE6r+glYO4UNMe2nq4092GWV79xzwcugJ6mIXH+t214mEKfpHhr0aJITsH+cN\nAEH+3n1yi+GcSuQ24rVkkOfLuHrDNy0MxO9v0XIoOxKjXzkC7tRFw+Ti4mX7\nf3QSf6pc+yVMupEDQYQU5S4j4+avMrgXv0dBt3mV5bcqK3VkArAGcqUL9wqr\nOpQC7KEK1q4ExU3oKEVYa29n9MzHWdPd092ytjTS8XPTfexG16Pq0UNe0lIv\n0olW\r\n=PsBn\r\n-----END PGP SIGNATURE-----\r\n","size":1638427,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.50.1.tgz"},"main":"./index.js","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.13","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.50.1_1628529821076_0.7910969037010684","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":1628529821470,"_cnpm_publish_time":1628529821470,"dist-tags":{"latest":"0.99.2"}}