This is a simple text formatter package for javascript. It can be used to format text in different ways.
npm install text-formatter-jsJavaScript Text Formatter is a JavaScript library that can be used to format text in different ways.
To use JavaScript File Downloader in your project, you can download the jsFileDownloader.js file and include it in your project. Alternatively, you can install it using npm:
``bash`
npm i text-formatter-js --save
`bash`
yarn add text-formatter-js
`
import textFormatter from "text-formatter-js";
`
#### use this function in your project and pass the text you want to format as a parameter
`javascript`
textFormatter("your text");
#### or you can store the returned value in a variable
`javascript
const formattedText = textFormatter("your text");
console.log(formattedText);
`
| Parameter | Type | Description |
| :-------- | :------- | :----------------------------------------- |
| text | string` | Required. The text you want to format. |
| Description |
| :------------------------------------------------------------------------------------------------ |
| If you pass a number or any other type of data, it will return an error (Please provide a string) |
This project is licensed under the MIT License - see the LICENSE.md file for details
-
[Md Wahiduzzaman Emon]
- Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
* Please make sure to update tests as appropriate.