words-calculate
v1.1.1
Published
Count everything about text, letters, words, sentences and paragraphs, and more.
Downloads
8
Maintainers
Readme
words-calculate
Count everything about text, letters, words, sentences and paragraphs, and more.
Installation
npm
npm i words-calculate
yarn
yarn add words-calculate
browser
<script src="words-calculate.js"></script>
Import package
Nodejs
const {paragraphsCount, sentencesCount} = require('words-calculate');
Modules
import {alphabetsCount} from "words-calculate";
or
<script type="module">
import {calculateWords} from "path/to/words-calculate.esm.js";
</script>
Browser
<script src="words-calculate.js"></script>
or using minify
<script src="words-calculate.min.js"></script>
Documentation
Check out Documentation.
License
Words-Calculate is MIT licensed.