counterletterx
v0.1.0
Published
The package that returns how many characters the string expression sent to him is
Downloads
5
Readme
CounterLetters
English
Description
CounterLetters is a simple JavaScript library that counts the number of letters in a given string.
Installation
To install CounterLetters, run the following command:
npm install counterletters
Usage
import CounterLetters from 'counterletters';
/* or
const CounterLetters = require('counterletterx'); */
const count = CounterLetters('Hello, world!');
console.log(count); // Outputs: 13
********************
Türkçe
Açıklama
CounterLetters, verilen bir stringdeki harf sayısını sayan basit bir JavaScript kütüphanesidir.
Kurulum
CounterLetters'ı kurmak için aşağıdaki komutu çalıştırın:
npm install counterletters
Kullanım
CounterLetters'ın nasıl kullanılacağına dair basit bir örnek:
import CounterLetters from 'counterletters';
/* or
const CounterLetters = require('counterletterx'); */
const count = CounterLetters('Hello, world!');
console.log(count); // Outputs: 13