{"_id":"@qiwi/npm-types","_rev":"7-4455237b2e45237b03b96cb1f28a7b44","name":"@qiwi/npm-types","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.2":{"name":"@qiwi/npm-types","version":"1.0.2","description":"Typescript definitions for npm registry content","private":false,"publishConfig":{"access":"public"},"types":"./index.d.ts","main":"","scripts":{"check":"gts check index.d.ts test/test.ts","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!'","docs":"mkdir -p docs && cp ./README.md ./docs/README.md","build":"npm run docs"},"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":"^14.14.10","eslint":"^7.14.0","eslint-config-qiwi":"^1.10.0","gts":"^3.0.2","typescript":"~4.1.2"},"repository":{"type":"git","url":"git+https://github.com/qiwi-forks/npm-types.git"},"bugs":{"url":"https://github.com/qiwi-forks/npm-types/issues"},"homepage":"https://github.com/qiwi-forks/npm-types/#readme","gitHead":"9f21aa09c88710982beb6052a4918fb28114f832","_id":"@qiwi/npm-types@1.0.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-uOAYe1Bh9+ot8aZdgkv99pz4XfhnqPvyM8wanv5WOu/7EigxeGdAKVIeFb+Iqv2WVJMXFHmFBXPLVDkO+BFpmQ==","shasum":"fe34c05220edc695de7b676796c757b89474ce1f","tarball":"https://registry.npmjs.org/@qiwi/npm-types/-/npm-types-1.0.2.tgz","fileCount":5,"unpackedSize":9558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyQbvCRA9TVsSAnZWagAAlm4P/iepDASgPanHyyZnU4zY\nsNgdqk2TlNW2lGkJDJTpyzPAY90HqFrczpGaLy7o4Kl7h9O+w66M4IyG2Z+g\nvIunrfuT/UAb0hSk5JRDjCC6uoecxT2sLQ1XHs2qVSMRcrbg3zI38gV+E6lk\nevaZpV9rqZWl2hjY6mTdVA1ja8Wmywe+vpM+vyfYcQfttUXilCYFV5hEtkai\nEPGwPWTB2XdzFxvTRuhWSUzveKUAZ2EepDThn+uaP9e4M0Mj/M58erghZ6aZ\nddbEHRJ4O4IbNBhRJmWM0sYNnRSfc/ESulZWFUk+bnEpE1v1U09WIQWOcR/n\nce+hvwswPAYH/JErXpI6Ru5dXeG8BCI6LY6E3UL+eXq4TFr+lUWaDqjF+eQj\nDXJ7Yh+L/cT8YAm3UDn0zFLhgdeODZxYamoNQY5RqHukE3AwCBXNPfnUSmG4\nDqlDjBAiNUo2UgDjfOAMj62mTBofIej9ZSRHzkptjDWLIaAY7djz/eOZIAg1\nWxnLAtT4O6ty+eeLdvz8UfcTTBxPgFfeemKUWuKPt4sGvJE04D7I3sJ6mHzA\nFKQvVv1077LgcD9UzWqkPekL6N7YRG2jSap1bTL0JeIi/tEtOlR8RzD/53av\n2XvE5Xbqt/Yn+L2zqlmluZstceLGhqOBiLbZatibHw4TiRURtvopSPpQLL0l\n0Sek\r\n=qDge\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFLCvUBy7fer/Gz5i9+Olaal8X7WZ69VY07m6UxbEAAwIgK7QGedV0eMA7hRH0/BRsuW3XROyYrPYxqWTIq3ckiX8="}]},"_npmUser":{"name":"qiwibot","email":"opensource@qiwi.com"},"directories":{},"maintainers":[{"name":"pismenskiy","email":"pismenskiy.m@gmail.com"},{"name":"antongolub","email":"golub.anton@gmail.com"},{"name":"lab009","email":"npm@orlovoleg.com"},{"name":"qiwibot","email":"opensource@qiwi.com"},{"name":"khromushkin","email":"n.khromushkin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-types_1.0.2_1607010031407_0.9219824810570885"},"_hasShrinkwrap":false},"1.0.3":{"name":"@qiwi/npm-types","version":"1.0.3","description":"Typescript definitions for npm registry content","private":false,"publishConfig":{"access":"public"},"types":"./index.d.ts","main":"","scripts":{"check":"gts check index.d.ts test/test.ts","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!'","docs":"mkdir -p docs && cp ./README.md ./docs/README.md","build":"npm run docs"},"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":"^14.14.10","eslint":"^7.29.0","eslint-config-qiwi":"^1.13.1","gts":"^3.1.0","typescript":"~4.3.5"},"repository":{"type":"git","url":"git+https://github.com/qiwi-forks/npm-types.git"},"bugs":{"url":"https://github.com/qiwi-forks/npm-types/issues"},"homepage":"https://github.com/qiwi-forks/npm-types/#readme","gitHead":"f20f3765f6191133b053743cfdd48db1f92f7997","_id":"@qiwi/npm-types@1.0.3","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-fHUud+Fo8JiGOPMmnVaOYd/crEnBM+qB8qXrSRz1AkYZAj8BtudFYcsiFweL6DcYXguq7+iXKdzx42dGCEPHiQ==","shasum":"8d5be29939ea2a1e596a45e8279b37d16fd1e7f2","tarball":"https://registry.npmjs.org/@qiwi/npm-types/-/npm-types-1.0.3.tgz","fileCount":5,"unpackedSize":10093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3fGSCRA9TVsSAnZWagAAF8cQAJGi9xnOQKUQWeYuBgGm\n+oxX5EqSF6TuS9EgiQ3TqBsjQToWSYzl8UYnvL2m9ChKd4aI7wvqf8punZv4\nKFNm2zGYOx2jg4WGgioWbYmc7s6X1036HAn04+FWYHw88bLPoh7l1y0+midG\nEV6mA5uVeX5J+Kg/+kKfZ7SmLKC/s6nIYbElPrMOt2NX+kBdIUNX23jrDYiE\nUFu6st5SPAvxC+8yjHjLRgdTD4yxmOFG3qQ5bjNs3eY52dSe9Acv3ISaQ+Y5\n18qfCV8ZPIcJIKN23f5RXSrWbp7eoVSvcn2YjlOCRla3crFHhWkIiHVDqtKq\n5ZnnyiqYBql+l3HP/uaV7EZElSKAv6GqzhwEyM8RqLHJwlZ0qClaxBxJr1k1\nShNIHpvbbYonLu6jQ/MetYTFPlX2CTOBNKnGOstPi5nkMZw+nGgVW9scp0CL\ntRoOECGLyxxIseVZ9Y/cyVqlqqKMf5mhE0IBmc5lCjfCxt2RY7+PpBraWZzw\niyCVrbHvltO7EO+3iXI8qhwp1pmfOdnYwolB47wnK8u1Q+o0B4sPVc2Iorjc\n+AceJ70D9zmAEE+wkibeFLXqbkjQnN9/IJU+6RAuu1djQC+Htx/P6NHMk/r2\nlCFjknm3wEiiL7PzZlOJdjwylK4RD7V3fJJslfAg/Mf7ho1sOKlSmSQyfER9\nW0ZA\r\n=6I1b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeqEObjBa3QLl5jYGI1xHFI7iigT779M1XIfuAxCC2GwIgccYgbLjSf1Qlaz7lMsYJdImFIhfQU4U1qkyQ4nHeiSE="}]},"_npmUser":{"name":"qiwibot","email":"opensource@qiwi.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"},{"name":"lab009","email":"npm@orlovoleg.com"},{"name":"qiwibot","email":"opensource@qiwi.com"},{"name":"khromushkin","email":"n.khromushkin@gmail.com"},{"name":"pismenskiy","email":"pismenskiy.m@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-types_1.0.3_1625158033556_0.20051762008937635"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-03T15:40:31.309Z","1.0.2":"2020-12-03T15:40:31.537Z","modified":"2024-01-19T09:00:43.713Z","1.0.3":"2021-07-01T16:47:13.688Z"},"maintainers":[{"email":"golub.anton@gmail.com","name":"antongolub"},{"email":"opensource@qiwi.com","name":"qiwibot"}],"description":"Typescript definitions for npm registry content","homepage":"https://github.com/qiwi-forks/npm-types/#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/qiwi-forks/npm-types.git"},"contributors":[{"name":"Ryan Day","email":"ryaneday@google.com"}],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us","url":"http://neversaw.us/"},"bugs":{"url":"https://github.com/qiwi-forks/npm-types/issues"},"license":"MIT","readme":"# @qiwi/npm-types\n\nThe fork of [npm/types](https://github.com/npm/types) that fixes the most vulnerabilities and brings deps from 2020\n\nTypescript definitions for npm registry content\n\n```typescript\nimport * as npm from '@qiwi/npm-types';\n\nconst pkg = require('pacote');\n\npkg.packument('libnpm').then((obj: npm.Packument) => {\n  console.log(obj.name, 'is the name of the package');\n});\n\n```\n\n## GOAL\n\nMake it easier for typescript users to work with npm registry content! \n\n![vscode tooltip screenshot](./img/tool-tip.png)\n\nTypes should have comments so documentation on npm object properties can appear in vscode contextual popups.\n\n## types\n\n- npm.PackageJson\n    - the object in the json file you have in your project\n\n- npm.PackageLock\n    - the file generated for you by npm that pins your deps.\n\n- npm.Packument\n    - the document you get from `https://registry.npmjs.org/<package name here>`\n\n- npm.Manifest\n    - the document you get from `curl -H 'accept:application/vnd.npm.install-v1+json' https://registry.npmjs.org/<package name here>`\n\n### subtypes\n\n\n- npm.PackageVersion\n    - the objects in the version fields of Packuments\n\n- npm.LockDependency\n    - how package locks describe dependencies and sub dependencies\n\n- npm.ManifestVersion  \n    - the version object in an AbbreviatedPackument\n\n- npm.Dist\n    - the object in npm.PackageVersion that holds the tarball location and checksums\n\n- npm.NpmScripts\n    - helpful object with all of the possible npm hooks\n\n- npm.Maintainer\n    - common type for author, maintainers etc used in many objects\n\n- npm.Repository\n    - string or object of repo data\n","readmeFilename":"README.md"}