# pcpartpickerparser

> PCP3 is an unofficial API that returns and array of objects containing parts and information from a given pcpartpicker.com parts list.

Latest version **2.0.0** (published 2020-07-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install pcpartpickerparser
pnpm add pcpartpickerparser
yarn add pcpartpickerparser
bun add pcpartpickerparser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-07-16 |
| First published | 2019-02-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 7.7 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 7 |
| Author | @TechSquidTV |
| Maintainers | techsquidtv |

## Links

- npm: https://www.npmjs.com/package/pcpartpickerparser
- Repository: https://github.com/KyleTryon/PCPartPickerParser
- Homepage: https://github.com/KyleTryon/PCPartPickerParser#readme
- Issues: https://github.com/KyleTryon/PCPartPickerParser/issues
- npm.io page: https://npm.io/package/pcpartpickerparser

## Dependencies (5)

- [axios](https://npm.io/package/axios.md) ^0.19.2
- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.3
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.0
- [@types/jest](https://npm.io/package/@types/jest.md) ^26.0.4
- [@types/cheerio](https://npm.io/package/@types/cheerio.md) ^0.22.21

## Recent versions

- 2.0.0 (latest) — 2020-07-16
- 1.0.2 — 2019-02-12
- 1.0.1 — 2019-02-12
- 1.0.0 — 2019-02-12

## README

# PcPartPickerParser

PCP3 is an unofficial API that returns and array of objects containing parts and information from a given pcpartpicker.com parts list.

## Installation

```bash
npm install pcpartpickerparser --save
```

## Install

Load the module via `require`

```js
const  pcp3  =  require("pcpartpickerparser")
```

Load the module via `import`

```js
import { getPartsList } from 'pcpartpickerparser'
```

## Example

```js
import { getPartsList } from 'pcpartpickerparser'

async function returnParts() {
  try {
    const parts = getPartsList('list id')
    console.log(parts)
  } catch (error) {
    console.log(error)
  }
}
```

## API

The tabular data from a standard PC Part Picker list is converted into a JSON array with one object per row.

```json
[
  {
    "type": "CPU",
    "image": "https://example.com",
    "name": "Part name",
    "price": "$9.99"
  }
]
```

---
_Source: https://npm.io/package/pcpartpickerparser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
