{"name":"@npm/types","version":"2.1.0","keywords":["npm registry","types","typescript","definitions","typings"],"author":{"name":"GitHub Inc."},"license":"MIT","_id":"@npm/types@2.1.0","maintainers":[{"name":"fritzy","email":"fritzy@github.com"},{"name":"npm","email":"npm@npmjs.com"},{"name":"npmci","email":"ops@npmjs.com"},{"name":"saquibkhan","email":"saquibkhan@github.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"tayvongh","email":"tayvon@github.com"},{"name":"karenjli","email":"karenjli@github.com"},{"name":"jumoel","email":"jumoel@github.com"},{"name":"monishcm","email":"monishcm@github.com"},{"name":"nishantms","email":"nishantms@github.com"},{"name":"kartykp","email":"kartykp@github.com"},{"name":"shmam","email":"shmam@github.com"},{"name":"reggi","email":"reggi@github.com"},{"name":"jithinpg","email":"jpg619@github.com"},{"name":"dhei","email":"dhei@github.com"},{"name":"maitxn","email":"maitxn@github.com"},{"name":"hashtagchris","email":"hashtagchris@github.com"},{"name":"owlstronaut","email":"owlstronaut@github.com"}],"homepage":"https://github.com/npm/types#readme","bugs":{"url":"https://github.com/npm/types/issues"},"nyc":{"exclude":[]},"tap":{"typecheck":true,"disable-coverage":true,"show-full-coverage":true},"dist":{"shasum":"3f9271a921e7071a0170f4433ace0abdf4c2ac51","tarball":"http://registry-npm.ywwl.com/@npm/types/download/@npm/types-2.1.0.tgz","fileCount":4,"integrity":"sha512-humQVe2BrWR7Yum5hGDYBnIPnnZJvKSOH/I4QN1ZL2bdb4c4zQHaHupEJ3cOkSJ07G3YfN793ptbNh196BWLgA==","signatures":[{"sig":"MEUCIAJuBgzFgl2Q/9HjGvS5LJQ9z9RCn5qPJip/tiDUmU+/AiEA+PFZyJEuycBipmONxmfS3RmmzwN57862ewi9wu/XlcI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@npm%2ftypes@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9675,"size":3692,"noattachment":false,"key":"/@npm/types/-/@npm/types-2.1.0.tgz"},"type":"module","types":"./types/index.d.ts","engines":{"node":">=18.6.0"},"gitHead":"1a853ced95d6ab1c9b75ea10b251dc2be42cc862","scripts":{"lint":"npm run eslint","snap":"tap","test":"tap","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run eslint -- --fix","postlint":"template-oss-check","posttest":"npm run lint","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"reggi","email":"reggi@github.com"},"repository":{"url":"git+https://github.com/npm/types.git","type":"git"},"_npmVersion":"10.9.2","description":"Typescript definitions for npm registry content","directories":{},"templateOSS":{"macCI":false,"publish":true,"version":"4.24.3","distPaths":["types/"],"windowsCI":false,"allowPaths":["/types/"],"latestCiVersion":18,"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"tap":"^18.7.3","typescript":"^5.4.5","@types/node":"22.14.1","@npmcli/template-oss":"4.24.3","@npmcli/eslint-config":"^5.0.0","@typescript-eslint/parser":"^8.0.1","eslint-import-resolver-typescript":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/types_2.1.0_1745871494556_0.39547839350841096","host":"s3://npm-registry-packages-npm-production"},"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","publish_time":1745871494734,"_cnpm_publish_time":1745871494734,"dist-tags":{"latest":"2.1.0"}}