Overview
Parse package manager install commands and extract package names with versions.
Depends On
Acceptance Criteria
Examples
| Input |
Output |
npm install lodash@4.17.0 |
[{name: 'lodash', version: '4.17.0'}] |
npm i express react |
[{name: 'express'}, {name: 'react'}] |
pip install requests==2.28.0 |
[{name: 'requests', version: '2.28.0'}] |
brew install wget |
[{name: 'wget'}] |
npm run build |
null (not an install) |
Priority: P0
Overview
Parse package manager install commands and extract package names with versions.
Depends On
Acceptance Criteria
npm install,npm i,npm addcommandspip install,pip3 installcommandsbrew installcommandslodash@4.17.0→ name: lodash, version: 4.17.0)Examples
npm install lodash@4.17.0npm i express reactpip install requests==2.28.0brew install wgetnpm run buildPriority: P0