{"name":"@dprint/typescript","version":"0.48.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.48.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":"7c49fc2fad750af1ea29fc1e7273ce69beb2df9d","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.48.0.tgz","fileCount":4,"integrity":"sha512-akClN31BrLuAgmVPsSOpp5SRBpBylQm36B0G+ubG69D8oqBKZH0cHXGFOuzDw61MmiJvuAqs/S90Pk1qybqxBQ==","signatures":[{"sig":"MEUCIQD03FHjDSXEELvG77snHhV2W3ufvXIxj0aMzUeEJhRO7QIgd10geQDsfplme4DX50qrhjj/YHbCfm6o+FdZ+3I7D4M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5807153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4zWrCRA9TVsSAnZWagAAi1kP/AmkZNsd12u6XfOwzwbl\nlQaMOmuiUxstWGCdhaczBob7pJRYoaHBuOILiTTqKeeOXBidm1jK7KmBtzWm\nsaaJsC4Sf4ql1lrnUGrCq2Kp167C/HcDQ1yglh7xpf8wEI9ue8WfHXNGBvL/\n2FcA2DfP2lMVGQKS0OmsI5iuyYgBW5mQACyxVT/lqyAjoPMCGWq6qQbaBOYz\nCjbxKATLszXEDAN+uwC7iQZX3vRmCZJ4r0iQOggPuDerfcYEo7ywdHA33lXP\naVLDmlIpxaFPbXYnSCky3GTc/dTmXDjBKrYXQ/sim1YqHmUkJDVLxFdUabtK\nlHUyVIqKTNw6YfWlIKD2A+aWBvrYstqAGrcYuuODwWqV/cf86o8G7znwh6+8\nA3F6T/a0ZHzc+JtDhuOZyg/mbtXfiNjaBaZX+N5zJB+HUbECUxlfX8CSEi0j\nKG3zFgKcEPP+g/r3puFxqlgx9jqG8xFQXPJ6L3Inu60A3mjmWHBj4pFG3gDZ\nhRg0aeCiKc6bk+QWqT16S7JPGk50U8qijnvxZKKdMUk3Un7s0uOh2wkpSf6O\nTu3e2/09OhxsZcavFBYn+8Z4GpeqvwRTXtFXyDlVB9jzwcDiWlVMrblBithG\n620+8smQ0He/BJ9fZCastpfu4BvecWHM2r+ZbIRHzlawa9FulGLYGIpn5WOn\nCWCY\r\n=+SR0\r\n-----END PGP SIGNATURE-----\r\n","size":1638961,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.48.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.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.48.0_1625503146979_0.3481553812832139","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":1625503147163,"_cnpm_publish_time":1625503147163,"dist-tags":{"latest":"0.99.2"}}