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
↓ 3 callers
Function
isGlob
(str: string)
path/is_glob.ts:19
↓ 3 callers
Function
isIllegalXmlLiteralChar
( code: number, xml11: boolean, )
xml/_common.ts:21
↓ 3 callers
Function
isItem
(member: Item | InnerList)
http/unstable_structured_fields.ts:394
↓ 3 callers
Function
isNameStartChar
(code: number)
xml/_name_chars.ts:131
↓ 3 callers
Function
isNegativeZero
(i: number)
yaml/_utils.ts:10
↓ 3 callers
Function
isObject
(a: unknown)
expect/_utils.ts:39
↓ 3 callers
Function
isObject
(value: unknown)
yaml/_utils.ts:6
↓ 3 callers
Function
isPlainObject
(object: unknown)
yaml/_utils.ts:14
↓ 3 callers
Function
isPrintable
* @link https://yaml.org/spec/1.2.2/ 5.1. Character Set * @return `true` if the character is printable without escaping, `false` otherwise.
yaml/_dumper_state.ts:123
↓ 3 callers
Function
isSamePath
( src: string | URL, dest: string | URL, )
fs/_is_same_path.ts:15
↓ 3 callers
Function
isSameValue
(a, b)
jsonc/testdata/test262/propertyHelper.js:138
↓ 3 callers
Function
isSpy
( func: ((this: Self, ...args: Args) => Return) | unknown, )
testing/_mock_utils.ts:13
↓ 3 callers
Function
isTSpecial
(r: string)
media_types/_util.ts:128
↓ 3 callers
Function
isValidNumber
(value: unknown)
semver/_shared.ts:144
↓ 3 callers
Function
isWritable
(obj, name, verifyProp, value)
jsonc/testdata/test262/propertyHelper.js:146
↓ 3 callers
Function
itemsEqual
(a: Item, b: Item)
http/unstable_structured_fields_test.ts:859
↓ 3 callers
Function
lastPathSegment
( path: string, isSep: (char: number) => boolean, start = 0, )
path/_common/basename.ts:22
↓ 3 callers
Function
lessThan
(version1: SemVer, version2: SemVer)
semver/less_than.ts:28
↓ 3 callers
Method
lnrValues
* Create an iterator over this tree that traverses the tree in-order (LNR, * Left-Node-Right). * * @example Using the in-order LNR iterator
data_structures/binary_search_tree.ts:602
↓ 3 callers
Function
mapEntries
( record: Readonly<Record<string, T>>, transformer: (entry: [string, T]) => [string, O], )
collections/map_entries.ts:39
↓ 3 callers
Function
mapValues
( record: Record<K, T>, transformer: (value: T, key: K) => O, // deno-lint-ignore no-explicit-any )
collections/map_values.ts:80
↓ 3 callers
Function
nextFloat64
(getRandomValues: RandomValueGenerator)
random/next_float_64.ts:41
↓ 3 callers
Method
nextUint32
@returns The next pseudo-random 32-bit integer.
random/_pcg32.ts:112
↓ 3 callers
Function
normalizeExtent3D
(size: GPUExtent3D)
webgpu/texture_with_data.ts:23
↓ 3 callers
Function
parseItem
(input: string)
http/unstable_structured_fields.ts:704
↓ 3 callers
Function
parseItemInternal
(state: ParserState)
http/unstable_structured_fields.ts:756
↓ 3 callers
Function
parseList
(input: string)
http/unstable_structured_fields.ts:570
↓ 3 callers
Function
parseParameters
(state: ParserState)
http/unstable_structured_fields.ts:1113
↓ 3 callers
Method
push
* Insert a new key with the given priority. Throws if the key already * exists — use {@linkcode IndexedHeap.prototype.set | set} for upsert * se
data_structures/unstable_indexed_heap.ts:565
↓ 3 callers
Function
randomIntegerBetween
( min: number, max: number, options?: RandomOptions, )
random/integer_between.ts:28
↓ 3 callers
Method
readLineBreak
()
yaml/_loader_state.ts:541
↓ 3 callers
Method
readSync
* Synchronously read from the file into an array buffer (`p`). * * Returns either the number of bytes read during the operation or EOF * (`nu
fs/unstable_types.ts:342
↓ 3 callers
Function
readTextFileSync
( path: string | URL, )
fs/unstable_read_text_file.ts:71
↓ 3 callers
Method
receive
* Receives a value from the channel. Suspends if the buffer is empty. * Multiple concurrent calls are supported; each value is delivered to * ex
async/channel.ts:347
↓ 3 callers
Function
registerMock
(spy: Spy<any, any[], any>)
testing/_mock_utils.ts:34
↓ 3 callers
Method
release
* Releases a permit, allowing the next waiter to proceed. * * @example Usage * ```ts no-assert * import { Semaphore } from "@std/async/uns
async/unstable_semaphore.ts:138
↓ 3 callers
Method
reset
* Resets the lazy so the next {@linkcode get} re-runs the initializer. Does * not cancel an in-flight initialization; callers that already have the
async/lazy.ts:223
↓ 3 callers
Method
resetAssertionState
* Reset all assertion state when every test suite function ran completely. * * @example Usage * ```ts ignore * import { AssertionState } f
internal/assertion_state.ts:197
↓ 3 callers
Function
resolveOptions
(opts?: BaseTitleCaseOptions)
text/_title_case_util.ts:42
↓ 3 callers
Method
restoreFor
* Restores real time temporarily until callback returns and resolves. * * @throws {TimeError} If time is not faked * * @example Usage *
testing/time.ts:432
↓ 3 callers
Function
reverse
( input: string, options?: Partial<ReverseOptions>, )
text/unstable_reverse.ts:66
↓ 3 callers
Function
serialize
(actual: unknown)
expect/_snapshot_state.ts:88
↓ 3 callers
Function
serializeItemInternal
(item: Item)
http/unstable_structured_fields.ts:1248
↓ 3 callers
Function
serializeParameters
(parameters: Parameters)
http/unstable_structured_fields.ts:1401
↓ 3 callers
Function
serializeValue
* Recursively serializes a JSON value to its canonical string representation. * * @param value The JSON value to serialize * @param ancestors Stack
json/canonicalize.ts:71
↓ 3 callers
Function
serveFile
( req: Request, filePath: string, options?: ServeFileOptions, )
http/file_server.ts:183
↓ 3 callers
Method
setRaw
* Set TTY to be under raw mode or not. In raw mode, characters are read and * returned as is, without being processed. All special processing of
fs/unstable_types.ts:357
↓ 3 callers
Method
skipComment
()
yaml/_loader_state.ts:255
↓ 3 callers
Function
skipWhitespace
()
xml/_parse_sync.ts:180
↓ 3 callers
Function
slidingWindows
( iterable: Iterable<T>, size: number, options: SlidingWindowsOptions = {}, )
collections/sliding_windows.ts:69
↓ 3 callers
Function
stripSuffix
(name: string, suffix: string)
path/_common/basename.ts:6
↓ 3 callers
Function
testComparatorSet
(version: SemVer, set: Comparator[])
semver/_test_comparator_set.ts:35
↓ 3 callers
Function
titleCaseSegment
( s: string, opts: ResolvedOptions, _cache = titleCaseCache, )
text/_title_case_util.ts:99
↓ 3 callers
Method
toBe
* Asserts that the value is equal to the specified value. * @param expected The expected value. * * @example Usage * ```ts * import { e
expect/_types.ts:393
↓ 3 callers
Method
toJSON
* Converts the current instance to a JSON representation. * * @example Usage * ```ts ignore * import { UserAgent } from "@std/http/user-ag
http/user_agent.ts:1157
↓ 3 callers
Function
toKebabCase
(input: string)
text/to_kebab_case.ts:20
↓ 3 callers
Function
truncateDiff
( diffResult: ReadonlyArray<DiffResult<string>>, stringDiff: boolean, contextLength?: number | null, )
internal/truncate_build_message.ts:68
↓ 3 callers
Function
umask
(mask?: number)
fs/unstable_umask.ts:28
↓ 3 callers
Function
unflat
( keys: string[], values: unknown = { __proto__: null }, )
toml/_parser.ts:155
↓ 3 callers
Function
unregisterMock
(spy: Spy<any, any[], any>)
testing/_mock_utils.ts:40
↓ 3 callers
Function
validateBinaryLike
(source: unknown)
encoding/_validate_binary_like.ts:16
↓ 3 callers
Function
validateNamespaceBinding
( attrName: string, attrValue: string, xml11: boolean, )
xml/_common.ts:456
↓ 3 callers
Function
validateXmlDeclaration
( content: string, )
xml/_common.ts:177
↓ 3 callers
Function
walkSync
( root: string | URL, options?: WalkOptions, )
fs/walk.ts:878
↓ 3 callers
Function
withoutAll
(iterable: Iterable<T>, values: Iterable<T>)
collections/without_all.ts:28
↓ 3 callers
Function
write
(chunk, controller)
io/to_writable_stream.ts:41
↓ 3 callers
Method
write
* Write the contents of the array buffer (`p`) to the file. * * Resolves to the number of bytes written. * * **It is not guaranteed that t
fs/unstable_types.ts:550
↓ 3 callers
Function
writeFoldedLines
(count: number)
yaml/_loader_state.ts:179
↓ 3 callers
Function
writeTextFile
( path: string | URL, data: string | ReadableStream<string>, options?: WriteFileOptions, )
fs/unstable_write_text_file.ts:27
↓ 3 callers
Function
writeTextFileSync
( path: string | URL, data: string, options?: WriteFileOptions, )
fs/unstable_write_text_file.ts:78
↓ 2 callers
Method
#advanceState
* Advances the state machine, transitioning OPEN -> HALF_OPEN when * the cooldown has expired. No-op for other states.
async/unstable_circuit_breaker.ts:730
↓ 2 callers
Method
#advanceWithCode
(code: number)
xml/_tokenizer.ts:619
↓ 2 callers
Method
#bulkLoad
* Append all `[key, priority]` pairs and heapify in linear time. Used by * the constructor and by {@linkcode IndexedHeap.from} for the * non-`In
data_structures/unstable_indexed_heap.ts:470
↓ 2 callers
Method
#callIteratorNext
( iterator: AsyncIterator<T>, )
async/mux_async_iterator.ts:79
↓ 2 callers
Method
#deliverToReceiver
Hands `value` to the next waiting receiver, if any.
async/channel.ts:698
↓ 2 callers
Method
#dequeue
* Pops the head value from the ring buffer. If a sender is waiting, its * value is promoted into the freed slot.
async/channel.ts:709
↓ 2 callers
Method
#emitDeclaration
(target: string, content: string)
xml/_tokenizer.ts:718
↓ 2 callers
Method
#flushText
()
xml/_tokenizer.ts:488
↓ 2 callers
Method
#getCodePoint
* Get the full Unicode code point at the current buffer position. * Handles surrogate pairs for astral plane characters (U+10000+). * Returns [c
xml/_tokenizer.ts:439
↓ 2 callers
Method
#getCurrentSnapshotsInitialized
* Asserts that `this.#currentSnapshots` has been initialized and then returns it. * * Should only be called when `this.#currentSnapshots` has al
testing/snapshot.ts:338
↓ 2 callers
Method
#getTypeOfArray
(arr: unknown[])
toml/stringify.ts:108
↓ 2 callers
Method
#grow
(n: number)
io/buffer.ts:343
↓ 2 callers
Method
#grow
(n: number)
streams/buffer.ts:364
↓ 2 callers
Method
#insertNode
( Node: typeof BinarySearchNode, value: T, )
data_structures/binary_search_tree.ts:360
↓ 2 callers
Method
#isEOF
()
csv/parse.ts:70
↓ 2 callers
Method
#isNameCharCode
(code: number)
xml/_tokenizer.ts:422
↓ 2 callers
Method
#isNameStartCharCode
(code: number)
xml/_tokenizer.ts:412
↓ 2 callers
Method
#maybeGrow
()
data_structures/deque.ts:843
↓ 2 callers
Method
#parseString
(value: { type: "String"; sourceText: string; position: number; })
jsonc/parse.ts:296
↓ 2 callers
Method
#print
()
cli/unstable_progress_bar.ts:273
↓ 2 callers
Method
#printDate
(value: Date)
toml/stringify.ts:209
↓ 2 callers
Method
#read
()
tar/untar_stream.ts:195
↓ 2 callers
Method
#readDefinite
( items: number | bigint, )
cbor/sequence_decoder_stream.ts:167
↓ 2 callers
Method
#readGen
(bytes: bigint)
cbor/sequence_decoder_stream.ts:161
↓ 2 callers
Method
#realloc
(newCapacity: number)
data_structures/deque.ts:794
↓ 2 callers
Method
#receiveError
()
async/channel.ts:719
↓ 2 callers
Method
#removeAtUnchecked
Extract value, close the gap, update length, and optionally shrink.
data_structures/deque.ts:810
↓ 2 callers
Method
#removeNode
Removes the given node, and returns the node that was physically removed from the tree.
data_structures/binary_search_tree.ts:387
↓ 2 callers
Method
#rotateToNow
Advances both counters to the current time, evicting stale segments.
async/unstable_circuit_breaker.ts:709
↓ 2 callers
Method
#setMostRecentlyUsed
(key: K, value: V)
cache/lru_cache.ts:147
← previous
next →
401–500 of 2,890, ranked by callers