open-index/open-npm huggingface dataset:
npm package: @raviqqe/parcom
Description: Parser combinator in TypeScript
Latest version: 1.2.0

# parcom.ts

[![GitHub Action](https://img.shields.io/github/actions/workflow/status/raviqqe/parcom.ts/test.yaml?branch=main&style=flat-square)](https://github.com/raviqqe/parcom.ts/actions)
[![Codecov](https://img.shields.io/codecov/c/github/raviqqe/parcom.ts.svg?style=flat-square)](https://codecov.io/gh/raviqqe/parcom.ts)
[![npm](https://img.shields.io/npm/v/@raviqqe/parcom?style=flat-square)](https://www.npmjs.com/package/@raviqqe/parcom)
[![License](https://img.shields.io/github/license/raviqqe/parcom.ts.svg?style=flat-square)](LICENSE)

A parser combinator library for nontrivial tokens written in TypeScript.

## Features

- Support for any tokens
  - Lines in line-oriented configuration file formats, HTML nodes, etc.
- A simple set of combinators
- Strict typing

Currently, this package supports only content-free grammars.
But you can easily extend it by forking it and modifying `TokenIterator` to handle generic states.

## License

[MIT](LICENSE)