Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bradymholt/cRonstrue
/ functions
Functions
2,283 in github.com/bradymholt/cRonstrue
⨍
Functions
2,283
◇
Types & classes
100
↓ 11 callers
Method
format
* Takes a string with '%s' placeholders and replaces them with provided values. * Works like sprintf in C or string.Format in C#. * @static *
src/stringUtilities.ts:10
↓ 10 callers
Function
getPhraseByNumber
(str: string | undefined, words: Array<string>)
src/i18n/locales/ru.ts:5
↓ 10 callers
Method
toString
* Converts a cron expression into a description a human can read * @param {string} expression - The cron expression * @param {Options} [options]
src/expressionDescriptor.ts:37
↓ 9 callers
Function
isOne
(s?: string)
src/i18n/locales/en.ts:6
↓ 8 callers
Method
getSegmentDescription
(expression: string, describers: SegmentDescribers)
src/expressionDescriptor.ts:587
↓ 7 callers
Function
getPhraseByNumber
(str: string | undefined, words: [string, string])
src/i18n/locales/ro.ts:7
↓ 6 callers
Function
assertInRange
(parse: string, min: number, max: number, message: string)
src/rangeValidator.ts:20
↓ 6 callers
Function
getPhraseByDayOfWeek
(str: string | undefined, words: Array<string>)
src/i18n/locales/ru.ts:11
↓ 6 callers
Function
getPhraseByDayOfWeek
(str: string | undefined, words: string[])
src/i18n/locales/bg.ts:9
↓ 6 callers
Method
removeLeadingComma
(description: string)
src/expressionDescriptor.ts:470
↓ 4 callers
Method
commaX0ThroughX1
(s?: string)
src/i18n/locale.ts:36
↓ 4 callers
Function
getNumberEnding
(str: string | undefined, gender: "м" | "ж" | "ср")
src/i18n/locales/bg.ts:15
↓ 4 callers
Function
getPhraseByPlural
(str: string | undefined, words: string[])
src/i18n/locales/bg.ts:5
↓ 4 callers
Method
spaceAnd
()
src/i18n/locale.ts:21
↓ 3 callers
Function
assert
(value: boolean, message: string)
src/rangeValidator.ts:1
↓ 3 callers
Method
commaEveryDay
()
src/i18n/locale.ts:34
↓ 3 callers
Method
everyHour
()
src/i18n/locale.ts:17
↓ 3 callers
Function
ordinalSuffix
(value: string | undefined)
src/i18n/locales/az.ts:37
↓ 3 callers
Method
parse
* Parses and normalizes a cron expression into an array of strings * @returns {string[]}
src/cronParser.ts:42
↓ 2 callers
Method
commaAndX0ThroughX1
(s?: string)
src/i18n/locale.ts:37
↓ 2 callers
Method
commaOnlyInX0
(s?: string)
src/i18n/locale.ts:52
↓ 2 callers
Method
everyMinute
()
src/i18n/locale.ts:16
↓ 2 callers
Method
formatTime
(hourExpression: string, minuteExpression: string, secondExpression: string)
src/expressionDescriptor.ts:746
↓ 2 callers
Method
getDayOfWeekDescription
( dayOfWeekExpression: string = this.expressionParts[5], isFirstClause: boolean = true, )
src/expressionDescriptor.ts:289
↓ 2 callers
Method
initialize
(localesLoader: LocaleLoader, defaultLocale = "en")
src/expressionDescriptor.ts:64
↓ 2 callers
Function
usage
()
bin/cli.js:5
↓ 1 callers
Method
am
()
src/i18n/locale.ts:13
↓ 1 callers
Method
anErrorOccuredWhenGeneratingTheExpressionD
()
src/i18n/locale.ts:15
↓ 1 callers
Method
at
()
src/i18n/locale.ts:20
↓ 1 callers
Method
atReboot
()
src/i18n/locale.ts:81
↓ 1 callers
Method
atSpace
()
src/i18n/locale.ts:18
↓ 1 callers
Method
atX0
()
src/i18n/locale.ts:33
↓ 1 callers
Method
atX0MinutesPastTheHour
(s?: string)
src/i18n/locale.ts:29
↓ 1 callers
Method
atX0MinutesPastTheHourGt20
()
src/i18n/locale.ts:30
↓ 1 callers
Method
atX0SecondsPastTheMinute
(s?: string)
src/i18n/locale.ts:25
↓ 1 callers
Method
atX0SecondsPastTheMinuteGt20
()
src/i18n/locale.ts:26
↓ 1 callers
Method
betweenX0AndX1
()
src/i18n/locale.ts:32
↓ 1 callers
Method
commaAndOnX0
()
src/i18n/locale.ts:50
↓ 1 callers
Method
commaBetweenDayX0AndX1OfTheMonth
(s?: string)
src/i18n/locale.ts:64
↓ 1 callers
Method
commaDaysAfterTheX0OfTheMonth
(s?: string)
src/i18n/locale.ts:62
↓ 1 callers
Method
commaDaysBeforeTheLastDayOfTheMonth
(s?: string)
src/i18n/locale.ts:57
↓ 1 callers
Method
commaDaysBeforeTheX0OfTheMonth
(s?: string)
src/i18n/locale.ts:61
↓ 1 callers
Method
commaEveryX0Days
(s?: string)
src/i18n/locale.ts:63
↓ 1 callers
Method
commaEveryX0DaysOfTheWeek
(s?: string)
src/i18n/locale.ts:35
↓ 1 callers
Method
commaEveryX0Months
(s?: string)
src/i18n/locale.ts:51
↓ 1 callers
Method
commaEveryX0Years
(s?: string)
src/i18n/locale.ts:66
↓ 1 callers
Method
commaMonthX0ThroughMonthX1
()
src/i18n/locale.ts:38
↓ 1 callers
Method
commaOnDayX0OfTheMonth
(s?: string)
src/i18n/locale.ts:65
↓ 1 callers
Method
commaOnThe
(s?: string, day?: string)
src/i18n/locale.ts:45
↓ 1 callers
Method
commaOnTheLastDayOfTheMonth
()
src/i18n/locale.ts:55
↓ 1 callers
Method
commaOnTheLastWeekdayOfTheMonth
()
src/i18n/locale.ts:56
↓ 1 callers
Method
commaOnTheLastX0OfTheMonth
(s?: string)
src/i18n/locale.ts:48
↓ 1 callers
Method
commaOnTheX0OfTheMonth
()
src/i18n/locale.ts:60
↓ 1 callers
Method
commaOnlyInMonthX0
()
src/i18n/locale.ts:53
↓ 1 callers
Method
commaOnlyInYearX0
()
src/i18n/locale.ts:54
↓ 1 callers
Method
commaOnlyOnX0
(s?: string)
src/i18n/locale.ts:49
↓ 1 callers
Method
commaStartingX0
()
src/i18n/locale.ts:67
↓ 1 callers
Method
commaYearX0ThroughYearX1
()
src/i18n/locale.ts:39
↓ 1 callers
Method
conciseVerbosityReplacements
* When `verbose` option is set to `false`, use this array to do any replacements to make the description more concise * For example: * return {
src/i18n/locale.ts:10
↓ 1 callers
Method
containsAny
* * Given a string and an array of search strings, determines if the string * contains any value from the array. * @static * @param {strin
src/stringUtilities.ts:25
↓ 1 callers
Method
dayOfMonthRange
(parse: string)
src/rangeValidator.ts:48
↓ 1 callers
Method
dayOfWeekRange
(parse: string, dayOfWeekStartIndexZero: boolean)
src/rangeValidator.ts:61
↓ 1 callers
Method
dayX0
()
src/i18n/locale.ts:68
↓ 1 callers
Method
daysOfTheWeek
()
src/i18n/locale.ts:69
↓ 1 callers
Method
daysOfTheWeek
()
src/i18n/locales/az.ts:203
↓ 1 callers
Method
daysOfTheWeekInCase
If multiple forms are needed in "%s through %s" * @param f 1 for "from", 2 for "through" * @return {string[]} days of week
src/i18n/locale.ts:74
↓ 1 callers
Method
everyMinuteBetweenX0AndX1
()
src/i18n/locale.ts:19
↓ 1 callers
Method
everySecond
()
src/i18n/locale.ts:22
↓ 1 callers
Method
everyX0Hours
(s?: string)
src/i18n/locale.ts:31
↓ 1 callers
Method
everyX0Minutes
(s?: string)
src/i18n/locale.ts:27
↓ 1 callers
Method
everyX0Seconds
(s?: string)
src/i18n/locale.ts:23
↓ 1 callers
Method
extractParts
(expression: string)
src/cronParser.ts:104
↓ 1 callers
Method
firstWeekday
()
src/i18n/locale.ts:58
↓ 1 callers
Method
generateRangeSegmentDescription
(rangeExpression: string, describers: SegmentDescribers)
src/expressionDescriptor.ts:737
↓ 1 callers
Method
getAndPrefix
()
src/expressionDescriptor.ts:458
↓ 1 callers
Method
getDayOfMonthDescription
(dayOfMonthExpression: string = this.expressionParts[3])
src/expressionDescriptor.ts:478
↓ 1 callers
Function
getDaysOfTheWeek
(locale)
scripts/convert-ced-locale.js:95
↓ 1 callers
Method
getFullDescription
()
src/expressionDescriptor.ts:97
↓ 1 callers
Method
getHoursDescription
()
src/expressionDescriptor.ts:254
↓ 1 callers
Method
getMinutesDescription
()
src/expressionDescriptor.ts:234
↓ 1 callers
Method
getMonthDescription
()
src/expressionDescriptor.ts:440
↓ 1 callers
Function
getMonthsOfTheYear
(locale)
scripts/convert-ced-locale.js:108
↓ 1 callers
Method
getPeriod
(hour: number)
src/expressionDescriptor.ts:795
↓ 1 callers
Method
getSecondsDescription
()
src/expressionDescriptor.ts:218
↓ 1 callers
Method
getTimeOfDayDescription
()
src/expressionDescriptor.ts:134
↓ 1 callers
Method
getWrappingIncrementDescription
* A step which doesn't divide the field evenly (e.g. minute "*\/50") matches the values 0 and 50, * so the gaps alternate between 50 and 10 minutes
src/expressionDescriptor.ts:703
↓ 1 callers
Method
getYearDescription
()
src/expressionDescriptor.ts:577
↓ 1 callers
Method
hasLeadingComma
(description: string)
src/expressionDescriptor.ts:474
↓ 1 callers
Method
hourRange
(parse: string)
src/rangeValidator.ts:44
↓ 1 callers
Method
lastDay
()
src/i18n/locale.ts:47
↓ 1 callers
Method
load
(availableLocales: { [name: string]: Locale })
src/i18n/localeLoader.ts:4
↓ 1 callers
Method
minuteRange
(parse: string)
src/rangeValidator.ts:40
↓ 1 callers
Method
minutesX0ThroughX1PastTheHour
()
src/i18n/locale.ts:28
↓ 1 callers
Method
monthRange
(parse: string, monthStartIndexZero: boolean)
src/rangeValidator.ts:52
↓ 1 callers
Method
monthsOfTheYear
()
src/i18n/locale.ts:75
↓ 1 callers
Method
monthsOfTheYear
()
src/i18n/locales/ru.ts:175
↓ 1 callers
Method
monthsOfTheYearInCase
If multiple forms are needed in "%s through %s" * @param f 1 for "from", 2 for "through" * @return {string[]} months of year
src/i18n/locale.ts:80
↓ 1 callers
Method
normalize
(expressionParts: string[])
src/cronParser.ts:166
↓ 1 callers
Method
onTheHour
()
src/i18n/locale.ts:82
↓ 1 callers
Method
parseSpecial
(expression: string)
src/cronParser.ts:85
next →
1–100 of 2,283, ranked by callers