# @metascraper/helpers

> Shared helper utilities used across metascraper rules for parsing and normalizing metadata.

Latest version **5.56.2** (published 2026-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @metascraper/helpers
pnpm add @metascraper/helpers
yarn add @metascraper/helpers
bun add @metascraper/helpers
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

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

## Facts

| | |
|---|---|
| Version | 5.56.2 |
| Published | 2026-08-17 |
| First published | 2017-12-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 22.13 |
| Dependencies | 25 |
| Unpacked size | 26.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2737 |
| Author | microlink.io |
| Maintainers | kikobeats |
| Keywords | helpers, html, json-ld, metadata, metascraper, normalize, open-graph, parse, scraper, utils |

## Links

- npm: https://www.npmjs.com/package/@metascraper/helpers
- Repository: https://github.com/microlinkhq/metascraper.git#master
- Homepage: https://github.com/microlinkhq/metascraper/packages/metascraper-helpers
- Issues: https://github.com/microlinkhq/metascraper/issues
- npm.io page: https://npm.io/package/@metascraper/helpers

## Dependencies (25)

- [re2](https://npm.io/package/re2.md) ~1.26.0
- [mime](https://npm.io/package/mime.md) 4
- [jsdom](https://npm.io/package/jsdom.md) ~30.0.0
- [tldts](https://npm.io/package/tldts.md) ~7.4.2
- [is-uri](https://npm.io/package/is-uri.md) ~1.2.14
- [lodash](https://npm.io/package/lodash.md) ~4.18.1
- [entities](https://npm.io/package/entities.md) ~8.0.0
- [iso-639-3](https://npm.io/package/iso-639-3.md) ~3.0.1
- [isostring](https://npm.io/package/isostring.md) 0.0.1
- [has-values](https://npm.io/package/has-values.md) ~2.0.1
- [jsonrepair](https://npm.io/package/jsonrepair.md) ~3.15.0
- [chrono-node](https://npm.io/package/chrono-node.md) ~2.10.0
- [memoize-one](https://npm.io/package/memoize-one.md) ~6.0.0
- [smartquotes](https://npm.io/package/smartquotes.md) ~2.3.2
- [debug-logfmt](https://npm.io/package/debug-logfmt.md) ~1.4.7
- [normalize-url](https://npm.io/package/normalize-url.md) 9
- [data-uri-utils](https://npm.io/package/data-uri-utils.md) ~1.0.13
- [file-extension](https://npm.io/package/file-extension.md) ~4.0.5
- [url-regex-safe](https://npm.io/package/url-regex-safe.md) ~4.0.0
- [is-relative-url](https://npm.io/package/is-relative-url.md) ~4.1.0
- [audio-extensions](https://npm.io/package/audio-extensions.md) 0.0.0
- [image-extensions](https://npm.io/package/image-extensions.md) ~1.1.0
- [video-extensions](https://npm.io/package/video-extensions.md) 2
- [condense-whitespace](https://npm.io/package/condense-whitespace.md) ~3.0.0
- [microsoft-capitalize](https://npm.io/package/microsoft-capitalize.md) ~1.0.8

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 5.56.2 (latest) — 2026-08-17
- 3.0.0-alpha.3ac8a881 (canary) — 2017-12-15
- 5.55.2 — 2026-08-13
- 5.55.0 — 2026-08-09
- 5.54.1 — 2026-08-07
- 5.54.0 — 2026-08-07
- 5.53.0 — 2026-07-30
- 5.52.0 — 2026-07-29
- 5.51.1 — 2026-06-19
- 5.50.6 — 2026-06-09
- 5.50.5 — 2026-06-09
- 5.50.1 — 2026-04-14
- 5.50.0 — 2026-03-20
- 5.49.25 — 2026-03-07
- 5.49.24 — 2026-02-17
- … 260 more at https://npm.io/package/@metascraper/helpers/versions

## README

<div align="center">
  <br>
  <img style="width: 500px; margin:3rem 0 1.5rem;" src="https://metascraper.js.org/static/logo-banner.png" alt="metascraper">
  <br>
  <br>
  <p align="center"><strong>metascraper-helpers</strong>: Collection of helper functions used by metascraper.</p>
  <p align="center">See our <a href="https://metascraper.js.org" target='_blank' rel='noopener noreferrer'>website</a> for more information.</p>
  <br>
</div>

## Install

```bash
$ npm install @metascraper/helpers --save
```

## License

**metascraper-helpers** © [Microlink](https://microlink.io), released under the [MIT](https://github.com/microlinkhq/metascraper/blob/master/LICENSE.md) License.<br>
Authored and maintained by [Microlink](https://microlink.io) with help from [contributors](https://github.com/microlinkhq/metascraper/contributors).

> [microlink.io](https://microlink.io) · GitHub [microlinkhq](https://github.com/microlinkhq) · X [@microlinkhq](https://x.com/microlinkhq)

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