{"name":"@dprint/typescript","version":"0.51.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.51.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":"b7b8374c2d68bf4184e3aee268110497dfeaec81","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.51.0.tgz","fileCount":4,"integrity":"sha512-ZVSQLJQ7f1wEQtVAOgipR2WKR3x+1SLL95Qp+PNgbVRdCTXdJvWFosQb6LoLMgcqnI2KJGLgBiIy5czm+SOeog==","signatures":[{"sig":"MEYCIQCHAsZjhXCeF3UK1npXOX3+Es+eq6kYsAlu2dxh1LjrLwIhAI3cVkPMcsN3sEXsQV6Nhbi5Zm+ixfowb57tME10/4MR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5694993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHrDACRA9TVsSAnZWagAAbNAP/Al+H45jPpRkFGclOQ9w\nlQsFe+AkwX26y/IPxiQ8m73FP+Njkp6WhVQl+5sJh4iaBoUb7H3x4MeO752s\nT1lY8lCTIGXlF2t/DsTopAiafbRk3gJ3WohBK5fJ6y6Dr+PXwgjaKgYbHNpI\nBsGH9CLTvZ1MTcG9lQGoXJ/qcBx+DLSNTHEBS67aHVcSJrapLTW0BTZqOdUu\neH2lJmlmqMMR5BGk0EnU/iksdc1aPHbFcW8bKu1dUV1ddnZgb9m7AGNM2Yg8\nhP/BnybfvN3GYt22Ffc+S8HE/LIBIggYqRLqETWXGzFtE5Q29qy8J2M5bwFj\n33yBiSpTKMhMfBO8NWI36ZOrybgJKWWrupbjBSoNxW96Ro6tOe84MtrbqN0Y\nbCfcHrgTPaHslpTSvTaVi4HC0PERyIo/FDn0aKU18ue+1PVT7Ac9NAHQC8Ay\n++0KZyZJ/VCckav3gV/XtLIVbFAHTP/h5REduIguqDJYwzcRMPEjwf/e0gAy\nOdFOZmD65bwAzcUrzhkFIpq5oySCTCTz1Hxa86guTlkOINpvX0YLTcsAOhfh\nwsjG3ABkhGA0ajiWvCEjojrIewX3yGnNOIowTqPUEGTb4NxpOp/U1xAeOb5Z\njXPIeK8/NPHjA5Cx5wQsKF559mm2hSPMAxL55dTBMIflZDZln6DcFrVWiSs1\ndueP\r\n=wExi\r\n-----END PGP SIGNATURE-----\r\n","size":1617405,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.51.0.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.14","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.17.5","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.51.0_1629401280302_0.9195251614266506","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":1629401280520,"_cnpm_publish_time":1629401280520,"dist-tags":{"latest":"0.99.2"}}