rearrange-word
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

rearrange-word

Rearrange-word is a library which is used to convert jumbled word or scrambled word or meaningless word in to a proper meaningfull word.

I know its went up from your brian. So here is a another explaination like in kindergarden teacher gives us a jumbled word and we have to rearrange the word and then convert it to a meaningfull word. Got It ?

Example:-

  1. sdmiuo -> sodium.
  2. gdo -> god or dog.
  3. motainun -> mountain.
  4. chkenic -> chicken.
  5. wpoer -> proper.

Installation

Install text-toxicity-detector with npm

  npm i rearrange-word

For ES Module

 import rearrangeWord from "rearrange-word";

For Node JS

 const rearrangeWord = require("rearrange-word");

Documentation

 import rearrangeWord from "rearrange-word"; // For ES MODULE
                      or
 const rearrangeWord  = require("rearrange-word");  // For Node JS  


 const jumbleWord = "muntonian";

 const rearrangedWord = rearrangeWord(jumbleWord);

 console.log(rearrangedWord);

Output

 mountain
  

Authors

Package Sidebar

Install

npm i rearrange-word

Weekly Downloads

0

Version

1.0.17

License

ISC

Unpacked Size

14.3 kB

Total Files

13

Last publish

Collaborators

  • abhishekchamoli