{"_id":"@npm/types","_rev":"3626545","name":"@npm/types","description":"Typescript definitions for npm registry content","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"dhei","email":""},{"name":"feelepxyz.github","email":""},{"name":"fritzy","email":"fritzy@netflint.net"},{"name":"gar","email":""},{"name":"hashtagchris","email":""},{"name":"jithinpg","email":""},{"name":"jumoel","email":""},{"name":"karenjli","email":""},{"name":"kartykp","email":""},{"name":"maitxn","email":""},{"name":"monishcm","email":""},{"name":"mylesborins","email":"myles.borins@gmail.com"},{"name":"navin22","email":""},{"name":"nishantms","email":""},{"name":"npm","email":"1548902010@qq.com"},{"name":"npmci","email":"ops@npmjs.com"},{"name":"reggi","email":""},{"name":"saquibkhan","email":""},{"name":"shmam","email":""},{"name":"tayvongh","email":""},{"name":"tiagonbotelho","email":""},{"name":"trevrosen","email":""}],"time":{"modified":"2024-10-21T03:50:19.000Z","created":"2018-08-31T18:51:13.661Z","2.0.0":"2024-08-13T16:38:45.318Z","1.0.2":"2022-05-06T15:45:39.048Z","1.0.1":"2018-08-31T19:28:25.808Z","1.0.0":"2018-08-31T18:51:13.661Z"},"users":{},"author":{"name":"GitHub Inc."},"repository":{"type":"git","url":"git+https://github.com/npm/types.git"},"versions":{"2.0.0":{"name":"@npm/types","version":"2.0.0","description":"Typescript definitions for npm registry content","types":"./types/index.d.ts","scripts":{"lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run lint -- --fix","snap":"tap","test":"tap","posttest":"npm run lint"},"keywords":["npm registry","types","typescript","definitions","typings"],"author":{"name":"GitHub Inc."},"license":"MIT","engines":{"node":">=18.6.0"},"devDependencies":{"@npmcli/eslint-config":"^4.0.4","@npmcli/template-oss":"4.22.0","@types/node":"22.1.0","@typescript-eslint/parser":"^8.0.1","eslint-import-resolver-typescript":"^3.6.1","tap":"^18.7.3","typescript":"^5.4.5"},"repository":{"type":"git","url":"git+https://github.com/npm/types.git"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.22.0","allowPaths":["/types/"],"distPaths":["types/"],"latestCiVersion":18,"windowsCI":false,"macCI":false,"publish":true},"type":"module","tap":{"typecheck":true,"disable-coverage":true},"_id":"@npm/types@2.0.0","gitHead":"19fdbfbab6f91aa69532fad4e3bb922c56ccd1b0","bugs":{"url":"https://github.com/npm/types/issues"},"homepage":"https://github.com/npm/types#readme","_nodeVersion":"18.20.4","_npmVersion":"10.8.2","dist":{"shasum":"96ac91599e33899070930ca4bf9a17fc97806a3e","size":3562,"noattachment":false,"key":"/@npm/types/-/@npm/types-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npm/types/download/@npm/types-2.0.0.tgz"},"_npmUser":{"name":"reggi","email":"reggi@github.com"},"directories":{},"maintainers":[{"name":"dhei","email":""},{"name":"feelepxyz.github","email":""},{"name":"fritzy","email":"fritzy@netflint.net"},{"name":"gar","email":""},{"name":"hashtagchris","email":""},{"name":"jithinpg","email":""},{"name":"jumoel","email":""},{"name":"karenjli","email":""},{"name":"kartykp","email":""},{"name":"maitxn","email":""},{"name":"monishcm","email":""},{"name":"mylesborins","email":"myles.borins@gmail.com"},{"name":"navin22","email":""},{"name":"nishantms","email":""},{"name":"npm","email":"1548902010@qq.com"},{"name":"npmci","email":"ops@npmjs.com"},{"name":"reggi","email":""},{"name":"saquibkhan","email":""},{"name":"shmam","email":""},{"name":"tayvongh","email":""},{"name":"tiagonbotelho","email":""},{"name":"trevrosen","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types_2.0.0_1723567125145_0.41847681255210656"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-13T16:38:45.318Z","publish_time":1723567125318,"_source_registry_name":"default","_cnpm_publish_time":1723567125318},"1.0.2":{"name":"@npm/types","version":"1.0.2","description":"Typescript definitions for npm registry content","types":"./index.d.ts","main":"","scripts":{"check":"gts check","clean":"gts clean","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check","test":"echo 'compilation worked!'"},"keywords":[],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us","url":"http://neversaw.us/"},"license":"MIT","contributors":[{"name":"Ryan Day","email":"ryaneday@google.com"}],"devDependencies":{"@types/node":"^17.0.31","@typescript-eslint/parser":"^4.33.0","eslint":"^7.32.0","gts":"^3.1.0","typescript":"~4.6.4"},"gitHead":"7f357f45e2b4205cd8474339a95092a5e6e77917","_id":"@npm/types@1.0.2","_nodeVersion":"17.4.0","_npmVersion":"8.5.5","dist":{"shasum":"b9443e6064f35e18f27f4d2c08fff564334c9fa5","size":19355,"noattachment":false,"key":"/@npm/types/-/@npm/types-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npm/types/download/@npm/types-1.0.2.tgz"},"_npmUser":{"name":"darcyclarke","email":"darcy@darcyclarke.me"},"directories":{},"maintainers":[{"name":"dhei","email":""},{"name":"feelepxyz.github","email":""},{"name":"fritzy","email":"fritzy@netflint.net"},{"name":"gar","email":""},{"name":"hashtagchris","email":""},{"name":"jithinpg","email":""},{"name":"jumoel","email":""},{"name":"karenjli","email":""},{"name":"kartykp","email":""},{"name":"maitxn","email":""},{"name":"monishcm","email":""},{"name":"mylesborins","email":"myles.borins@gmail.com"},{"name":"navin22","email":""},{"name":"nishantms","email":""},{"name":"npm","email":"1548902010@qq.com"},{"name":"npmci","email":"ops@npmjs.com"},{"name":"reggi","email":""},{"name":"saquibkhan","email":""},{"name":"shmam","email":""},{"name":"tayvongh","email":""},{"name":"tiagonbotelho","email":""},{"name":"trevrosen","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types_1.0.2_1651851938868_0.28305774769566217"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-06T16:56:19.338Z","publish_time":1651851939048,"_cnpm_publish_time":1651851939048},"1.0.1":{"name":"@npm/types","version":"1.0.1","description":"Typescript definitions for npm registry content","types":"./index.d.ts","main":"","scripts":{"check":"gts check","clean":"gts clean","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check","test":"echo 'compilation worked!'"},"keywords":[],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us","url":"http://neversaw.us/"},"license":"MIT","contributors":[{"name":"Ryan Day","email":"ryaneday@google.com"}],"devDependencies":{"@types/node":"^10.9.3","gts":"^0.8.0","typescript":"~2.8.0"},"gitHead":"3466108543ed8980cdc9ab29a19561bb141692d7","_id":"@npm/types@1.0.1","_npmVersion":"6.4.0","_nodeVersion":"8.9.0","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"dist":{"shasum":"6b378d8ef427ddaf2efa967b4530de793dbc2de2","size":19305,"noattachment":false,"key":"/@npm/types/-/@npm/types-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npm/types/download/@npm/types-1.0.1.tgz"},"maintainers":[{"name":"dhei","email":""},{"name":"feelepxyz.github","email":""},{"name":"fritzy","email":"fritzy@netflint.net"},{"name":"gar","email":""},{"name":"hashtagchris","email":""},{"name":"jithinpg","email":""},{"name":"jumoel","email":""},{"name":"karenjli","email":""},{"name":"kartykp","email":""},{"name":"maitxn","email":""},{"name":"monishcm","email":""},{"name":"mylesborins","email":"myles.borins@gmail.com"},{"name":"navin22","email":""},{"name":"nishantms","email":""},{"name":"npm","email":"1548902010@qq.com"},{"name":"npmci","email":"ops@npmjs.com"},{"name":"reggi","email":""},{"name":"saquibkhan","email":""},{"name":"shmam","email":""},{"name":"tayvongh","email":""},{"name":"tiagonbotelho","email":""},{"name":"trevrosen","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types_1.0.1_1535743705657_0.5909496049634639"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T21:40:03.049Z","publish_time":1535743705808,"_cnpm_publish_time":1535743705808},"1.0.0":{"name":"@npm/types","version":"1.0.0","description":"Typescript definitions for npm registry content","types":"./index.d.ts","main":"","scripts":{"check":"gts check","clean":"gts clean","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check","test":"echo 'compilation worked!'"},"keywords":[],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us","url":"http://neversaw.us/"},"license":"MIT","contributors":[{"name":"Ryan Day","email":"ryaneday@google.com"}],"devDependencies":{"@types/node":"^10.9.3","gts":"^0.8.0","typescript":"~2.8.0"},"gitHead":"8b65d15d236c7c4d74022eb65282f6e72b3683a5","_id":"@npm/types@1.0.0","_npmVersion":"6.4.0","_nodeVersion":"8.9.0","_npmUser":{"name":"npm","email":"npm@npmjs.com"},"dist":{"shasum":"76061776f6a92014b98ddd7c5ca20e78db2cf156","size":19305,"noattachment":false,"key":"/@npm/types/-/@npm/types-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npm/types/download/@npm/types-1.0.0.tgz"},"maintainers":[{"name":"dhei","email":""},{"name":"feelepxyz.github","email":""},{"name":"fritzy","email":"fritzy@netflint.net"},{"name":"gar","email":""},{"name":"hashtagchris","email":""},{"name":"jithinpg","email":""},{"name":"jumoel","email":""},{"name":"karenjli","email":""},{"name":"kartykp","email":""},{"name":"maitxn","email":""},{"name":"monishcm","email":""},{"name":"mylesborins","email":"myles.borins@gmail.com"},{"name":"navin22","email":""},{"name":"nishantms","email":""},{"name":"npm","email":"1548902010@qq.com"},{"name":"npmci","email":"ops@npmjs.com"},{"name":"reggi","email":""},{"name":"saquibkhan","email":""},{"name":"shmam","email":""},{"name":"tayvongh","email":""},{"name":"tiagonbotelho","email":""},{"name":"trevrosen","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types_1.0.0_1535741473532_0.549612288238668"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T21:40:01.179Z","publish_time":1535741473661,"_cnpm_publish_time":1535741473661}},"readme":"# @npm/types\n\nTypescript definitions for npm registry endpoints\n\nFor example:\n\n```typescript\nimport * as npm from '@npm/types';\n\nfetch('https://registry.npmjs.org/cookie')\n  .then((res) => res.json())\n  .then((obj: npm.Packument) => {\n    // `obj` has proper registry types!\n  })\n```\n\n## Types\n\n### Packument\nResponse type for the `https://registry.npmjs.org/:packageName` endpoint\n\n### PackumentVersion\nResponse type for the `https://registry.npmjs.org/:packageName/:packageVersion` endpoint.  Also the type of `Packument['versions']` entries.\n\n### Manifest\nResponse type for the `https://registry.npmjs.org/:packageName` endpoint, _when made with the 'Accept: application/vnd.npm.install-v1+json' header_.\n\n### ManifestVersion\nResponse type for the `https://registry.npmjs.org/:packageName/:packageVersion` endpoint, _when made with the 'Accept: application/vnd.npm.install-v1+json' header_.   Also the type of `Manifest['versions']` entries.\n\n### PackageJSON\nA \"loose\" definition of package.json structures.\n\n> [!NOTE]\n> This is not an authoritative definition of package.json structures.  Rather, it is a best-effort attempt to describe the fields that are de-facto standards for Node.js, npm, and TypeScript development.\n","_attachments":{},"homepage":"https://github.com/npm/types#readme","bugs":{"url":"https://github.com/npm/types/issues"},"license":"MIT"}