github-users-parser
is an Antlr4 generated GITHUB_USERS parser. This module helps in parsing and working with GitHub user information.
- Uses ANTLR4 for parsing.
- Provides both visitor (
DefaultVisitor
) and utility functions (GetGitHubHandlesByEmail
) for handling GitHub user information.
npm install github-users-parser
import { DefaultVisitor, GetGitHubHandlesByEmail } from 'github-users-parser';
const result = GetGitHubHandlesByEmail("input-string", ["[email protected]"]);
const visitor = new DefaultVisitor(["[email protected]"]);
Given an input string and an array of email addresses, this function returns the associated GitHub handles.
A class to visit and process GitHub user information.
To build the project, run:
npm run co:build
To generate the parser and lexer:
npm run co:antlr4ts
If you encounter any bugs or issues, kindly report them here.
This project is licensed under the MIT License - see the LICENSE file for details.