ngryman / Reading Time
Licence: mit
π Medium's like reading time estimation.
Stars: β 746
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Reading Time
medium-to-wordpress-migration
Script to export medium blogs to wordpress rss xml format
Stars: β 15 (-97.99%)
Mutual labels: medium
Avenging
MVP pattern example on Android: no Dagger or RxJava example
Stars: β 279 (-62.6%)
Mutual labels: medium
Gatsby Starter Mate
An accessible and fast portfolio starter for Gatsby integrated with Contentful CMS.
Stars: β 472 (-36.73%)
Mutual labels: medium
medium-sdk-php
Open source SDK for integrating Medium's OAuth2 API into your PHP application.
Stars: β 79 (-89.41%)
Mutual labels: medium
integrate-io
Cross-Post your blogs between dev.to, Medium and Hashnode π
Stars: β 21 (-97.18%)
Mutual labels: medium
Medium Unlimited
A browser extension to read medium.com articles for free without membership.
Stars: β 4,482 (+500.8%)
Mutual labels: medium
Mmra
Make Medium Readable Again β a browser extension
Stars: β 625 (-16.22%)
Mutual labels: medium
Smalleditor
Small WYSIWYG editor with delta save, inspired by Medium
Stars: β 257 (-65.55%)
Mutual labels: medium
Booksearch
A digital BookShelf for your reading progress.
Stars: β 441 (-40.88%)
Mutual labels: medium
fast-image-zoom
π Fast image zoom on click as seen on popular publishing platform
Stars: β 21 (-97.18%)
Mutual labels: medium
medium-2-md
A CLI tool that converts exported Medium posts (html) to Jekyll/Hugo compatible markdown with frontΒ matter.
Stars: β 113 (-84.85%)
Mutual labels: medium
zoom.ts
A lightweight TypeScript library for image zooming, as seen on Medium.
Stars: β 44 (-94.1%)
Mutual labels: medium
Mediumclap Android
π The Medium's Clapping Effect developed in Android
Stars: β 485 (-34.99%)
Mutual labels: medium
bypass-paywalls-chrome-clean-magnolia1234
Bypass Paywalls Chrome Clean (GitLab proxy)
Stars: β 32 (-95.71%)
Mutual labels: medium
Medium To Own Blog
Switch from Medium to your own blog in a few minutes
Stars: β 3,017 (+304.42%)
Mutual labels: medium
Applause Button
A zero-configuration medium-style button for adding applause / claps / kudos to web pages and blog posts
Stars: β 343 (-54.02%)
Mutual labels: medium
reading-time
Medium's like reading time estimation.
reading-time
helps you estimate how long an article will take to read.
It works perfectly with plain text, but also with markdown
or html
.
Note that it's focused on performance and simplicity, so the number of words it will extract from other formats than plain text can vary a little. But this is an estimation right?
Installation
npm install reading-time --production
Usage
Classic
const readingTime = require('reading-time');
const stats = readingTime(text);
// ->
// stats: {
// text: '1 min read',
// minutes: 1,
// time: 60000,
// words: 200
// }
Stream
const readingTime = require('reading-time/stream');
fs.createReadStream('foo')
.pipe(readingTime)
.on('data', stats => {
// ...
});
API
readingTime(text, options?)
-
text
: the text to analyze - options (optional)
-
options.wordsPerMinute
: (optional) the words per minute an average reader can read (default: 200) -
options.wordBound
: (optional) a function that returns a boolean value depending on if a character is considered as a word bound (default: spaces, new lines and tabulations)
-
Other projects
- Fauda: configuration made simple.
- Badge Size: Displays the size of a given file in your repository.
- Commitizen Emoji: Commitizen adapter formatting commit messages using emojis.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].