{"name":"@dprint/typescript","version":"0.81.0","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.81.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":"3f24b124a5c6c9dc3be9f6ad05a2fe7d074fc5ed","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.81.0.tgz","fileCount":5,"integrity":"sha512-QpX7Yg1a3Hf6Bhsc38ca+qqTvMwnYk38JXrDjC2InRZfFZPufvG/rI2G5v8bCGKKqP33Xrig0X++vhtimruqlA==","signatures":[{"sig":"MEQCIEJKkFTfNEmd5/GhSS8uU0k6iQIGl+7k9smaIud/oD5DAiBK4jg4cTJVgo01FL1EHw4E6OOElZS39ry9Nse8/Lh5Hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5156051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1GrwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNqQ//ehUAVuShqd9STUJ6Y4PcC7/06dvu5kQ07dpFqQSFp4Wd/4Aw\r\n2yzCo4oyw/kagolKpiAwjjhQb8nVN5fOQgQHSBKG3GnC76BC+6r+VF7JRB45\r\nHqPeHbZogSkaLnLsijca065jll0Hm/TuSzSnCRn7guOEWaoaqvihE4XrTCJU\r\nL6CQGorswVA9SBFlEc6gvF4JsTcDR1m96WBoC9DtI62Vue9bpVaLuZJ8ssYn\r\ne7I8qsZBZDrlaydPmJk8ShURsiQ+34XqztLrgCUsdGfrBBOwDmYFH95Gq0JF\r\neWWmwiSdPHoFkhRVp68C3cBd92mCc+x9GD9H3/LrjDKQ4uwicuYjHc4ZqDy4\r\nbmgb73wpFQNhY7rqLbaLwPaCQl8OmI0pXFuhV0SrMQDZK9TiTHERBG1PnOz4\r\nepxemY/LFuPRN+hgH5JzKddLRyy+LHit9px1/ie7dJch/gEC8lzUFNi8Q/NL\r\ncVgO9YzCvlEAWXBN4YJOlEUYyP+psYlhHt4SeyJOF+bQw9zoTK0+LQf062FK\r\n890Joyl87pmVMb6KU7jk5IbQQtIG3nTMkK5FJugoUDfJYekGfFKDFD7Pnnwa\r\nY9erLMw+PUnQcAMYB8pyKzQO/dH1aSYbWLhP2L1lp9e1NxE0HjYmoBBL8/g6\r\nEKfFKPaTSWYEROCl4I1e/G9cDK5iN0av0oQ=\r\n=YSCf\r\n-----END PGP SIGNATURE-----\r\n","size":1318995,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.81.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.21.2","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.81.0_1674865392375_0.5806260774807126","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":1674865392619,"_cnpm_publish_time":1674865392619,"dist-tags":{"latest":"0.99.2"}}