Skip to content

Does not take into account differences in reading time depending on the language #416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
L4Ph opened this issue Apr 23, 2025 · 0 comments

Comments

@L4Ph
Copy link
Collaborator

L4Ph commented Apr 23, 2025

reading-time does not have a locale API and only determines the number of characters.

Fortunately, there is a library that has an API similar to reading-time and takes a locale as an argument. By switching to this library, you can get the correct reading time.

https://www.npmjs.com/package/reading-time-estimator?activeTab=readme

Problems

How to handle unsupported locales.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant