{"_id":"@tapjs/config@5.6.6","tap":{"typecheck":false,"coverage-map":"map.js"},"bugs":{"url":"https://github.com/tapjs/tapjs/issues"},"dist":{"shasum":"963b910df6ef19c834bbff94c848dcfd4df25514","tarball":"http://registry-npm.ywwl.com/@tapjs/config/download/@tapjs/config-5.6.6.tgz","fileCount":29,"integrity":"sha512-rP1BeE3vM3PBcD9wvTDnIfrWTG5N+DbsktRwPjQT1mOHswv4DaYZI2Xt+vpLN4wNtsWydQmmQY3Zj+7QK4P0JA==","signatures":[{"sig":"MEUCIQCEPwVuI29P94FQJXvNdsVYogriZN0Tf/RXrp6BGNKJhwIgFAkYqz7Z28sH5GDojI8xkfGQx1Um+GfnwM082cRBYts=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC9pzpZyvqkhhKKu26CgjgPlfiZPF2/rsfATEVx8Y5gJAiBtX6YgwVnABs41pRl0JMHN0taA4UUyT6mah0GJO1VVhg=="}],"unpackedSize":312312,"size":70454,"noattachment":false,"key":"/@tapjs/config/-/@tapjs/config-5.6.6.tgz"},"main":"./dist/commonjs/index.js","name":"@tapjs/config","tshy":{"main":true,"exports":{".":"./src/index.ts","./package.json":"./package.json"},"selfLink":false},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"url":"https://blog.izs.me","name":"Isaac Z. Schlueter","email":"i@izs.me"},"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"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/isaacs"},"gitHead":"8ab84eb1daae6dedbfcf07b8e0bf2c2a965ad81f","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":"5.6.6","_npmUser":{"name":"isaacs","email":"i@izs.me"},"homepage":"https://github.com/tapjs/tapjs/tree/main/src/config#readme","repository":{"url":"git+ssh://git@github.com/tapjs/tapjs.git","path":"src/config","type":"git"},"_npmVersion":"11.17.0","description":"Utility loading and managing tap configuration","directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"isaacs","email":"i@izs.me"}],"_nodeVersion":"26.5.0","dependencies":{"chalk":"^5.6.2","tap-yaml":"4.4.2","jackspeak":"^4.2.3","@tapjs/core":"4.6.0","@tapjs/test":"4.4.10","polite-json":"^5.0.0","walk-up-path":"^4.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@tapjs/core":"4.6.0","@tapjs/test":"4.4.10"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/config_5.6.6_1788477771655_0.8886699771641065"},"readme":"# `@tapjs/config`\n\nThis is the library that tap uses to manage configuration coming\nfrom the command line options, environment variables, and config\nfiles.\n\n## Configuring Node Tap\n\nIf a `TAP_RCFILE` value is set in the process environment, then\nthat will be the initial location that tap looks for\nconfiguration values.\n\nIf that's not set, then tap will look for configuration data\nfirst in a .taprc file in the project root, and then in the \"tap\"\nobject in the project package.json file. ('Project root' means\nthe nearest folder at or above the current working directory\ncontaining package.json, .taprc, or .git.)\n\nThe config object may set any of the following fields, as well as\nthe special \"extends\" field, which may specify either a package\nname or file name, relative to the config file that references\nit.\n\nIf the \"extends\" field resolves to a file on disk, then that will\nbe read as the base configuration object. (It may also extend yet\nanother config file, and so on.)\n\nIf the \"extends\" field specifies a package name, then it must be\nresolveable in the `node_modules` folder of the file extending\nit. That package must contain either a .taprc file, or a\npackage.json file with a \"tap\" object.\n\nTo see the format used in a .taprc file, run the `tap\ndump-config` command with the desired options specified on the\ncommand line.\n\nAdditionally, all config options that are modified from their\ndefaults will be set in the environment with the `TAP_` prefix,\nand will be read from the environment if so specified. For\nexample, specifying `--omit-version` on the command line, or\n`omit-version: true` in a .taprc file, will set\n`TAP_OMIT_VERSION=1` in the environment.\n\nEnvironment and CLI options take priority over any config files.\n\n## Class `TapConfig`\n\nThis is the main interface for dealing with tap configuration.\n\nThe typical way to use this is by calling `await\nTapConfig.load()` to get a\n[`LoadedConfig`](https://tapjs.github.io/tapjs/interfaces/_tapjs_config.index.LoadedConfig.html)\nobject, which is an instance of `TapConfig` that has been fully\nloaded with all relevant settings.\n\nThe full list of methods and properties are available in [the\ntypedocs](https://tapjs.github.io/tapjs/classes/_tapjs_config.index.TapConfig.html)\n","publish_time":1788477772030,"_cnpm_publish_time":1788477772030,"dist-tags":{"latest":"5.6.7","pre":"2.0.0"}}