{"name":"@dprint/typescript","version":"0.46.2","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.46.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":"c46ba3b5f949e6c868c2a14419e4d15b7fc05832","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.46.2.tgz","fileCount":4,"integrity":"sha512-ok3B1bKFO0RsNyCVX66rW1WQZGLIdJ+AYlj1/yCR/hQbGrgRy+EpRVoC+kB9uB4jdnIpI+EStEqulNyQMJOxYQ==","signatures":[{"sig":"MEQCIHVEfiikzZ9EGr07CVwaYQyE3liOuO6ctzWfjV/vAMUbAiBYEHSM7mUt1Pf0vaNMA7d4y0GDF8HwLeBsTTSOCE4K0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5815993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2hGqCRA9TVsSAnZWagAAUO0P+QCtd+KImkv5bIWxN6ei\n7MCzLxltTbjhSvnHEVU59kXTjiLgFPf5LVu2TmQ1VVem30wB0HwGdMc+F3WZ\nVVRncxQZnjM27y+O4pruY6rw6139xQIDvsUprvnyHl2PvdTOG0sVD3PNNEEm\nWBBFiixVK9eU/y8KF+xMd7Six12LLKnZRn7gJCm4wGSajVxXJPpdQf3+MEs7\nAkmv1+u+sW/Fn4bDvVTTHbrKTkhAkFnbPUIfD77q8espRpRi39scV3khNK6n\nTa4RZpm7Z4QIV0cQPSfaJnIkUAnOcbqTe65UbkV9ZycG7DANzx9GVt6xgO1M\nBdvvGR7zbK0zOLeGdWLQx0ywJUmLTEn6WcIOfu7ve5bdNSozlUC7VNa8T3EN\nXrHQocdYhMd+eKDePNoq8trjJ0q1epHlYc7HqfYkGZMelHc6SWJ4D7ZifHbB\nqZvSu6QL1L3fAkmUorG5RDAgTCe/XsKz1J7hju9er5aLBU5VlCluy3ZOTiM3\nAtgTa9cP/lpeaA4DpKpYetDs6rNmCqb7vU65reExg6rbt3jpg9WKIpGY01bE\nrXlTi2NESwpdnnZsLRCr851KeACtW+CSMvaKuVmP+A7fU86s637aPbpAv0Uq\n1g1/TKZmPIM0eiVkwcpFACB+m2sIUHrr41luByjkHBzgm0owNRbVY40+93mU\nFSLi\r\n=AbN1\r\n-----END PGP SIGNATURE-----\r\n","size":1643021,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.46.2.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.46.2_1624904105375_0.7845102596711708","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":1624904106440,"_cnpm_publish_time":1624904106440,"dist-tags":{"latest":"0.99.2"}}