{"name":"@dprint/typescript","version":"0.68.1","keywords":["typescript","javascript","code","formatter","dprint"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/typescript@0.68.1","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":"e69450fafe7df3bf1c752a923861864e02c6c6d7","tarball":"http://registry-npm.ywwl.com/@dprint/typescript/download/@dprint/typescript-0.68.1.tgz","fileCount":5,"integrity":"sha512-yZxuhSybH5irct997DWRhVp7BayzIqg/W8PK44Bi3FbCzQLZY71iPKVF363NbGQjeu2Nh5ie6Vdtj0UApwADfw==","signatures":[{"sig":"MEUCIQCGA5DSFAwTcGS+PVp3XUZ9g/vvIp7hD4iV8xhl3mp7VwIgWme5jFkNQefLWBbMsMi5VB6hB2GBX5Gv5+JGx96BBrc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6339207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibadbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBcBAAoC5v45n12Qzmud1MNobPfjwNVprIIwEJuxWGCJHFIbpYf/i+\r\nfO4b06quf1myi2yZYzL6Ir2TUxmyHwf/Oc61GfskWArshYeSN7bpNiSwWbGe\r\nHWLaBipVEVqF2sSCf5FF+nBgP8hagQoK255yYZ9mqMjFnrKDopO1XPNvuoQM\r\nH/vvnxN5GSHi6YoguS5IpPQk12xEos6ybNLrj3IsIaIZzjOEmT4pUncn3Gj4\r\nUYojYwIXw264/qTJZQY9CQbgOFrJIRlUnfwJhImW2YiUXCgJVyth2Y4agGo6\r\n2sPXfmvGgiJGoFE0fMLrl15kHbXDLrfVNCClXM5FYN0hKadljjpH7G1QaWgE\r\nXrdmv5gQCIcwN7SvuMr55U2cVYlNB77J5q5UQ+JQrH/Xy63ylrgsI0v52gX5\r\n08WRxOEXWEBEpag/D2E/mIOlDBSoyB1QrSkCp+3Kd/4nKo1a/xbZ9GlUIPWK\r\nmczBQtS2RetN4oj9dSip4gTf29TqRghgtxTN97uvMkisOg4Q/nE3C02IM2xs\r\nk3bXDgqRIC/AJkcFTmYzJ9opYG+zjQeMHUY3iiK5kLjfD5Nv8g5ySPv2ebdH\r\n6w6WQryR7PyoICMxGs4URoaIv3Sge+QqkG8D3ioH6ubaGaLem6YEOf/v2Ajp\r\n28YRzrauC27nZDixtt+xvXJtmK+vqFCOxWI=\r\n=LmAp\r\n-----END PGP SIGNATURE-----\r\n","size":1815085,"noattachment":false,"key":"/@dprint/typescript/-/@dprint/typescript-0.68.1.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.16","description":"Wasm buffer for dprint-plugin-typescript.","directories":{},"_nodeVersion":"14.19.1","_hasShrinkwrap":false,"devDependencies":{"@dprint/formatter":"~0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript_0.68.1_1651353435096_0.8132752947270647","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":1651353435277,"_cnpm_publish_time":1651353435277,"dist-tags":{"latest":"0.99.2"}}