GithubHelp home page GithubHelp logo

untemps / read-per-minute Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 283 KB

Class to parse a string and return an estimated reading time based on a lang rate

License: MIT License

JavaScript 97.93% Shell 2.07%
lang-rate reading-time estimated-reading-time read-o-meter reading

read-per-minute's Introduction

Vincent Le Badezet

twitter linkedin

Paris®

Standalone front-end developer

since 2003

:link :link

read-per-minute's People

Contributors

semantic-release-bot avatar untemps avatar webjose avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

webjose

read-per-minute's Issues

Feature Request: Override rate values

To extend @webJose's work in this PR, it can be useful to add the ability to override the default rate values for a particular instance.

In this case, we either add an argument in the constructor, or we add a setRates method (and a reset one), or both.

We should be careful with the type and the format of the constructor or method argument, especially the default value management (e.g. the default value does not exist among the custom values).

CAUTION: This will result in a breaking change. To check the existence of the lang set, we need to make the isLangExist dynamic

Upgrade node version in actions

When running GitHub Actions displays a warning message :

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

We should fix it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.