Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ functions
Functions
2,890 in github.com/denoland/std
⨍
Functions
2,890
◇
Types & classes
637
↓ 2 callers
Function
isRedirectStatus
(status: number)
http/status.ts:390
↓ 2 callers
Function
isSemVer
(value: unknown)
semver/is_semver.ts:38
↓ 2 callers
Function
isSupportedAlgorithm
(value: string)
http/unstable_message_signatures.ts:286
↓ 2 callers
Function
isTchar
RFC 9110 tchar: token characters
http/unstable_structured_fields.ts:516
↓ 2 callers
Function
isToken
(s: string)
media_types/_util.ts:112
↓ 2 callers
Function
isUnicodeNameStartChar
* Check if a Unicode code point (>= 0x100) is a valid NameStartChar. * Ranges ordered by frequency in real-world XML (CJK is common). * * XML 1.0 F
xml/_name_chars.ts:65
↓ 2 callers
Function
isYearNumberALeapYear
(yearNumber: number)
datetime/is_leap.ts:4
↓ 2 callers
Function
itDefinition
Generates an ItDefinition from ItArgs.
testing/bdd.ts:505
↓ 2 callers
Function
lessOrEqual
(version1: SemVer, version2: SemVer)
semver/less_or_equal.ts:28
↓ 2 callers
Function
levenshteinDistance
(str1: string, str2: string)
text/levenshtein_distance.ts:121
↓ 2 callers
Function
link
(oldpath: string, newpath: string)
fs/unstable_link.ts:22
↓ 2 callers
Function
linkSync
(oldpath: string, newpath: string)
fs/unstable_link.ts:50
↓ 2 callers
Function
load
( options: LoadOptions = {}, )
dotenv/mod.ts:269
↓ 2 callers
Function
loadSync
( options: LoadOptions = {}, )
dotenv/mod.ts:115
↓ 2 callers
Function
logError
(error: Error)
http/file_server.ts:799
↓ 2 callers
Function
longestCommonPrefix
(strs: ArrayLike<string>)
text/unstable_longest_common_prefix.ts:20
↓ 2 callers
Method
lrnValues
* Create an iterator over this tree that traverses the tree in post-order (LRN, * Left-Right-Node). * * @example Using the post-order LRN ite
data_structures/binary_search_tree.ts:690
↓ 2 callers
Function
lstat
(path: string | URL)
fs/unstable_lstat.ts:26
↓ 2 callers
Method
lvlValues
* Create an iterator over this tree that traverses the tree in level-order (BFS, * Breadth-First Search). * * @example Using the level-order
data_structures/binary_search_tree.ts:726
↓ 2 callers
Function
mapKeys
( record: Readonly<Record<string, T>>, transformer: (key: string) => string, )
collections/map_keys.ts:35
↓ 2 callers
Function
mapNotNullish
( array: Iterable<T>, transformer: (el: T, index: number) => O, )
collections/map_not_nullish.ts:46
↓ 2 callers
Function
matchIPv4Subnet
(addr: string, subnet: string)
net/unstable_ip.ts:182
↓ 2 callers
Function
matchIPv6Subnet
(addr: string, subnet: string)
net/unstable_ip.ts:247
↓ 2 callers
Function
maxBy
( array: Iterable<T>, selector: | ((el: T, index: number) => number) | ((el: T, index: number) =>
collections/max_by.ts:147
↓ 2 callers
Function
maxOf
( array: Iterable<T>, selector: S, )
collections/max_of.ts:83
↓ 2 callers
Function
maxWith
( array: Iterable<T>, comparator: (a: T, b: T) => number, )
collections/max_with.ts:31
↓ 2 callers
Function
methodMatches
( routeMethod: string | string[] | undefined, requestMethod: string, )
http/unstable_route.ts:53
↓ 2 callers
Function
minBy
( array: Iterable<T>, selector: | ((el: T, index: number) => number) | ((el: T, index: number) =>
collections/min_by.ts:145
↓ 2 callers
Function
minOf
( array: Iterable<T>, selector: S, )
collections/min_of.ts:83
↓ 2 callers
Function
minWith
( array: Iterable<T>, comparator: (a: T, b: T) => number, )
collections/min_with.ts:27
↓ 2 callers
Function
monotonicFactory
(encodeRand = encodeRandom)
ulid/_util.ts:65
↓ 2 callers
Function
needIndentIndicator
(string: string)
yaml/_dumper_state.ts:172
↓ 2 callers
Function
nextPowerOfTwo
Round up to the smallest power of two >= n (at least {@linkcode MIN_CAPACITY}).
data_structures/deque.ts:31
↓ 2 callers
Method
nlrValues
* Create an iterator over this tree that traverses the tree in pre-order (NLR, * Node-Left-Right). * * @example Using the pre-order NLR itera
data_structures/binary_search_tree.ts:663
↓ 2 callers
Function
normalize
(path: string | URL)
path/windows/normalize.ts:27
↓ 2 callers
Function
normalize
(path: string | URL)
path/posix/normalize.ts:44
↓ 2 callers
Function
normalizeAlgorithm
(algorithm: DigestAlgorithm)
crypto/crypto.ts:328
↓ 2 callers
Function
normalizeAttributeValue
* Normalizes attribute value per XML 1.0 §3.3.3. * * Only predefined entities are expanded (lt, gt, amp, apos, quot). * Custom entities from DTD ar
xml/_parser.ts:38
↓ 2 callers
Function
normalizeParsedProblemDetails
( raw: unknown, )
http/unstable_problem_details.ts:249
↓ 2 callers
Method
onCData
( content: string, line: number, column: number, offset: number, )
xml/_parser.ts:578
↓ 2 callers
Method
onComment
( content: string, line: number, column: number, offset: number, )
xml/_parser.ts:605
↓ 2 callers
Method
onEndElement
* Called when an element ends. * @param colonIndex Index of ':' in name, or -1 if no prefix. * @param uri The resolved namespace URI if the elem
xml/types.ts:441
↓ 2 callers
Method
onProcessingInstruction
( target: string, content: string, line: number, column: number, offset: number, )
xml/_parser.ts:615
↓ 2 callers
Method
onText
( content: string, line: number, column: number, offset: number, )
xml/_parser.ts:533
↓ 2 callers
Method
only
Registers an individual test case with only set to true.
testing/bdd.ts:571
↓ 2 callers
Function
or
( parsers: T, )
toml/_parser.ts:250
↓ 2 callers
Function
overrideGlobals
()
testing/time.ts:209
↓ 2 callers
Function
ownKeys
(obj: object)
assert/equal.ts:24
↓ 2 callers
Function
paramsEqual
( a: ReadonlyMap<string, BareItem>, b: ReadonlyMap<string, BareItem>, )
http/unstable_structured_fields_test.ts:846
↓ 2 callers
Function
parse
( content: string, options: ParseOptions = {}, )
yaml/parse.ts:74
↓ 2 callers
Function
parseArgs
( args: readonly string[], options?: ParseOptions< TBooleans, TStrings, TCollectable, TNeg
cli/parse_args.ts:607
↓ 2 callers
Function
parseBareItem
(state: ParserState)
http/unstable_structured_fields.ts:762
↓ 2 callers
Function
parseIntegerOrDecimal
(state: ParserState)
http/unstable_structured_fields.ts:792
↓ 2 callers
Function
parseItemOrInnerList
(state: ParserState)
http/unstable_structured_fields.ts:717
↓ 2 callers
Function
parseKey
(state: ParserState)
http/unstable_structured_fields.ts:1097
↓ 2 callers
Function
parseLanguage
( str: string, i: number, )
http/_negotiation/language.ts:42
↓ 2 callers
Function
parseLine
* Parses a field line and updates the message accumulator. * Returns true if a field was added to the message.
http/server_sent_event_parse_stream.ts:43
↓ 2 callers
Function
parseMediaType
( str: string, i: number, )
http/_negotiation/media_type.ts:47
↓ 2 callers
Function
parseName
(name: string, uri?: string)
xml/_common.ts:549
↓ 2 callers
Function
parseName
Parses a qualified name string into an XmlName object.
xml/_parser_test.ts:32
↓ 2 callers
Function
parsePath
(size: number, buffer: Uint8Array_)
tar/tar_stream.ts:595
↓ 2 callers
Function
parseSnapshotArgs
* Parses an overloaded `(propertyMatchers?, stringArg?)` argument list. * Both `toMatchSnapshot` and `toMatchInlineSnapshot` accept an optional * pr
expect/_matchers.ts:1055
↓ 2 callers
Function
parseSync
(xml: string, options?: ParseOptions)
xml/_parse_sync.ts:88
↓ 2 callers
Function
parseXmlStream
( source: AsyncIterable<string>, callbacks: XmlEventCallbacks, options: ParseStreamOptions = {}, )
xml/parse_stream.ts:62
↓ 2 callers
Function
parserFactory
(parser: ParserComponent<T>)
toml/_parser.ts:846
↓ 2 callers
Function
partitionEntries
( record: Readonly<Record<string, T>>, predicate: (entry: [string, T]) => boolean, )
collections/partition_entries.ts:41
↓ 2 callers
Method
partsToDate
(parts: DateTimeFormatPart[])
datetime/_date_time_formatter.ts:559
↓ 2 callers
Function
passStringToWasm0
(arg, malloc, realloc)
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:61
↓ 2 callers
Method
peek
* Returns the value associated with the given key, or `undefined` if the * key is not present, **without** resetting its TTL. * * This is the
cache/ttl_cache.ts:262
↓ 2 callers
Method
peek
* Get the greatest value from the binary heap without removing it, or * undefined if the heap is empty. * * The complexity of this operation
data_structures/binary_heap.ts:264
↓ 2 callers
Method
peekFront
* Return the front element without removing it, or `undefined` if the deque * is empty. * * @example Peeking at the front * ```ts * imp
data_structures/deque.ts:434
↓ 2 callers
Function
permutations
(inputArray: Iterable<T>)
collections/permutations.ts:29
↓ 2 callers
Function
pooledMapSettled
( array: Iterable<T> | AsyncIterable<T>, iteratorFn: (data: T) => R | Promise<R>, options: PooledMapSett
async/unstable_pool_settled.ts:87
↓ 2 callers
Method
pop
* Remove and return the front entry (smallest priority), or `undefined` * if the heap is empty. The returned entry is removed from the heap so *
data_structures/unstable_indexed_heap.ts:600
↓ 2 callers
Function
posixMatch
(glob: string, path: string, options?: GlobOptions)
path/glob_to_regexp_test.ts:7
↓ 2 callers
Function
prng
()
random/between_test.ts:101
↓ 2 callers
Method
pushToUpdateQueue
Tracks the order of snapshots for writing the file.
expect/_snapshot_state.ts:424
↓ 2 callers
Function
randomBetween
( min: number, max: number, options?: RandomOptions, )
random/between.ts:27
↓ 2 callers
Function
randomId
()
fs/_utils.ts:64
↓ 2 callers
Method
read
* Read the file into an array buffer (`p`). * * Resolves to either the number of bytes read during the operation or EOF * (`null`) if there w
fs/unstable_types.ts:319
↓ 2 callers
Method
readFrom
* Reads data from `r` until EOF (`null`) and appends it to the buffer, * growing the buffer as needed. It resolves to the number of bytes read.
io/buffer.ts:428
↓ 2 callers
Method
readFromSync
Reads data from `r` until EOF (`null`) and appends it to the buffer, * growing the buffer as needed. It returns the number of bytes read. If the
io/buffer.ts:474
↓ 2 callers
Method
readIndent
()
yaml/_loader_state.ts:266
↓ 2 callers
Method
readLine
()
csv/_io.ts:55
↓ 2 callers
Function
readName
()
xml/_parse_sync.ts:682
↓ 2 callers
Function
readerFromStreamReader
( streamReader: ReadableStreamDefaultReader<Uint8Array>, )
io/reader_from_stream_reader.ts:25
↓ 2 callers
Function
reduceGroups
( record: Readonly<Record<string, ReadonlyArray<T>>>, reducer: (accumulator: A, current: T) => A, initia
collections/reduce_groups.ts:40
↓ 2 callers
Function
regExpFromTrimPattern
(t: TemplateStringsArray, pattern: TrimPattern)
text/unstable_trim_by.ts:152
↓ 2 callers
Method
register
(target: WeakKey, heldValue: T)
cache/_serialize_arg_list_test.ts:161
↓ 2 callers
Method
registerTeardown
Registers a teardown listener to write snapshots when tests complete.
expect/_snapshot_state.ts:429
↓ 2 callers
Method
registerTest
This is used internally to register tests.
testing/_test_suite.ts:250
↓ 2 callers
Method
removeFirst
* Remove and return the first element matching the predicate, scanning from * front to back. The gap is closed by shifting whichever side (front or
data_structures/deque.ts:331
↓ 2 callers
Function
rename
( oldpath: string | URL, newpath: string | URL, )
fs/unstable_rename.ts:31
↓ 2 callers
Function
renameSync
(oldpath: string | URL, newpath: string | URL)
fs/unstable_rename.ts:70
↓ 2 callers
Function
repeat
(source: Uint8Array, count: number)
bytes/repeat.ts:36
↓ 2 callers
Function
repeat
(c: string, bytes: number)
io/buffer_test.ts:77
↓ 2 callers
Function
repeat
( parser: ParserComponent<T>, )
toml/_parser.ts:358
↓ 2 callers
Function
resolve
(...pathSegments: string[])
path/windows/resolve.ts:25
↓ 2 callers
Function
resolveSymlinkTarget
(target: string | URL, linkName: string | URL)
fs/ensure_symlink.ts:9
↓ 2 callers
Function
restoreGlobals
()
testing/time.ts:220
← previous
next →
701–800 of 2,890, ranked by callers