{"name":"@dprint/typescript","version":"0.62.2","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.62.2","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":"55fb4429d124daf9be4271888d2a09dfca2e9de2","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.62.2.tgz","fileCount":5,"integrity":"sha512-abxsZVpAoBfDTxfkaXnqIiwKGM2PY2pO93xr6OBcR3V+EEWIu4ZA71j5n0PE16qhjKq+WdXz84ewuXfQgFe38g==","signatures":[{"sig":"MEUCIQD2tSMw5fSAvb4eBjV9jfvhRzC4+X7ajGcRG4OMK2JOOwIgJjwqmS0rv129QZ4Sn3J65hGJFqzbaBC5SuuixRbOsuw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7263203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+V3GCRA9TVsSAnZWagAAUT8P/1wweq7dWJsjROfkSghV\nBKFNXw+rYgkOq6riR1QX+tCHV0ASL5DgvJ5PLjoDKdpeJIMsxNQt06jxiv+N\nUYXeGk2xMwxyaJ21xY4gMoTHUmS+r7SZPtWKmBIJ9LU+ClPcyyszWKKnHKic\nPaWzcPPT5o2d5kdcjjIHHcxz73XjqusbV3CEXR1x1heGMGwrFirnaEZYSaWl\nSktFyi0dmUaro2nN3kaqhe+U4waYrN5EaBvzUvnR+1Z+sVAERDLBwq+SyFxo\nEjCJcOQy0bRrL+pSWVzrmliICE9T6LhVGSnkfnyUHv6P5Nu1eu83B5xLMmFj\n/+RMD8oCa3/pVC/yCDviU6BDJiYhZkWuRBmr/1Uy1tyXQnj0SZQb+p3DQijW\nP4WgfoxnM7AtxD9ebLRtecWCtrhm7XmkMJrPKy3AQ0O0EvHpjynYmk4JdM6H\nPDrdSBIKIkwossjbXzZ+ZRCY++cp7VFQeHqsscslsICL3BGN6iUklpEwrYIh\nPv9yfVdMHrTXiyDk7Ibfy6LVzgW1SrDpPcFRMTpZC2IZ2kcdn1dWf8dlvxdH\nzpQh7HofCHKx1lsblkcEc2uU3AFVq+qdh+nQ+5pyzHdfRCykUiHhTtAkTRw1\nkxp1kzbYsENw01h/kVN13aFnantyi3dIe+v2Y/HLTO3x90w7FWM5+xJWFl4r\noPui\r\n=ykZV\r\n-----END PGP SIGNATURE-----\r\n","size":1947227,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.62.2.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.15","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.18.3","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.62.2_1643732422373_0.640648406207805","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":1643732422619,"_cnpm_publish_time":1643732422619,"dist-tags":{"latest":"0.99.2"}}