Skip to content

Some Updates RFC #20

@syonfox

Description

@syonfox

Hi i have spent a little bit of time adding to this library in my fork. we simply need to change the URLs back and pull to update these repos.

If anyone is looking for some newer stuff take to speak and feel free to open an issue. I think ill basically leave it here the goal is to make it a 1.4.2 release and have that be final as far as what is needed fro this component.

The major things added are:

  • countTokens (a faster way if you don't care about the contents)

  • tokenStats : some interesting insights into encoded strings such as frequency and position maps.

  • jsdocs: for implementation interface docs

  • browserify: for browser support

The major things to test are: if we can get a good working version of the original python version, I added it to the npm package in case it just works but it would be good to have the package support Node, Browser and Python

JSDocs

Also check out the browser demo browser demo

GitHub last commit
example workflow
github

Compatible with Node >= 12

overall just lmk what you think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions