{"name":"@dprint/typescript","version":"0.52.1","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.52.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":"7304996133eada026c34caea86c5963267d24af5","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.52.1.tgz","fileCount":4,"integrity":"sha512-fyhgA9IF0WsJzdw/7B7moKkpGs6sOYP9mx/LqmnsS8EBKo0X75OZzMEUCWK/TzPyKAJPLg63gV/vqBRLFlAjqw==","signatures":[{"sig":"MEUCICnn9vvTdeIZMAQut3h2fiBXZ2WsohVyjnOoFqOmmEiIAiEA27ncBOB+40uq5rqAmpDSxvPX8a0GrVVMG1beAxF3dRQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5721433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKqjuCRA9TVsSAnZWagAAstUP/2OBWatgEXTwj70C3D7q\nkpXt/gdhUa6VNFIHxuG9rZzhfoJtpw1pyNv+T7ZOS8xY61mGPHxbrf4Sgii5\nXr0CTPUQYcMwR/8HR5uo8N/HXD5MjKgCU1mb5nSy+ndIS/IMLySqq5Zgzw7C\nQMEiheXoSO7h0ttQ5EOODiOGoBLwIE1QQVXsJmn4HpZx8UE7jNYgqaxysRFk\nKx4Z4j/4C4L/7+Clg6Rm8+Q1xWxVGfN2KX5pKWRZgmbwYLKwN3m0l6Up/bBC\n7R7PluH5/f1yXwKK4/wH4Q26GlpAy7nt/5Do0F2Jl8o1UJN3pl44KJh7RElf\nHuuwFpUB3HQ6yVSybBXunRbFLcna2dHtwA58/aGRAwVeku8w/ItRMmcR0fXC\nEqpUuIM9dz53foVz0fkoEVXWvR0KUDIMGY/IW3CmfGth8jfIVQl1VlB6Gy+h\ncLSEsSva4CeVxc0sJQWT1dhec7Z3cGxfPm/w1cdT6vExcPlGgLOhtiD/v0rA\n7zlbvpUPLBufdxwOuuk4Zel0H8t/pvgRw1aNjVDwQmTwys/dUEC8fJLUU/aU\njXVhyoNeKqpSl2zQRddwZ0BEZMJFrKFg9Jp1yMcmOIP22ZpMdFC0fg4slVkC\nzeafFMWvpqz1PsVydU6K2IkiX4XDnzsUgf7qx7Y6UmJq25O35SFacV1Wz9TT\n2C1e\r\n=5vaS\r\n-----END PGP SIGNATURE-----\r\n","size":1622559,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.52.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.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.52.1_1630185710089_0.2675496298374609","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":1630185710341,"_cnpm_publish_time":1630185710341,"dist-tags":{"latest":"0.99.2"}}