tokenhunter

0.0.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    0

Package Sidebar

Install

npm i tokenhunter

Weekly Downloads

0

Version

0.0.0

License

BSD

Last publish

Collaborators

  • nightfly19