1.0.1 • Published 2 years ago

@sachinkiranti/textual v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Textual

A simple text manipulation js library.

Install

Download

CDN

Link directly to Textual files on unpkg.

<script src="https://unpkg.com/@sachinkiranti/textual@1.0.1/dist/textual.min.js"></script>

Usage

"Hello World".wordCount() // Count the word from the given string
"Hello World".charCount() // Count the character from the given string

"Hello World".append(" Bye !") // Append the given string "Example :" to the string i.e. 'Hello World Bye !'
"Hello World".prepend("Example : ") // Prepend the given string "Example :" to the string i.e. 'Example : Hello World'

Development

This package is developed with Node.js v16.13.2 and npm v8.1.2

Install dependencies

npm install

Run tests

npm run test