count-pattern
v1.3.1
Published
This package is used for count given pattern in the given text. Works like a regexp search.
Downloads
3
Maintainers
Readme
count-pattern
Pattern counter in text without build in function, Ever
Usage
const cp = require('count-pattern')
const result = cp('banana', 'an')
console.log(result) //2
Features
- Library has written without any build in functions