Introduction
Muninn is an HTML parsing tool. It is fast. It allows you to create a configuration file. This makes it easy to keep parser settings up to date despite changing selectors. It takes very little time to learn thanks to the easy syntax. It uses thecheerio library for parsing. It is simple and flexible for various needs.
It also has a useful extension that visualizes your configuration files on the pages you will parse. SeeMuninn Extension
Motivation
Our aim is to make the parsing processes more manageable and to facilitate the contribution of team members to this process. That's why muninn has an easy to understand config file and syntax. It takes care to remain simple even when solving complex problems.
Installation
With NPM
$ npm install muninn
With Yarn
$ yarn add muninn
Usage
import { parse } from "muninn";const data = "<html>...</html>";const config = { schema: { title: "h1.title" }}parse(data, config);
Last updated
Was this helpful?