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
Method
require
(call js.FunctionCall)
require/module.go:214
Function
sameValue
(actual, expected, message)
assert.js:57
Method
setImmediate
(call goja.FunctionCall)
eventloop/eventloop.go:143
Method
setInterval
(call goja.FunctionCall)
eventloop/eventloop.go:139
Method
setTimeout
(call goja.FunctionCall)
eventloop/eventloop.go:135
Method
start
(loop *EventLoop, timeout time.Duration)
eventloop/eventloop.go:408
Function
test
()
require/testdata/m.js:1
Function
throws
(f, ctor, message)
assert.js:209
Function
throwsNodeError
(f, ctor, code, message)
assert.js:215
Function
throwsNodeErrorWithMessage
(f, ctor, code, errorMessage, message)
assert.js:222
Function
toString
()
url/testdata/url_test.js:176
Function
valueOf
()
url/testdata/url_test.js:179
Method
write
write will write a string to the Buffer at offset according to the character encoding. The length parameter is the number of bytes to write. If buffer
buffer/buffer.go:701
Method
write
* Writes `string` to `buf` at `offset` according to the character encoding in`encoding`. The `length` parameter is the number of bytes to write. If `b
buffer/types/buffer.d.ts:166
Method
writeBigInt64BE
writeBigInt64BE writes a big-endian 64-bit signed integer to the buffer
buffer/buffer.go:722
Method
writeBigInt64BE
* Writes `value` to `buf` at the specified `offset` as big-endian. * * `value` is interpreted and written as a two's complem
buffer/types/buffer.d.ts:285
Method
writeBigInt64LE
writeBigInt64LE writes a little-endian 64-bit signed integer to the buffer
buffer/buffer.go:734
Method
writeBigInt64LE
* Writes `value` to `buf` at the specified `offset` as little-endian. * * `value` is interpreted and written as a two's comp
buffer/types/buffer.d.ts:306
Method
writeBigUInt64BE
writeBigUInt64BE writes a big-endian 64-bit unsigned integer to the buffer
buffer/buffer.go:746
Method
writeBigUInt64BE
* Writes `value` to `buf` at the specified `offset` as big-endian. * * This function is also available under the `writeBigUi
buffer/types/buffer.d.ts:327
Method
writeBigUInt64LE
writeBigUInt64LE writes a little-endian 64-bit unsigned integer to the buffer
buffer/buffer.go:758
Method
writeBigUInt64LE
* Writes `value` to `buf` at the specified `offset` as little-endian * * ```js * import { Buffer } from 'node:b
buffer/types/buffer.d.ts:353
Method
writeBigUint64BE
* @alias Buffer.writeBigUInt64BE * @since v14.10.0, v12.19.0
buffer/types/buffer.d.ts:332
Method
writeBigUint64LE
* @alias Buffer.writeBigUInt64LE * @since v14.10.0, v12.19.0
buffer/types/buffer.d.ts:358
Method
writeDoubleBE
writeDoubleBE writes a big-endian 64-bit double to the buffer
buffer/buffer.go:770
Method
writeDoubleBE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is anyt
buffer/types/buffer.d.ts:1249
Method
writeDoubleLE
writeDoubleLE writes a little-endian 64-bit double to the buffer
buffer/buffer.go:782
Method
writeDoubleLE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is a
buffer/types/buffer.d.ts:1229
Method
writeFloatBE
writeFloatBE writes a big-endian 32-bit float to the buffer
buffer/buffer.go:794
Method
writeFloatBE
* Writes `value` to `buf` at the specified `offset` as big-endian. Behavior is * undefined when `value` is anything other than a JavaScri
buffer/types/buffer.d.ts:1209
Method
writeFloatLE
writeFloatLE writes a little-endian 32-bit floating-point number to the buffer
buffer/buffer.go:808
Method
writeFloatLE
* Writes `value` to `buf` at the specified `offset` as little-endian. Behavior is * undefined when `value` is anything other than a JavaS
buffer/types/buffer.d.ts:1189
Method
writeInt16BE
writeInt16BE writes a big-endian 16-bit signed integer to the buffer
buffer/buffer.go:837
Method
writeInt16BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `val
buffer/types/buffer.d.ts:1125
Method
writeInt16LE
writeInt16LE writes a little-endian 16-bit signed integer to the buffer
buffer/buffer.go:850
Method
writeInt16LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `
buffer/types/buffer.d.ts:1103
Method
writeInt32BE
writeInt32BE writes a big-endian 32-bit signed integer to the buffer
buffer/buffer.go:863
Method
writeInt32BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `valu
buffer/types/buffer.d.ts:1169
Method
writeInt32LE
writeInt32LE writes a little-endian 32-bit signed integer to the buffer
buffer/buffer.go:876
Method
writeInt32LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `v
buffer/types/buffer.d.ts:1147
Method
writeInt8
writeInt8 writes an 8-bit signed integer to the buffer
buffer/buffer.go:822
Method
writeInt8
* Writes `value` to `buf` at the specified `offset`. `value` must be a valid * signed 8-bit integer. Behavior is undefined when `value` i
buffer/types/buffer.d.ts:1081
Method
writeIntBE
writeIntBE writes a big-endian signed integer of variable byte length
buffer/buffer.go:889
Method
writeIntBE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined when
buffer/types/buffer.d.ts:456
Method
writeIntLE
writeIntLE writes a little-endian signed integer of variable byte length
buffer/buffer.go:906
Method
writeIntLE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
buffer/types/buffer.d.ts:435
Method
writeUInt16BE
writeUInt16BE writes a big-endian 16-bit unsigned integer to the buffer
buffer/buffer.go:938
Method
writeUInt16BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when `va
buffer/types/buffer.d.ts:998
Method
writeUInt16LE
writeUInt16LE writes a little-endian 16-bit unsigned integer to the buffer
buffer/buffer.go:951
Method
writeUInt16LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when
buffer/types/buffer.d.ts:970
Method
writeUInt32BE
writeUInt32BE writes a big-endian 32-bit unsigned integer to the buffer
buffer/buffer.go:964
Method
writeUInt32BE
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when `va
buffer/types/buffer.d.ts:1052
Method
writeUInt32LE
writeUInt32LE writes a little-endian 32-bit unsigned integer to the buffer
buffer/buffer.go:977
Method
writeUInt32LE
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when
buffer/types/buffer.d.ts:1025
Method
writeUInt8
writeUInt8 writes an 8-bit unsigned integer to the buffer
buffer/buffer.go:923
Method
writeUInt8
* Writes `value` to `buf` at the specified `offset`. `value` must be a * valid unsigned 8-bit integer. Behavior is undefined when `value`
buffer/types/buffer.d.ts:942
Method
writeUIntBE
writeUIntBE writes a big-endian unsigned integer of variable byte length
buffer/buffer.go:990
Method
writeUIntBE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined
buffer/types/buffer.d.ts:409
Method
writeUIntLE
writeUIntLE writes a little-endian unsigned integer of variable byte length
buffer/buffer.go:1007
Method
writeUIntLE
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
buffer/types/buffer.d.ts:381
Method
writeUint16BE
* @alias Buffer.writeUInt16BE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:1003
Method
writeUint16LE
* @alias Buffer.writeUInt16LE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:975
Method
writeUint32BE
* @alias Buffer.writeUInt32BE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:1057
Method
writeUint32LE
* @alias Buffer.writeUInt32LE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:1030
Method
writeUint8
* @alias Buffer.writeUInt8 * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:947
Method
writeUintBE
* @alias Buffer.writeUIntBE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:414
Method
writeUintLE
* @alias Buffer.writeUIntLE * @since v14.9.0, v12.19.0
buffer/types/buffer.d.ts:386
← previous
401–467 of 467, ranked by callers