{"name":"@dprint/typescript","version":"0.68.4","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.68.4","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":"70283424de6ea0e0f1e8d60d4e96063cb8cec0ec","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.68.4.tgz","fileCount":5,"integrity":"sha512-Ozocsqhx1t/mdZ6gBqjBw9i4XmKOQ6KsHWKjnX+uDLFX8Hur5iPZUGlbjM/aVjcK9kQDhE8mIQjBNqzq1hOmJw==","signatures":[{"sig":"MEQCIE3w3mdmhVVSTkadxZeMVkB6QfHf1+D5iLKbP9RhfkrnAiAwUp0bTvGBs5CsTdKMZv6uD4mR/4ZrBBL0u3uiPHUzHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6482387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijqMfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLEw//a/O5VAmjpMDf/K59tdcKwTHELeiZRyO7q+zSi4OSpWbHRdhA\r\n67DeUMGhyFjQtwB7MFjp/ZRrq56Fi+jwnOJ+vNLmxMe5Fqd1CknynUfw9Nsr\r\n5te0D9MRB0wKL+6F4hfvAZ7cKRuxR9gp19B7qfKOiettgbZ3BvsOggaATzKs\r\nITWqV9O7vgM8Sf2gVFEskZAFWJgPTTctmjxCwvMNQkbC9P3TFIQfz+ZlkamT\r\nMvSVrcmiWzt25Hfs050UaZnRvmTsE/P4NtCPmnmBXetQFU5yXsuM0ZRfZ44B\r\nryBPe95YdhhZb8o56hq0gHzZ4bkXBVMRscj6KbLPu5G358+nqe/i690/Ovnp\r\nrGQCModIEf/7aSwPGCkFcFINzxeYRwGtUkikETYuO6QkO+9DyLnv0RUo2nH2\r\nGQEziabRo/tmo6jFwsOGMjHo7W4t8s5xQCoo2MuOSFslh3IMSCnL5mW+XO+O\r\ndu0ZYZjIwxUq6aTkABQvIPZeTy6Zqi7am6Fo7m8jclKLsN6129zOhWNWEbOF\r\nQQSV64aVyYHpazzqBAiO6bU2AoC2S/DuqEbVyWs3/lp4HjTbEaWOAE8vprTy\r\nQCcKslfy4mGMhLIqO0H+rollL3sudPL8okqSbYqrdmNoLm/OnbHLPUN1Yso+\r\nqUYb8WFcU8ujjhB/K7ORn2QXl/uL6aPq0M8=\r\n=Zk6Q\r\n-----END PGP SIGNATURE-----\r\n","size":1852220,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.68.4.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 buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.19.2","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.68.4_1653515039263_0.4103556186469297","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":1653515039422,"_cnpm_publish_time":1653515039422,"dist-tags":{"latest":"0.99.2"}}