{"_id":"@tapjs/typescript@3.5.13","tap":{"typecheck":false},"bugs":{"url":"https://github.com/tapjs/tapjs/issues"},"dist":{"shasum":"e4416d985ab59944412e02eb09f58ee8fe31fcd2","tarball":"http://registry-npm.ywwl.com/@tapjs/typescript/download/@tapjs/typescript-3.5.13.tgz","fileCount":21,"integrity":"sha512-yhfJnc3HTupP/Bj75bIEr47qLYcQ8jkCT11loMnS9JM2gnhC3s1Ks6F7M6bWhuTCXjZNVHwglkfIPAJiNzZCAA==","signatures":[{"sig":"MEYCIQCg00kalBql+Hn/MkOrqiiHqZ9hIRJxzJTmxS7qDV8tTwIhALAgdItjib2Yrx2FMnF3v5EomzHMd19VwNftvABgyDDj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGWlGcqp7tlOJa2imkRBdoO7W+TzUeLOhGab+rvfMSvxAiBWOGJvRdd7oAMk8rtiQP6Yh2W5VzDEd9D4Oe6UvEOb3g=="}],"unpackedSize":50708,"size":8109,"noattachment":false,"key":"/@tapjs/typescript/-/@tapjs/typescript-3.5.13.tgz"},"main":"./dist/commonjs/index.js","name":"@tapjs/typescript","tshy":{"main":true,"exports":{".":"./src/index.ts","./esm":"./src/esm.mts","./import":"./src/import.mts","./package.json":"./package.json"},"selfLink":false},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Isaac Z. Schlueter"},"module":"./dist/esm/index.js","engines":{"node":"20 || >=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./esm":{"import":{"types":"./dist/esm/esm.d.mts","default":"./dist/esm/esm.mjs"}},"./import":{"import":{"types":"./dist/esm/import.d.mts","default":"./dist/esm/import.mjs"}},"./package.json":"./package.json"},"gitHead":"6874ffcc3e671f64b5dbabdd25b26904d3e2ed84","license":"BlueOak-1.0.0","scripts":{"snap":"tap","test":"tap","format":"prettier --write . --log-level warn --ignore-path ../../.prettierignore --cache","prepare":"tshy","presnap":"npm run prepare","pretest":"npm run prepare","typedoc":"typedoc --tsconfig tsconfig/esm.json ./src/*.ts"},"version":"3.5.13","_npmUser":{"name":"isaacs","email":"i@izs.me"},"homepage":"https://github.com/tapjs/tapjs/tree/main/src/typescript#readme","keywords":["tapjs plugin"],"repository":{"url":"git+ssh://git@github.com/tapjs/tapjs.git","path":"src/typescript","type":"git"},"_npmVersion":"12.2.0","description":"a built-in tap extension that adds typescript support","directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"isaacs","email":"i@izs.me"}],"_nodeVersion":"26.5.0","dependencies":{"@isaacs/ts-node-temp-fork-for-pr-2009":"^10.9.7"},"_hasShrinkwrap":false,"peerDependencies":{"@tapjs/core":"4.6.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typescript_3.5.13_1793744240214_0.35370760314855887"},"readme":"# `@tapjs/typescript`\n\nA default tap plugin providing typescript support.\n\n## USAGE\n\nThis plugin is installed with tap by default. If you had\npreviously removed it, you can `tap plugin add @tapjs/typescript` to\nbring it back.\n\nWhen enabled, this plugin does the following things:\n\n- adds `ts`, `tsx`, `cts`, `mts`, and `jsx` to the file\n  extensions that tap will load.\n- adds `ts-node/esm` to the loader set.\n- adds the `typecheck` config flag, which is `false` by default\n- adds the `tsconfig` config option, for specifying a project\n  config for your tests to use.\n\nThe `typecheck` config defaults to false, even though type\nchecking your tests is generally a good idea. Unfortunately, it\nis also often considerably slower, adding as much as 500-750ms to\neach test suite file, which can be painful if you have a lot of\ntests. In large project folders, the effect can be even more\npronounced.\n\nYou can enable type checking with `--typecheck` on the command\nline, or by putting `typecheck: true` in `.taprc`, or `{ \"tap\": {\n\"typecheck\": true }}` in `package.json`, or `TAP_TYPECHECK=1` in\nthe environment. It is highly recommended to enable it in CI, for\nexample by setting `TAP_TYPECHECK=1` in the environment.\n\nThe `\"skipLibCheck\": true` option in tsconfig will also speed things up a\nbit, at the expense of some type safety.\n\nNote that even if you pre-compile your tests, they will still be\nsubject to type checking if `\"allowJs\": true` is set in your\ntsconfig.\n\n## Configuration\n\nSet these as command line flags, or in a `.taprc` or `package.json`,\nor via the `tap config set <key>=<value>` command.\n\n- `typecheck` Defaults to false. Applies strict type checking to\n  tests and the files they load, (at the expense of making tests\n  slower).\n\n- `tsconfig` Set to the `tsconfig.json` file to be used when\n  loading TypeScript tests. Defaults to the first of these found,\n  if present: `tsconfig.tap.json`, `tsconfig.test.json`,\n  `tsconfig.spec.json`, `tsconfig.json`.\n","publish_time":1793744240297,"_cnpm_publish_time":1793744240297,"dist-tags":{"latest":"3.5.13","pre":"1.0.0"}}