New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

count-pattern

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

count-pattern

This package is used for count given pattern in the given text. Works like a regexp search.

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
1
Created
Source

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

Keywords

count text

FAQs

Package last updated on 07 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts