MinaSameh1 / tinyparser

A small parser implemented from scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TinyParser

Description

This is a tinyparser for webpages I created to get title, description and image from the og meta tags. It emits events on each stage.

It doesn't use any lib other than dev ones (Ts, prettier, eslint etc), Even tests I used node's test runner.

It was a fun little project inspired by hackerrank's problem (Create a http tag parser).

Installation

To install the project, follow these steps:

pnpm install

To run tests

pnpm test

For dev mode

pnpm dev

About

A small parser implemented from scratch


Languages

Language:TypeScript 100.0%