Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
11
node_modules/longest-streak/index.d.ts
generated
vendored
Normal file
11
node_modules/longest-streak/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Get the count of the longest repeating streak of `substring` in `value`.
|
||||
*
|
||||
* @param {string} value
|
||||
* Content to search in.
|
||||
* @param {string} substring
|
||||
* Substring to look for, typically one character.
|
||||
* @returns {number}
|
||||
* Count of most frequent adjacent `substring`s in `value`.
|
||||
*/
|
||||
export function longestStreak(value: string, substring: string): number
|
||||
Loading…
Add table
Add a link
Reference in a new issue