Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Functional token parser for JavaScript
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.js
package.json

README.md

TokenHunter

Exports a single function that attempts to parse a token following a single rule from a string, that returns an object containing a token attribute containing the matching token if found and a tail attribute that contains the remaining part of the string. If a matching token is not found returns an object with an error attribute with a description of the error and a tail attribute containing the whole string.

Something went wrong with that request. Please try again.