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
↓ 4 callers
Method
nextAsync
* Runs all pending microtasks then advances time to when the next scheduled timer is due. * If there are no pending timers, time will not be change
testing/time.ts:745
↓ 4 callers
Function
normalize
(path: string | URL)
path/normalize.ts:31
↓ 4 callers
Function
numberToArray
(bytes: number, x: number | bigint)
cbor/_common.ts:5
↓ 4 callers
Method
padNum
* Pad a number * @param nStr * @param neg
fmt/printf.ts:568
↓ 4 callers
Function
parse
(text: string)
dotenv/parse.ts:77
↓ 4 callers
Function
parseMediaType
( type: string, )
media_types/parse_media_type.ts:36
↓ 4 callers
Function
parseXmlRecords
( source: AsyncIterable<string>, createCallbacks: (emit: (record: T) => void) => XmlEventCallbacks, opti
xml/parse_records.ts:84
↓ 4 callers
Function
partition
( array: Iterable<unknown>, predicate: (el: unknown, index: number) => boolean, )
collections/partition.ts:85
↓ 4 callers
Method
readDocuments
( options: { singleDocument?: boolean } = {}, )
yaml/_loader_state.ts:1844
↓ 4 callers
Function
readTextFile
( path: string | URL, options?: ReadFileOptions, )
fs/unstable_read_text_file.ts:30
↓ 4 callers
Method
reset
* Resets the contents * * @example Usage * ```ts * import { Buffer } from "@std/io/buffer"; * import { assertEquals } from "@std/assert
io/buffer.ts:200
↓ 4 callers
Method
reset
* Resets to an empty buffer. * * @example Basic usage * ```ts * import { assert } from "@std/assert"; * import { Buffer } from "@std/st
streams/buffer.ts:346
↓ 4 callers
Function
satisfies
(version: SemVer, range: Range)
semver/satisfies.ts:28
↓ 4 callers
Function
serializeDictionary
(dict: Dictionary)
http/unstable_structured_fields.ts:1197
↓ 4 callers
Method
skipWhitespaces
()
yaml/_loader_state.ts:247
↓ 4 callers
Method
stop
* Stops the spinner. * * @example Usage * ```ts ignore * import { Spinner } from "@std/cli/unstable-spinner"; * * const spinner = ne
cli/unstable_spinner.ts:261
↓ 4 callers
Function
stringify
( data: readonly DataItem[], options?: StringifyOptions, )
csv/stringify.ts:428
↓ 4 callers
Function
takeFromExternrefTable0
(idx)
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:103
↓ 4 callers
Method
testDocumentSeparator
()
yaml/_loader_state.ts:595
↓ 4 callers
Method
truncate
* Truncates (or extends) the file to reach the specified `len`. If `len` is * not specified, then the entire file contents are truncated. * *
fs/unstable_types.ts:479
↓ 4 callers
Function
unreachable
(msg?: string)
assert/unreachable.ts:18
↓ 4 callers
Method
update
(&mut self, data: js_sys::Uint8Array)
crypto/_wasm/src/lib.rs:54
↓ 4 callers
Function
validatePubidLiteral
( value: string, quote: string, )
xml/_common.ts:514
↓ 4 callers
Function
validateQName
(name: string, colonIndex: number)
xml/_common.ts:420
↓ 4 callers
Function
writeAll
(writer: Writer, data: Uint8Array)
io/write_all.ts:31
↓ 4 callers
Method
writeSync
* Writes the given data to the buffer. * * @example Usage * ```ts * import { Buffer } from "@std/io/buffer"; * import { assertEquals }
io/buffer.ts:309
↓ 3 callers
Method
#clearCounters
Resets both counters and the rotation timestamp.
async/unstable_circuit_breaker.ts:720
↓ 3 callers
Method
#copyBuffer
(source: Deque<T>, capacity: number)
data_structures/deque.ts:781
↓ 3 callers
Method
#decodeZero
(aI: number)
cbor/sequence_decoder_stream.ts:241
↓ 3 callers
Method
#findIndex
(predicate: (value: T, index: number) => boolean)
data_structures/deque.ts:800
↓ 3 callers
Method
#findNode
(value: T)
data_structures/binary_search_tree.ts:324
↓ 3 callers
Method
#getNext
Read the next token. If the token is read to the end, it throws a SyntaxError.
jsonc/parse.ts:85
↓ 3 callers
Method
#nextSender
Pops the next sender from the queue.
async/channel.ts:693
↓ 3 callers
Method
#parseJsonValue
(value: Token)
jsonc/parse.ts:191
↓ 3 callers
Method
#siftUp
Bubble the entry at `pos` up toward the root while it is smaller than its parent.
data_structures/unstable_indexed_heap.ts:488
↓ 3 callers
Function
_format
( sep: string, pathObject: Partial<ParsedPath>, )
path/_common/format.ts:6
↓ 3 callers
Function
abortable
( p: Promise<T> | AsyncIterable<T>, signal: AbortSignal, )
async/abortable.ts:116
↓ 3 callers
Function
assertHasExampleTag
( document: { jsDoc: JsDoc; location: Location }, )
_tools/check_docs.ts:166
↓ 3 callers
Function
assertLessOrEqual
( actual: T, expected: T, msg?: string, )
assert/less_or_equal.ts:24
↓ 3 callers
Function
buildEqualErrorMessage
( actual: T, expected: T, options: EqualErrorMessageOptions = {}, )
expect/_build_message.ts:27
↓ 3 callers
Function
buildEqualOptions
(options: EqualOptionUtil)
expect/_utils.ts:8
↓ 3 callers
Method
bytes
* Returns a slice holding the unread portion of the buffer. * * The slice is valid for use only until the next buffer modification (that * is
streams/buffer.ts:195
↓ 3 callers
Function
check
(buf: Buffer, s: string)
io/buffer_test.ts:29
↓ 3 callers
Method
checkAssertionErrorState
* Check Assertion internal state, if `#state.assertionCheck` is set true, but * `#state.assertionTriggered` is still false, then should throw an As
internal/assertion_state.ts:182
↓ 3 callers
Function
checkPriority
* Throws if `priority` is the literal `NaN` value, which would silently * corrupt the heap (`NaN` compares as neither less, greater, nor equal). *
data_structures/unstable_indexed_heap.ts:52
↓ 3 callers
Function
chunk
( iterable: Iterable<T>, size: number, )
collections/chunk.ts:40
↓ 3 callers
Method
close
(...args: [reason: unknown] | [])
async/channel.ts:487
↓ 3 callers
Function
configureGlobalSanitizers
( options: ConfigureGlobalSanitizersOptions, )
testing/unstable_bdd.ts:132
↓ 3 callers
Function
consumeToken
(v: string)
media_types/_util.ts:10
↓ 3 callers
Function
copyFile
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:100
↓ 3 callers
Function
copyFileSync
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:115
↓ 3 callers
Function
createSignatureBase
( options: CreateSignatureBaseOptions, )
http/unstable_message_signatures.ts:705
↓ 3 callers
Function
createStandardResponse
(status: StatusCode, init?: ResponseInit)
http/file_server.ts:104
↓ 3 callers
Function
createWalkEntry
(path: string | URL)
fs/_create_walk_entry.ts:33
↓ 3 callers
Function
createWalkEntrySync
(path: string | URL)
fs/_create_walk_entry.ts:18
↓ 3 callers
Function
deadline
( p: Promise<T>, ms: number, options: DeadlineOptions = {}, )
async/deadline.ts:42
↓ 3 callers
Function
decodeBase64
(b64: string)
encoding/base64.ts:84
↓ 3 callers
Function
decodeHex
(src: string)
encoding/hex.ts:89
↓ 3 callers
Function
decodeSlice
* Given a uint8array which contains a msgpack object, * return the value of the object as well as how many bytes * were consumed in obtaining this o
msgpack/decode.ts:109
↓ 3 callers
Function
deepAssign
( target: Record<string, unknown>, body: Block | Table | TableArray, )
toml/_parser.ts:231
↓ 3 callers
Function
describeTextureFormat
( format: GPUTextureFormat, )
webgpu/describe_texture_format.ts:50
↓ 3 callers
Function
distinctBy
( array: Iterable<T>, discriminator: (el: T, index: number) => D, )
collections/distinct_by.ts:41
↓ 3 callers
Method
drain
* Create an iterator that retrieves values from the binary heap in order * from greatest to least. The binary heap is drained in the process. *
data_structures/binary_heap.ts:421
↓ 3 callers
Function
encodeBase32
(data: ArrayBuffer | Uint8Array | string)
encoding/base32.ts:54
↓ 3 callers
Function
encodeString
( input: string, output: Uint8Array, offset: number, )
cbor/_common_encode.ts:190
↓ 3 callers
Function
encodeTime
(timestamp: number)
ulid/_util.ts:20
↓ 3 callers
Function
encodeWhitespace
(string: string)
path/_common/to_file_url.ts:13
↓ 3 callers
Function
ensureValidCopy
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:44
↓ 3 callers
Function
ensureValidCopySync
( src: string | URL, dest: string | URL, options: InternalCopyOptions, )
fs/copy.ts:72
↓ 3 callers
Method
eof
()
yaml/_loader_state.ts:205
↓ 3 callers
Method
execute
* Executes a function through the circuit breaker. * * The function can be synchronous or asynchronous. The result is always * returned as a
async/unstable_circuit_breaker.ts:560
↓ 3 callers
Method
findMinNode
()
data_structures/_binary_search_node.ts:39
↓ 3 callers
Method
fmtFloatSpecial
* Format special float * @param n
fmt/printf.ts:661
↓ 3 callers
Function
formatRange
(range: Range)
semver/format_range.ts:29
↓ 3 callers
Method
formatToParts
(string: string)
datetime/_date_time_formatter.ts:323
↓ 3 callers
Function
getAssertionState
()
internal/assertion_state.ts:244
↓ 3 callers
Function
getEntrypoints
()
_tools/utils.ts:20
↓ 3 callers
Function
getErrorMessage
(message: string, options: SnapshotOptions)
testing/_snapshot_utils.ts:7
↓ 3 callers
Method
getFileName
()
testing/unstable_snapshot.ts:44
↓ 3 callers
Function
getIndent
(line: string)
internal/truncate_build_message.ts:163
↓ 3 callers
Function
getIsUpdate
(options: SnapshotOptions)
testing/_snapshot_utils.ts:77
↓ 3 callers
Method
getName
Get the raw attribute name at the given index.
xml/types.ts:382
↓ 3 callers
Function
getPackagesDenoJsons
()
_tools/utils.ts:13
↓ 3 callers
Function
getRandomValuesSeeded
( seed: bigint, )
random/get_random_values_seeded.ts:27
↓ 3 callers
Function
getRowPadding
(width: number)
webgpu/row_padding.ts:35
↓ 3 callers
Function
getSchema
( schema: SchemaType = "default", types?: ImplicitType[], )
yaml/_schema.ts:169
↓ 3 callers
Function
getUint8ArrayMemory0
()
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:24
↓ 3 callers
Function
gray
(str: string)
fmt/colors.ts:434
↓ 3 callers
Method
grow
Grows the buffer's capacity, if necessary, to guarantee space for * another `n` bytes. After `.grow(n)`, at least `n` bytes can be written to *
io/buffer.ts:397
↓ 3 callers
Method
ignore
Registers an individual test case with ignore set to true.
testing/bdd.ts:574
↓ 3 callers
Function
init
()
io/buffer_test.ts:18
↓ 3 callers
Function
inspectArgs
(args: unknown[])
expect/_inspect_args.ts:4
↓ 3 callers
Function
intersect
(...iterables: Iterable<T>[])
collections/intersect.ts:27
↓ 3 callers
Function
isAlpha
Check if character is alphabetic (A-Z or a-z)
http/unstable_structured_fields.ts:448
↓ 3 callers
Function
isCharCodeInRange
(c: number, lower: number, upper: number)
yaml/_type/int.ts:9
↓ 3 callers
Function
isConfigurable
(obj, name)
jsonc/testdata/test262/propertyHelper.js:106
↓ 3 callers
Function
isDigit
Check if character is a digit (0-9)
http/unstable_structured_fields.ts:455
↓ 3 callers
Function
isEnumerable
(obj, name)
jsonc/testdata/test262/propertyHelper.js:118
↓ 3 callers
Method
isEval
()
testing/unstable_snapshot.ts:43
↓ 3 callers
Function
isFlowIndicator
(c: number)
yaml/_chars.ts:47
← previous
next →
301–400 of 2,890, ranked by callers