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
encodeAttributeValue
(value: string)
xml/_entities.ts:177
↓ 2 callers
Function
encodeCborSequence
(values: CborType[])
cbor/encode_cbor_sequence.ts:37
↓ 2 callers
Function
encodeEntities
(text: string)
xml/_entities.ts:165
↓ 2 callers
Function
encodeNumber
( input: number, output: Uint8Array, offset: number, )
cbor/_common_encode.ts:126
↓ 2 callers
Function
encodeRandom
()
ulid/test.ts:140
↓ 2 callers
Function
encodeVarint
( num: bigint | number, buf: Uint8Array = new Uint8Array(MaxVarintLen64), offset = 0, )
encoding/varint.ts:219
↓ 2 callers
Function
ensureSymlink
( target: string | URL, linkName: string | URL, )
fs/ensure_symlink.ts:58
↓ 2 callers
Function
ensureSymlinkSync
( target: string | URL, linkName: string | URL, )
fs/ensure_symlink.ts:136
↓ 2 callers
Function
escape
(str: string)
regexp/escape.ts:92
↓ 2 callers
Function
escape
(str: string)
html/entities.ts:43
↓ 2 callers
Function
escapeSequence
(scanner: Scanner)
toml/_parser.ts:421
↓ 2 callers
Function
escapeStringForJs
(str: string)
expect/_snapshot_state.ts:103
↓ 2 callers
Function
escapeStringForJs
(str: string)
testing/_snapshot_utils.ts:50
↓ 2 callers
Function
exists
( path: string | URL, options?: ExistsOptions, )
fs/exists.ts:124
↓ 2 callers
Function
expandGlob
( glob: string | URL, options?: ExpandGlobOptions, )
fs/expand_glob.ts:271
↓ 2 callers
Method
explicitTypes
(_x: number, _y: string)
testing/_test_utils.ts:17
↓ 2 callers
Function
exponentialBackoffWithJitter
( cap: number, base: number, attempt: number, multiplier: number, jitter: number, )
async/_util.ts:4
↓ 2 callers
Function
failingSource
()
async/unstable_pool_settled_test.ts:213
↓ 2 callers
Function
fakeSetTimeout
( callback: string | ((...args: unknown[]) => unknown), delay = 0, ...args: unknown[] )
testing/time.ts:141
↓ 2 callers
Function
fetchUnicodeData
(filename: string, version: string)
cli/_tools/generate_data.ts:31
↓ 2 callers
Function
fileIsReadable
(stat: Deno.FileInfo)
fs/exists.ts:305
↓ 2 callers
Function
filter
(a: Loose, b: Loose)
assert/object_match.ts:64
↓ 2 callers
Function
filterEntries
( record: Readonly<Record<string, T>>, predicate: (entry: [string, T]) => boolean, )
collections/filter_entries.ts:34
↓ 2 callers
Function
filterKeys
( record: Readonly<Record<string, T>>, predicate: (key: string) => boolean, )
collections/filter_keys.ts:38
↓ 2 callers
Function
filterObject
(a: Loose, b: Loose)
assert/object_match.ts:68
↓ 2 callers
Function
filterValues
( record: Readonly<Record<string, T>>, predicate: (value: T) => boolean, )
collections/filter_values.ts:37
↓ 2 callers
Method
findMaxNode
()
data_structures/_binary_search_node.ts:45
↓ 2 callers
Function
findSingle
( array: Iterable<T>, predicate: (el: T, index: number) => boolean, )
collections/find_single.ts:45
↓ 2 callers
Method
findSuccessorNode
()
data_structures/_binary_search_node.ts:51
↓ 2 callers
Function
firstNotNullishOf
( array: Iterable<T>, selector: (item: T, index: number) => O | undefined | null, )
collections/first_not_nullish_of.ts:46
↓ 2 callers
Method
flush
Clears the debounce timeout and calls the debounced function immediately.
async/debounce.ts:14
↓ 2 callers
Method
fmtFloatE
* Format float E * @param n * @param upcase
fmt/printf.ts:712
↓ 2 callers
Method
fmtFloatF
* Format float F * @param n
fmt/printf.ts:754
↓ 2 callers
Method
fmtNumber
* Format a number * @param n * @param radix * @param upcase
fmt/printf.ts:606
↓ 2 callers
Function
fn
()
assert/equals_test.ts:35
↓ 2 callers
Function
fn
()
testing/snapshot_test.ts:92
↓ 2 callers
Function
format
(v: unknown)
internal/format.ts:36
↓ 2 callers
Function
format
( num: number, options: FormatOptions = {}, )
fmt/bytes.ts:118
↓ 2 callers
Function
formatMediaType
( type: string, param?: Record<string, string> | Iterable<[string, string]>, )
media_types/format_media_type.ts:37
↓ 2 callers
Function
formatTestError
(string: string)
testing/snapshot_test.ts:32
↓ 2 callers
Function
formatter
(x)
cli/unstable_progress_bar_test.ts:132
↓ 2 callers
Method
fromTestFile
(testFilePath: string)
expect/_snapshot_state.ts:350
↓ 2 callers
Function
func
()
yaml/parse_test.ts:104
↓ 2 callers
Function
gen
()
async/abortable_test.ts:166
↓ 2 callers
Function
gen123
()
async/mux_async_iterator_test.ts:5
↓ 2 callers
Function
generateNextLine
(indent: number, level: number)
yaml/_dumper_state.ts:115
↓ 2 callers
Function
generateRandomString
(min: number, max: number)
text/_test_util.ts:5
↓ 2 callers
Function
generator
()
async/tee.ts:94
↓ 2 callers
Function
getArrayU8FromWasm0
(ptr, len)
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:109
↓ 2 callers
Function
getAvailablePort
(options?: GetAvailablePortOptions)
net/get_available_port.ts:55
↓ 2 callers
Function
getCharset
(type: string)
media_types/get_charset.ts:28
↓ 2 callers
Method
getColonIndex
* Get the colon index in the attribute name (-1 if no namespace prefix). * This allows consumers to parse namespace prefixes without string allocat
xml/types.ts:391
↓ 2 callers
Method
getColumnNumber
()
testing/unstable_snapshot.ts:46
↓ 2 callers
Method
getCount
Gets the snapshot count for a test name and increments it.
expect/_snapshot_state.ts:395
↓ 2 callers
Function
getCustomEqualityTesters
()
expect/_custom_equality_tester.ts:17
↓ 2 callers
Function
getEnumerableKeys
(obj: object)
async/all_keyed.ts:7
↓ 2 callers
Function
getIsUpdate
()
expect/_snapshot_state.ts:140
↓ 2 callers
Method
getLineNumber
()
testing/unstable_snapshot.ts:45
↓ 2 callers
Function
getNetworkAddress
( family: Deno.NetworkInterfaceInfo["family"] = "IPv4", )
net/unstable_get_network_address.ts:36
↓ 2 callers
Function
getNodeUtil
()
fs/_utils.ts:55
↓ 2 callers
Function
getOpenFsFlag
(opt: OpenBooleanOptions)
fs/_get_fs_flag.ts:46
↓ 2 callers
Function
getOptions
( msgOrOpts?: string | T, )
testing/_snapshot_utils.ts:81
↓ 2 callers
Function
getSession
()
testing/_mock_utils.ts:28
↓ 2 callers
Function
getSignParams
( algorithm: SignatureAlgorithm, )
http/unstable_message_signatures.ts:290
↓ 2 callers
Function
getSnapshotNotMatchMessage
( actualSnapshot: string, expectedSnapshot: string, options: SnapshotOptions, )
testing/_snapshot_utils.ts:93
↓ 2 callers
Function
getStringFromWasm0
(ptr, len)
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:33
↓ 2 callers
Function
getSymlinkOption
( type: PathType | undefined, )
fs/ensure_symlink.ts:18
↓ 2 callers
Function
getTargetValue
(target: Record<string, unknown>, keys: string[])
toml/_parser.ts:169
↓ 2 callers
Method
getValue
Get the decoded attribute value at the given index.
xml/types.ts:385
↓ 2 callers
Function
gray
(str: string)
internal/styles.ts:148
↓ 2 callers
Function
greaterThan
(version1: SemVer, version2: SemVer)
semver/greater_than.ts:29
↓ 2 callers
Function
handlePromptSelect
( message: string, indicator: string, values: PromptEntry<V>[], clear: boolean | undefined, visibleL
cli/_prompt_select.ts:29
↓ 2 callers
Method
handleWidthOrPrecisionRef
* Handle width or precision * @param wOrP
fmt/printf.ts:345
↓ 2 callers
Function
hookFns
()
testing/bdd_test.ts:46
↓ 2 callers
Function
html
( strings: TemplateStringsArray, ...values: unknown[] )
html/unstable_html.ts:63
↓ 2 callers
Function
ifNoneMatch
( value: string | null, etag: string | undefined, )
http/etag.ts:252
↓ 2 callers
Function
include
( path: string, exts?: string[], match?: RegExp[], skip?: RegExp[], )
fs/walk.ts:13
↓ 2 callers
Method
increment
()
random/_pcg32.ts:76
↓ 2 callers
Function
incrementBase32
(str: string)
ulid/_util.ts:44
↓ 2 callers
Function
indexOf
(s: Iterable<T>, fn: (s: T) => boolean)
media_types/_util.ts:93
↓ 2 callers
Function
indexOfNeedle
( source: Uint8Array, needle: Uint8Array, start = 0, )
bytes/index_of_needle.ts:47
↓ 2 callers
Function
inferAlgorithm
(key: CryptoKey)
http/unstable_message_signatures.ts:309
↓ 2 callers
Function
integer
(value: number)
http/unstable_structured_fields.ts:157
↓ 2 callers
Function
isAbsolute
(path: string)
path/is_absolute.ts:28
↓ 2 callers
Function
isBufferSource
(obj: unknown)
crypto/crypto.ts:337
↓ 2 callers
Method
isCurrentCharEOL
()
toml/_parser.ts:122
↓ 2 callers
Function
isIPv6
(addr: string)
net/unstable_ip.ts:56
↓ 2 callers
Function
isIllegalLiteralChar
(code: number)
xml/_parse_sync.ts:107
↓ 2 callers
Function
isInnerList
( member: Item | InnerList, )
http/unstable_structured_fields.ts:416
↓ 2 callers
Function
isIterable
(obj: unknown)
crypto/crypto.ts:341
↓ 2 callers
Function
isIterator
(obj: unknown)
media_types/_util.ts:104
↓ 2 callers
Function
isKeyChar
Check if character is valid within a key (lcalpha / DIGIT / "_" / "-" / "." / "*")
http/unstable_structured_fields.ts:472
↓ 2 callers
Function
isKeyStart
Check if character is valid at the start of a key (lcalpha or "*")
http/unstable_structured_fields.ts:467
↓ 2 callers
Function
isLcalpha
Check if character is lowercase alphabetic (a-z)
http/unstable_structured_fields.ts:461
↓ 2 callers
Function
isLikeNone
(x)
crypto/_wasm/lib/deno_std_wasm_crypto.internal.mjs:99
↓ 2 callers
Function
isNumber
(string: string)
cli/parse_args.ts:438
↓ 2 callers
Function
isObject
(value: unknown)
toml/_parser.ts:165
↓ 2 callers
Function
isObject
(val: unknown)
assert/object_match.ts:51
↓ 2 callers
Function
isPlainObject
(object: unknown)
ini/stringify.ts:35
↓ 2 callers
Function
isPlainSafe
* @return `true` if value is allowed after the first character in plain style, `false` otherwise.
yaml/_dumper_state.ts:135
← previous
next →
601–700 of 2,890, ranked by callers