UNPKG

regex-occurrence

Version:

Get the number of occurrences of a RegExp in a string

37 lines (36 loc) 672 B
{ "name": "regex-occurrence", "version": "1.0.0", "description": "Get the number of occurrences of a RegExp in a string", "license": "MIT", "repository": "SamVerschueren/regex-occurrence", "author": { "name": "Sam Verschueren", "email": "sam.verschueren@gmail.com", "url": "github.com/SamVerschueren" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "regex", "regexp", "occurrence", "occurrences", "count", "needle", "haystack", "search" ], "dependencies": {}, "devDependencies": { "ava": "*", "xo": "*" } }