{"name":"@dprint/typescript","version":"0.77.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.77.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":"678e420c8b3b80563018de2feff6895561e11285","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.77.0.tgz","fileCount":5,"integrity":"sha512-aQyBuz1LwgwMa8vVdKIqETfnPv0W19ZNdhuszp6kYDaNRwaaRp3ggt4xA4GAtNAYlTI76ubU+euLGzYH/omxow==","signatures":[{"sig":"MEUCICR67ctjtXbRYa5h/YWeSQwDY16m3gh5DFY3NCiegXZWAiEAjMNVPkKt1dajm7qCXjl+rOTlNNnYtG6c13AzSSI+2CI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5051457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXVVDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrvdg/9FfGaS0uccUhidnmUc0gUzSuyA20S+WA1GMifHY2YybwHAyV3\r\nXC6UFJNvz2RKD0R+CSEqIXwYj3G60KGjE5ys533ceQRd6TmSk5rrC7GxFTQ1\r\nMxUoVTu/AyxPV+OVovGdzji1CXbECfg0a8zBIIZGjMUyVpSNUBCFd4r6vppB\r\nAWGyDanPXCTYrJJExsXLgGLFWqME+j2K9cw/XZBqkSGkCuqL9I907/NMOOty\r\n+Oppz/3SF+SzSP7Hzm8SFY1fMPzQ5OPxuw8eV4VRKfs974PVLgM8N9f/Ht3M\r\nVD3noBKvLdBXwrnuWwi2mugkT8LLWtwRsPCpjOK0QoxejuXpOHrq09k/hMWs\r\n6O1RopYr/zCnHBDNY98AX+MMJB8WPN+mujeY1a0/ZGIyIaium/BcenWPqmmf\r\nwTiIU2O7sEQGCWxF/LrK4HgC4v9g6oRElUu9vFWbN/8y/t5Sa6F14XgtNsaY\r\nv22pTGX3lnpMdxGqdQg1s/QwAP3BdwNlEYcemWuFfeFlMQ0mRlUbxBWb9Lj7\r\nyfgIF3fYfi/N2d1yp6Mv4G45FdB7taoUb1ezh2vRSPLUCXz10Y1lrapUxTZ5\r\n9MplbpIA7zaplTKEiF8+YbXEfkCqPhTPG6uvEGXE+pBcN/rhgL0ZloGZXI/k\r\nP09SWztVSK58YUs7AwUmFNfSKIlXIyIkX6I=\r\n=9dRs\r\n-----END PGP SIGNATURE-----\r\n","size":1278017,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.77.0.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.20.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.77.0_1667061059109_0.9133847699733793","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":1667061059405,"_cnpm_publish_time":1667061059405,"dist-tags":{"latest":"0.99.2"}}