This is an additional module specifically for string parsers.

It contains parsers with token type bound to be string and expected to work with individual characters.

It should work even if you have a custom way to split a string into symbols such as graphemes.

Node:

import * as pc from 'peberminta/char';

Deno:

import * as p from 'https://deno.land/x/peberminta@.../char.ts';

Parsers

Renames and re-exports oneOf

Generated using TypeDoc