Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja_nodejs
/ functions
Functions
467 in github.com/dop251/goja_nodejs
⨍
Functions
467
◇
Types & classes
41
Function
TestURLSearchParams
(t *testing.T)
url/urlsearchparams_test.go:20
Function
TestUtil_Format
(t *testing.T)
util/module_test.go:11
Function
TestUtil_Format_LessArgs
(t *testing.T)
util/module_test.go:35
Function
TestUtil_Format_MoreArgs
(t *testing.T)
util/module_test.go:47
Function
TestUtil_Format_NoArgs
(t *testing.T)
util/module_test.go:23
Function
TestWrapBytes
(t *testing.T)
buffer/buffer_test.go:126
Method
Warn
Warn prints s to the stderr.
console/std_printer.go:31
Method
Warn
(string)
console/module.go:19
Function
WithPathResolver
WithPathResolver sets a function which will be used to resolve paths (see PathResolver). If not specified, the DefaultPathResolver is used.
require/module.go:88
Function
WithRegistry
(registry *require.Registry)
eventloop/eventloop.go:100
Method
[Symbol.iterator]
()
url/types/url.d.ts:359
Method
[Symbol.iterator]
()
global-types/globals.d.ts:6
Function
_deepStrictEqual
(actual, expected)
assert.js:86
Function
_isNumber
(val)
assert.js:12
Function
_isSameValue
(a, b)
assert.js:4
Function
_numberEquals
(a, b, precision = 1e-6)
assert.js:32
Function
_sameErrorCode
(expected)
assert.js:197
Function
_sameErrorMessage
(expected)
assert.js:203
Function
_sameErrorType
(expected)
assert.js:191
Function
_throws
(f, checks, message)
assert.js:174
Function
_toString
(value)
assert.js:16
Method
alloc
(call goja.FunctionCall)
buffer/buffer.go:361
Method
alloc
* Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled. * * ```js
buffer/types/buffer.buffer.d.ts:242
Function
assertBufferWriteRead
(buffer, writeMethod, readMethod, value, offset = 0)
buffer/testdata/assertions.js:16
Method
byteLength
* Returns the byte length of a string when encoded using `encoding`. * This is not the same as [`String.prototype.length`](https://develo
buffer/types/buffer.d.ts:104
Method
clearImmediate
(i *Immediate)
eventloop/eventloop.go:482
Method
compare
* Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of `Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
buffer/types/buffer.d.ts:126
Method
concat
(call goja.FunctionCall)
buffer/buffer.go:422
Method
concat
* Returns a new `Buffer` which is the result of concatenating all the `Buffer` instances in the `list` together. * * If the
buffer/types/buffer.buffer.d.ts:195
Method
ctor
(call goja.ConstructorCall)
buffer/buffer.go:139
Function
deepStrictEqual
(actual, expected, message)
assert.js:144
Method
doCancel
()
eventloop/eventloop.go:489
Method
equals
* Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`.
buffer/types/buffer.d.ts:263
Function
error_toString
(call goja.FunctionCall, r *goja.Runtime)
errors/errors.go:17
Method
from
(call goja.FunctionCall)
buffer/buffer.go:329
Function
init
()
console/module.go:70
Function
init
()
buffer/buffer.go:1245
Function
init
()
url/module.go:34
Function
init
()
process/module.go:35
Function
init
()
util/module.go:102
Method
isBuffer
* Returns `true` if `obj` is a `Buffer`, `false` otherwise. * * ```js * import { Buffer } from 'node:buffer';
buffer/types/buffer.d.ts:49
Method
isEncoding
* Returns `true` if `encoding` is the name of a supported character encoding, * or `false` otherwise. * * ```js
buffer/types/buffer.d.ts:73
Method
js_format
(call goja.FunctionCall)
util/module.go:71
Function
notDeepStrictEqual
(actual, expected, message)
assert.js:159
Function
notSameValue
(actual, unexpected, message)
assert.js:72
Method
proto_equals
(call goja.FunctionCall)
buffer/buffer.go:474
Method
proto_toString
(call goja.FunctionCall)
buffer/buffer.go:396
Method
readBigInt64BE
readBigInt64BE reads a big-endian 64-bit signed integer from the buffer
buffer/buffer.go:481
Method
readBigInt64BE
* Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`. * * Integers read from a `Buffer` are inte
buffer/types/buffer.d.ts:513
Method
readBigInt64LE
readBigInt64LE reads a little-endian 64-bit signed integer from the buffer
buffer/buffer.go:490
Method
readBigInt64LE
* Reads a signed, little-endian 64-bit integer from `buf` at the specified`offset`. * * Integers read from a `Buffer` are in
buffer/types/buffer.d.ts:523
Method
readBigUInt64BE
readBigUInt64BE reads a big-endian 64-bit unsigned integer from the buffer
buffer/buffer.go:499
Method
readBigUInt64BE
* Reads an unsigned, big-endian 64-bit integer from `buf` at the specified`offset`. * * This function is also available unde
buffer/types/buffer.d.ts:473
Method
readBigUInt64LE
readBigUInt64LE reads a little-endian 64-bit unsigned integer from the buffer
buffer/buffer.go:508
Method
readBigUInt64LE
* Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`. * * This function is also available u
buffer/types/buffer.d.ts:497
Method
readBigUint64BE
* @alias Buffer.readBigUInt64BE * @since v14.10.0, v12.19.0
buffer/types/buffer.d.ts:479
Method
readBigUint64LE
* @alias Buffer.readBigUInt64LE * @since v14.10.0, v12.19.0
buffer/types/buffer.d.ts:503
Method
readDoubleBE
readDoubleBE reads a big-endian 64-bit floating-point number from the buffer
buffer/buffer.go:517
Method
readDoubleBE
* Reads a 64-bit, big-endian double from `buf` at the specified `offset`. * * ```js * import { Buffer } from 'n
buffer/types/buffer.d.ts:915
Method
readDoubleLE
readDoubleLE reads a little-endian 64-bit floating-point number from the buffer
buffer/buffer.go:526
Method
readDoubleLE
* Reads a 64-bit, little-endian double from `buf` at the specified `offset`. * * ```js * import { Buffer } from
buffer/types/buffer.d.ts:899
Method
readFloatBE
readFloatBE reads a big-endian 32-bit floating-point number from the buffer
buffer/buffer.go:535
Method
readFloatBE
* Reads a 32-bit, big-endian float from `buf` at the specified `offset`. * * ```js * import { Buffer } from 'no
buffer/types/buffer.d.ts:881
Method
readFloatLE
readFloatLE reads a little-endian 32-bit floating-point number from the buffer
buffer/buffer.go:544
Method
readFloatLE
* Reads a 32-bit, little-endian float from `buf` at the specified `offset`. * * ```js * import { Buffer } from
buffer/types/buffer.d.ts:865
Method
readInt16BE
readInt16BE reads a big-endian 16-bit signed integer from the buffer
buffer/buffer.go:562
Method
readInt16BE
* Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. * * Integers read from a `Buffer` are inte
buffer/types/buffer.d.ts:809
Method
readInt16LE
readInt16LE reads a little-endian 16-bit signed integer from the buffer
buffer/buffer.go:571
Method
readInt16LE
* Reads a signed, little-endian 16-bit integer from `buf` at the specified`offset`. * * Integers read from a `Buffer` are in
buffer/types/buffer.d.ts:791
Method
readInt32BE
readInt32BE reads a big-endian 32-bit signed integer from the buffer
buffer/buffer.go:580
Method
readInt32BE
* Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. * * Integers read from a `Buffer` are inte
buffer/types/buffer.d.ts:847
Method
readInt32LE
readInt32LE reads a little-endian 32-bit signed integer from the buffer
buffer/buffer.go:589
Method
readInt32LE
* Reads a signed, little-endian 32-bit integer from `buf` at the specified`offset`. * * Integers read from a `Buffer` are in
buffer/types/buffer.d.ts:829
Method
readInt8
readInt8 reads an 8-bit signed integer from the buffer
buffer/buffer.go:553
Method
readInt8
* Reads a signed 8-bit integer from `buf` at the specified `offset`. * * Integers read from a `Buffer` are interpreted as tw
buffer/types/buffer.d.ts:771
Method
readIntBE
readIntBE reads a big-endian signed integer of variable byte length
buffer/buffer.go:598
Method
readIntBE
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a big-endian, two's complement signed value
buffer/types/buffer.d.ts:617
Method
readIntLE
readIntLE reads a little-endian signed integer of variable byte length
buffer/buffer.go:613
Method
readIntLE
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a little-endian, two's complement signed value
buffer/types/buffer.d.ts:595
Method
readUInt16BE
readUInt16BE reads a big-endian 16-bit unsigned integer from the buffer
buffer/buffer.go:637
Method
readUInt16BE
* Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`. * * This function is also available unde
buffer/types/buffer.d.ts:693
Method
readUInt16LE
readUInt16LE reads a little-endian 16-bit unsigned integer from the buffer
buffer/buffer.go:646
Method
readUInt16LE
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`. * * This function is also available
buffer/types/buffer.d.ts:667
Method
readUInt32BE
readUInt32BE reads a big-endian 32-bit unsigned integer from the buffer
buffer/buffer.go:655
Method
readUInt32BE
* Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`. * * This function is also available unde
buffer/types/buffer.d.ts:743
Method
readUInt32LE
readUInt32LE reads a little-endian 32-bit unsigned integer from the buffer
buffer/buffer.go:664
Method
readUInt32LE
* Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`. * * This function is also available u
buffer/types/buffer.d.ts:719
Method
readUInt8
readUInt8 reads an 8-bit unsigned integer from the buffer
buffer/buffer.go:628
Method
readUInt8
* Reads an unsigned 8-bit integer from `buf` at the specified `offset`. * * This function is also available under the `readU
buffer/types/buffer.d.ts:639
Method
readUIntBE
readUIntBE reads a big-endian unsigned integer of variable byte length
buffer/buffer.go:673
Method
readUIntBE
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an unsigned big-endian integer supporting
buffer/types/buffer.d.ts:571
Method
readUIntLE
readUIntLE reads a little-endian unsigned integer of variable byte length
buffer/buffer.go:686
Method
readUIntLE
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an unsigned, little-endian integer supporting
buffer/types/buffer.d.ts:543
Method
readUint16BE
* @alias Buffer.readUInt16BE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:699
Method
readUint16LE
* @alias Buffer.readUInt16LE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:673
Method
readUint32BE
* @alias Buffer.readUInt32BE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:749
Method
readUint32LE
* @alias Buffer.readUInt32LE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:725
Method
readUint8
* @alias Buffer.readUInt8 * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:645
Method
readUintBE
* @alias Buffer.readUIntBE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:577
Method
readUintLE
* @alias Buffer.readUIntLE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:549
← previous
next →
301–400 of 467, ranked by callers