1.0.0 • Published 3 years ago

wordmanager.js v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Word Manager

A Package for analyzing Words

Install

npm i wordmanager.js

Functions

Here are the examples of the code

const text = 'Hello World';
const wordmanager = require('wordmanager.js');
const word = wordmanager.getWord(text);

console.log(word);

This Code Will output:

{
  charactersNoSpaces: 10,
  characters: 11,
  words: 2,
  lines: 1,
  capitals: 2,
  notcapitals: 8,
  digits: 0
}