# amazon-metadata-parser

> Get metadata from Amazon product pages for Node.js

Latest version **1.0.5** (published 2019-10-01) · Apache License 2.0 license · 0 weekly downloads

## Install

```sh
npm install amazon-metadata-parser
pnpm add amazon-metadata-parser
yarn add amazon-metadata-parser
bun add amazon-metadata-parser
```

## 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 | 1.0.5 |
| Published | 2019-10-01 |
| First published | 2019-09-18 |
| Weekly downloads | 0 |
| License | Apache License 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 15.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Keisuke Horota |
| Maintainers | horota |
| Keywords | amazon, amazon associate, metadata, ogp, parser |

## Links

- npm: https://www.npmjs.com/package/amazon-metadata-parser
- Repository: https://github.com/345ml/amazon-metadata-parser
- Homepage: https://github.com/345ml/amazon-metadata-parser#readme
- Issues: https://github.com/345ml/amazon-metadata-parser/issues
- npm.io page: https://npm.io/package/amazon-metadata-parser

## Dependencies (2)

- [parse5](https://npm.io/package/parse5.md) ^5.1.0
- [isomorphic-unfetch](https://npm.io/package/isomorphic-unfetch.md) ^3.0.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-10-01
- 1.0.4 — 2019-09-23
- 1.0.3 — 2019-09-22
- 1.0.2 — 2019-09-18
- 1.0.1 — 2019-09-18
- 1.0.0 — 2019-09-18

## README

# amazon-metadata-parser

## Motivation

This is a Node.js library created for my blog.

Amazon's Product Advertising API is strict.
The goal is to get product photos and titles and display them in the blog text without using the API.

## Get start

### Install
```
yarn add amazon-metadata-parser
```

### How to use
``` javascript
const amazonMetadataParser = require('amazon-metadata-parser');

amazonMetadataParser('https://www.amazon.com/Let-Be-Beatles/dp/B01929IA56/').then((metadata) => {
  console.log(metadata);
  /**
  * Response
  * {
  *   title: 'Let It Be',
  *   image: 'https://m.media-amazon.com/images/I/81KGh-kOzYL._SS500_.jpg',
  * }
  */
}).catch((error) => {
  throw error;
});
```

### Support
- [x] Normal product page
- [x] Digital music

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