@pnpm/npm-resolver
Resolver for npm-hosted packages
Last updated 2 years ago by pnpmuser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @pnpm/npm-resolver 
SYNC missed versions from official npm registry.

@pnpm/npm-resolver

Resolver for npm-hosted packages

npm version

Installation

pnpm add @pnpm/npm-resolver

Usage

'use strict'
const createResolveFromNpm = require('@pnpm/npm-resolver').default

const resolveFromNpm = createResolveFromNpm({
  store: '.store',
  offline: false,
  rawConfig: {
    registry: 'https://registry.npmjs.org/',
  },
})

resolveFromNpm({alias: 'is-positive', pref: '1.0.0'}, {
  registry: 'https://registry.npmjs.org/',
})
.then(resolveResult => console.log(JSON.stringify(resolveResult, null, 2)))
//> {
//    "id": "registry.npmjs.org/is-positive/1.0.0",
//    "latest": "3.1.0",
//    "package": {
//      "name": "is-positive",
//      "version": "1.0.0",
//      "devDependencies": {
//        "ava": "^0.0.4"
//      },
//      "_hasShrinkwrap": false,
//      "directories": {},
//      "dist": {
//        "shasum": "88009856b64a2f1eb7d8bb0179418424ae0452cb",
//        "tarball": "https://registry.npmjs.org/is-positive/-/is-positive-1.0.0.tgz"
//      },
//      "engines": {
//        "node": ">=0.10.0"
//      }
//    },
//    "resolution": {
//      "integrity": "sha1-iACYVrZKLx632LsBeUGEJK4EUss=",
//      "registry": "https://registry.npmjs.org/",
//      "tarball": "https://registry.npmjs.org/is-positive/-/is-positive-1.0.0.tgz"
//    },
//    "resolvedVia": "npm-registry"
//  }

License

MIT

Current Tags

  • 0.0.0-20230605-20230605142810                                ...           dev (a year ago)
  • 21.0.5                                ...           latest (2 months ago)
  • 12.1.9                                ...           latest-6 (2 years ago)
  • 7.3.11                                ...           next (5 years ago)
  • 3.0.0-1                                ...           next-major (6 years ago)
  • 9.1.0                                ...           pnpm-temp (4 years ago)

199 Versions

  • 21.0.5                                ...           2 months ago
  • 21.0.4                                ...           3 months ago
  • 21.0.3                                ...           3 months ago
  • 21.0.2                                ...           4 months ago
  • 21.0.1                                ...           4 months ago
  • 21.0.0                                ...           4 months ago
  • 20.0.1                                ...           5 months ago
  • 20.0.0                                ...           6 months ago
  • 19.0.4                                ...           6 months ago
  • 19.0.3                                ...           6 months ago
  • 19.0.2                                ...           6 months ago
  • 19.0.1                                ...           6 months ago
  • 19.0.0                                ...           7 months ago
  • 18.1.1                                ...           9 months ago
  • 18.1.0                                ...           10 months ago
  • 18.0.2                                ...           a year ago
  • 18.0.1                                ...           a year ago
  • 18.0.0                                ...           a year ago
  • 17.0.0                                ...           a year ago
  • 16.0.13                                ...           a year ago
  • 16.0.12                                ...           a year ago
  • 16.0.11                                ...           a year ago
  • 16.0.10                                ...           a year ago
  • 16.0.9                                ...           a year ago
  • 16.0.8                                ...           a year ago
  • 16.0.7                                ...           a year ago
  • 0.0.0-20230605-20230605142810                                ...           a year ago
  • 16.0.6                                ...           a year ago
  • 16.0.5                                ...           a year ago
  • 16.0.4                                ...           2 years ago
  • 16.0.3                                ...           2 years ago
  • 16.0.2                                ...           2 years ago
  • 16.0.1                                ...           2 years ago
  • 16.0.0                                ...           2 years ago
  • 15.0.10                                ...           2 years ago
  • 15.0.9                                ...           2 years ago
  • 15.0.8                                ...           2 years ago
  • 15.0.7                                ...           2 years ago
  • 15.0.6                                ...           2 years ago
  • 15.0.5                                ...           2 years ago
  • 15.0.4                                ...           2 years ago
  • 15.0.3                                ...           2 years ago
  • 15.0.2                                ...           2 years ago
  • 15.0.1                                ...           2 years ago
  • 15.0.0                                ...           2 years ago
  • 14.0.1                                ...           2 years ago
  • 14.0.0                                ...           2 years ago
  • 13.1.11                                ...           2 years ago
  • 13.1.10                                ...           2 years ago
  • 13.1.9                                ...           2 years ago
  • 13.1.8                                ...           2 years ago
  • 13.1.7                                ...           2 years ago
  • 13.1.6                                ...           2 years ago
  • 13.1.5                                ...           2 years ago
  • 13.1.4                                ...           2 years ago
  • 13.1.3                                ...           2 years ago
  • 13.1.2                                ...           2 years ago
  • 13.1.1                                ...           2 years ago
  • 13.1.0                                ...           2 years ago
  • 13.0.7                                ...           2 years ago
  • 12.1.9                                ...           2 years ago
  • 13.0.6                                ...           2 years ago
  • 13.0.5                                ...           2 years ago
  • 13.0.4                                ...           2 years ago
  • 13.0.3                                ...           2 years ago
  • 13.0.2                                ...           3 years ago
  • 13.0.1                                ...           3 years ago
  • 13.0.0                                ...           3 years ago
  • 12.1.8                                ...           3 years ago
  • 12.1.7                                ...           3 years ago
  • 12.1.6                                ...           3 years ago
  • 12.1.5                                ...           3 years ago
  • 12.1.4                                ...           3 years ago
  • 12.1.3                                ...           3 years ago
  • 12.1.2                                ...           3 years ago
  • 12.1.1                                ...           3 years ago
  • 12.1.0                                ...           3 years ago
  • 12.0.5                                ...           3 years ago
  • 12.0.4                                ...           3 years ago
  • 12.0.3                                ...           3 years ago
  • 12.0.2                                ...           3 years ago
  • 12.0.1                                ...           3 years ago
  • 12.0.0                                ...           3 years ago
  • 11.1.4                                ...           3 years ago
  • 11.1.3                                ...           3 years ago
  • 11.1.2                                ...           4 years ago
  • 11.1.1                                ...           4 years ago
  • 11.1.0                                ...           4 years ago
  • 11.0.1                                ...           4 years ago
  • 11.0.0                                ...           4 years ago
  • 10.2.2                                ...           4 years ago
  • 10.2.1                                ...           4 years ago
  • 10.2.0                                ...           4 years ago
  • 10.1.0                                ...           4 years ago
  • 10.0.7                                ...           4 years ago
  • 10.0.6                                ...           4 years ago
  • 10.0.5                                ...           4 years ago
  • 10.0.4                                ...           4 years ago
  • 10.0.3                                ...           4 years ago
  • 10.0.2                                ...           4 years ago
  • 10.0.1                                ...           4 years ago
  • 10.0.0                                ...           4 years ago
  • 9.1.0                                ...           4 years ago
  • 9.0.2                                ...           4 years ago
  • 9.0.1                                ...           4 years ago
  • 9.0.0                                ...           4 years ago
  • 8.1.2                                ...           4 years ago
  • 8.1.1                                ...           4 years ago
  • 8.1.0                                ...           4 years ago
  • 8.0.1                                ...           4 years ago
  • 8.0.0                                ...           4 years ago
  • 8.0.0-alpha.2                                ...           5 years ago
  • 8.0.0-alpha.1                                ...           5 years ago
  • 7.3.12-alpha.0                                ...           5 years ago
  • 7.3.11                                ...           5 years ago
  • 7.3.10                                ...           5 years ago
  • 7.3.9                                ...           5 years ago
  • 7.3.8                                ...           5 years ago
  • 7.3.7                                ...           5 years ago
  • 7.3.6                                ...           5 years ago
  • 7.3.5                                ...           5 years ago
  • 7.3.4                                ...           5 years ago
  • 7.3.3                                ...           5 years ago
  • 7.3.2                                ...           5 years ago
  • 7.3.1                                ...           5 years ago
  • 7.3.0                                ...           5 years ago
  • 7.2.1                                ...           5 years ago
  • 7.2.0                                ...           5 years ago
  • 7.2.0-0                                ...           5 years ago
  • 7.1.0                                ...           5 years ago
  • 7.0.1                                ...           5 years ago
  • 7.0.0                                ...           5 years ago
  • 6.0.2                                ...           5 years ago
  • 6.0.1                                ...           5 years ago
  • 6.0.0                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.0.3                                ...           5 years ago
  • 5.0.2                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 3.1.1                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 3.0.16                                ...           5 years ago
  • 3.0.15                                ...           5 years ago
  • 3.0.14                                ...           5 years ago
  • 3.0.13                                ...           5 years ago
  • 3.0.12                                ...           5 years ago
  • 3.0.11                                ...           5 years ago
  • 3.0.10                                ...           5 years ago
  • 3.0.9                                ...           6 years ago
  • 3.0.8                                ...           6 years ago
  • 3.0.7                                ...           6 years ago
  • 3.0.6                                ...           6 years ago
  • 3.0.5                                ...           6 years ago
  • 3.0.4                                ...           6 years ago
  • 3.0.3                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 3.0.0-1                                ...           6 years ago
  • 3.0.0-0                                ...           6 years ago
  • 2.2.7                                ...           6 years ago
  • 2.2.6                                ...           6 years ago
  • 2.2.5                                ...           6 years ago
  • 2.2.4                                ...           6 years ago
  • 2.2.3                                ...           6 years ago
  • 2.2.2                                ...           6 years ago
  • 2.2.1                                ...           6 years ago
  • 2.2.0                                ...           6 years ago
  • 2.1.6                                ...           6 years ago
  • 2.1.5                                ...           6 years ago
  • 2.1.4                                ...           6 years ago
  • 2.1.3                                ...           6 years ago
  • 2.1.2                                ...           6 years ago
  • 2.1.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.3.18                                ...           7 years ago
  • 0.3.17                                ...           7 years ago
  • 0.3.15                                ...           7 years ago
  • 0.3.14                                ...           7 years ago
  • 0.3.13                                ...           7 years ago
  • 0.3.12                                ...           7 years ago
  • 0.3.11                                ...           7 years ago
  • 0.3.10                                ...           7 years ago
  • 0.3.9                                ...           7 years ago
  • 0.3.7                                ...           7 years ago
  • 0.3.6                                ...           7 years ago
  • 0.3.5                                ...           7 years ago
  • 0.3.4                                ...           7 years ago
  • 0.3.3                                ...           7 years ago
  • 0.3.2                                ...           7 years ago
  • 0.3.1                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (2)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (21)
Dev Dependencies (10)

© 2010 - cnpmjs.org x YWFE | Home | YWFE