Gathering detailed insights and metrics for time2read
Gathering detailed insights and metrics for time2read
Gathering detailed insights and metrics for time2read
Gathering detailed insights and metrics for time2read
Get the approximate (and totally unscientific) number of milliseconds it takes for a human to read a sentence.
npm install time2read
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
CC0-1.0 License
2 Stars
49 Commits
3 Forks
18 Watchers
1 Branches
11 Contributors
Updated on Mar 17, 2020
Latest Version
1.0.0
Package Id
time2read@1.0.0
Size
7.49 kB
NPM Version
3.8.5
Node Version
4.4.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
Get the approximate (and totally unscientific) number of milliseconds it takes for a human to read a sentence.
First install node.js. Then:
1npm install time2read --save
Or grab the dist/time2read.js
file and include it at the bottom of your HTML page:
1<script src="time2read.js"></script>
1var time2read = require('time2read'); 2 3time2read('I ate all the jellybeans and now I need to brush my teeth.'); // returns 3610 4time2read('Sup?'); // returns 1180 5time2read(fs.readFileSync('./package.json', 'utf8')) // returns 45910
Please read the Contributing guidelines.
We are using nodeunit to test. To run tests, first install nodeunit and any dependencies via npm:
npm install
Run tests with:
npm test
The project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.
Software source code previously released under an open source license and then modified by CFPB staff is considered a "joint work" (see 17 USC § 101); it is partially copyrighted, partially public domain, and as a whole is protected by the copyrights of the non-government authors and must be released according to the terms of the original open-source license.
For further details, please see: http://www.consumerfinance.gov/developers/sourcecodepolicy/
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More