@pnpm/parse-overrides
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

@pnpm/parse-overrides

Parse overrides

Installation

pnpm add @pnpm/parse-overrides

Usage

import { parseOverrides } from '@pnpm/parse-overrides'

parseOverrides({
  'foo': '^1.0.0',
  'quux': 'npm:@myorg/quux@^1.0.0',
  'bar@^2.1.0': '3.0.0',
  'qar@1>zoo': '2',
})
// Returns an array of parsed overrides

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @pnpm/parse-overrides

Weekly Downloads

8,332

Version

5.0.1

License

MIT

Unpacked Size

5.23 kB

Total Files

6

Last publish

Collaborators

  • pnpmuser
  • zkochan