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
↓ 2 callers
Function
escapeSearchParam
(s string)
url/nodeurl.go:17
↓ 2 callers
Function
fixRawQuery
(u *url.URL)
url/url.go:191
↓ 2 callers
Method
getSource
(p string)
require/module.go:173
↓ 2 callers
Method
getVariableLengthArguments
(call goja.FunctionCall, bb []byte, offsetArgIndex, byteLengthArgIndex int)
buffer/buffer.go:1041
↓ 2 callers
Function
isDefaultURLPort
(protocol string, port int)
url/url.go:109
↓ 2 callers
Function
isSpecialNetProtocol
(protocol string)
url/url.go:135
↓ 2 callers
Method
loadAsFile
(path string)
require/resolve.go:117
↓ 2 callers
Method
loadAsFileOrDirectory
(path string)
require/resolve.go:109
↓ 2 callers
Method
loadNodeModule
(modpath, start string)
require/resolve.go:163
↓ 2 callers
Function
mod
(r *goja.Runtime)
buffer/buffer.go:58
↓ 2 callers
Method
newInterval
(f func())
eventloop/eventloop.go:398
↓ 2 callers
Function
newInvalidTupleError
(r *goja.Runtime)
url/urlsearchparams.go:17
↓ 2 callers
Method
newTimeout
(f func())
eventloop/eventloop.go:381
↓ 2 callers
Method
newURLSearchParams
(sp *urlSearchParams)
url/urlsearchparams.go:38
↓ 2 callers
Function
requireWithPrinter
(printer Printer)
console/module.go:48
↓ 2 callers
Method
schedule
(call goja.FunctionCall, repeating bool)
eventloop/eventloop.go:106
↓ 2 callers
Function
signExtend
(value int64, numBytes int64)
buffer/buffer.go:1110
↓ 2 callers
Method
string
(encode bool)
url/nodeurl.go:21
↓ 2 callers
Function
testsetup
()
require/module_test.go:492
↓ 2 callers
Function
unhex
(c byte)
url/escape.go:43
↓ 1 callers
Function
Base64DecodeAppend
(dst []byte, src string)
buffer/buffer.go:239
↓ 1 callers
Method
Decode
(s string)
buffer/buffer.go:184
↓ 1 callers
Function
DefaultPathResolver
DefaultPathResolver is used if none was set (see WithPathResolver). It converts the path using filepath.FromSlash(), then joins it with base and resol
require/module.go:165
↓ 1 callers
Function
Enable
(runtime *goja.Runtime)
buffer/buffer.go:45
↓ 1 callers
Function
GetApi
(r *goja.Runtime)
buffer/buffer.go:79
↓ 1 callers
Function
NewArgumentNotBigIntTypeError
(r *goja.Runtime, name string)
errors/errors.go:79
↓ 1 callers
Function
NewArgumentNotStringTypeError
(r *goja.Runtime, name string)
errors/errors.go:83
↓ 1 callers
Function
NewError
(r *goja.Runtime, ctor *goja.Object, code string, args ...interface{})
errors/errors.go:59
↓ 1 callers
Function
RegisterNativeModule
RegisterNativeModule registers a module that isn't loaded through a SourceLoader, but rather through a provided ModuleLoader. Typically, this will be
require/module.go:258
↓ 1 callers
Function
RequireWithPrinter
(printer Printer)
console/module.go:44
↓ 1 callers
Function
RequiredArrayArgument
(r *goja.Runtime, call goja.FunctionCall, name string, argIndex int)
goutil/argtypes.go:104
↓ 1 callers
Method
RequiredBufferArgument
(call goja.FunctionCall, argName string, argIdx int)
buffer/buffer.go:466
↓ 1 callers
Function
RequiredStrictIntegerArgument
(r *goja.Runtime, call goja.FunctionCall, name string, argIndex int)
goutil/argtypes.go:24
↓ 1 callers
Function
RequiredStringArgument
(r *goja.Runtime, call goja.FunctionCall, name string, argIndex int)
goutil/argtypes.go:92
↓ 1 callers
Method
StartInForeground
StartInForeground starts the event loop in the current goroutine. The loop continues to run until Stop() is called. If the loop is already started it
eventloop/eventloop.go:249
↓ 1 callers
Method
StopNoWait
StopNoWait tells the loop to stop and returns immediately. Can be used inside the loop. Calling it on a non-running loop has no effect.
eventloop/eventloop.go:275
↓ 1 callers
Function
StringCodecByName
(name string)
buffer/buffer.go:333
↓ 1 callers
Function
WrapBytes
(r *goja.Runtime, data []byte)
buffer/buffer.go:106
↓ 1 callers
Method
addImmediate
(f func())
eventloop/eventloop.go:417
↓ 1 callers
Function
assertBytesWritten
(actual, expected)
buffer/testdata/assertions.js:12
↓ 1 callers
Function
assertValueRead
(actual, expected)
buffer/testdata/assertions.js:8
↓ 1 callers
Method
buildParamsFromIterable
(o *goja.Object)
url/urlsearchparams.go:79
↓ 1 callers
Method
buildParamsFromObject
(o *goja.Object)
url/urlsearchparams.go:64
↓ 1 callers
Method
clearInterval
(i *Interval)
eventloop/eventloop.go:460
↓ 1 callers
Method
clearTimeout
(t *Timer)
eventloop/eventloop.go:450
↓ 1 callers
Method
createURLConstructor
()
url/url.go:382
↓ 1 callers
Method
createURLPrototype
()
url/url.go:227
↓ 1 callers
Method
createURLSearchParamsConstructor
()
url/urlsearchparams.go:44
↓ 1 callers
Method
createURLSearchParamsPrototype
()
url/urlsearchparams.go:118
↓ 1 callers
Method
doImmediate
(i *Immediate)
eventloop/eventloop.go:442
↓ 1 callers
Method
doInterval
(i *Interval)
eventloop/eventloop.go:436
↓ 1 callers
Method
doTimeout
(t *Timer)
eventloop/eventloop.go:427
↓ 1 callers
Method
fill
(buf []byte, fill string, enc goja.Value)
buffer/buffer.go:349
↓ 1 callers
Method
format
(f rune, val goja.Value, w *bytes.Buffer)
util/module.go:15
↓ 1 callers
Method
from
* Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`. * Array entries outside that range will be truncated to fi
buffer/types/buffer.buffer.d.ts:55
↓ 1 callers
Method
fromString
(str, enc string)
buffer/buffer.go:248
↓ 1 callers
Function
functionGeneratorExample
()
url/testdata/url_search_params.js:258
↓ 1 callers
Function
getBufferElementSize
(methodName)
buffer/testdata/assertions.js:26
↓ 1 callers
Method
getCompiledSource
(p string)
require/module.go:181
↓ 1 callers
Method
getCurrentModulePath
()
require/resolve.go:196
↓ 1 callers
Method
getFirstValue
(name string)
url/nodeurl.go:117
↓ 1 callers
Function
getIteratorPrototype
(r *goja.Runtime)
url/urlsearchparams.go:342
↓ 1 callers
Method
getURLSearchParamsIteratorPrototype
()
url/urlsearchparams.go:363
↓ 1 callers
Method
getValues
(name string)
url/nodeurl.go:106
↓ 1 callers
Method
hasName
(name string)
url/nodeurl.go:88
↓ 1 callers
Method
hasValue
(name, value string)
url/nodeurl.go:97
↓ 1 callers
Function
isFileOrDirectoryPath
(path string)
require/resolve.go:261
↓ 1 callers
Method
loadAsDirectory
(modpath string)
require/resolve.go:141
↓ 1 callers
Method
loadModuleFile
(path string, jsModule *js.Object)
require/resolve.go:229
↓ 1 callers
Method
loadNative
(path string)
require/resolve.go:66
↓ 1 callers
Method
loadNodeModules
(modpath, start string)
require/resolve.go:167
↓ 1 callers
Function
newInvalidCallbackTypeError
(r *goja.Runtime)
url/urlsearchparams.go:25
↓ 1 callers
Method
rawQueryUpdateNeeded
()
url/nodeurl.go:80
↓ 1 callers
Method
resolve
NodeJS module search algorithm described by https://nodejs.org/api/modules.html#modules_all_together
require/resolve.go:24
↓ 1 callers
Method
run
(loop *EventLoop)
eventloop/eventloop.go:498
↓ 1 callers
Function
setURLPort
(nu *nodeURL, v goja.Value)
url/url.go:147
↓ 1 callers
Function
toURLSearchParamsIterator
(r *goja.Runtime, v goja.Value)
url/urlsearchparams.go:332
↓ 1 callers
Function
valueToURLPort
(v goja.Value)
url/url.go:61
Method
Decode
(s string)
buffer/buffer.go:167
Method
Decode
(s string)
buffer/buffer.go:204
Method
DecodeAppend
(s string, b []byte)
buffer/buffer.go:157
Method
DecodeAppend
(s string, b []byte)
buffer/buffer.go:177
Method
DecodeAppend
(s string, b []byte)
buffer/buffer.go:199
Function
DecodeBytes
(r *goja.Runtime, arg, enc goja.Value)
buffer/buffer.go:83
Function
DefaultSourceLoader
DefaultSourceLoader is used if none was set (see WithLoader()). It simply loads files from the host's filesystem.
require/module.go:132
Method
Encode
(b []byte)
buffer/buffer.go:171
Method
Encode
(b []byte)
buffer/buffer.go:188
Method
Encode
(b []byte)
buffer/buffer.go:208
Method
Encode
(b []byte)
buffer/buffer.go:212
Method
Encode
()
url/nodeurl.go:13
Method
Encode
()
url/nodeurl.go:43
Function
EncodeBytes
EncodeBytes returns the given byte slice encoded as string with the given encoding. If encoding is not specified or not supported, returns a Buffer th
buffer/buffer.go:124
Method
Error
Error prints s to the stderr.
console/std_printer.go:36
Method
Len
()
url/nodeurl.go:31
Method
Less
(i, j int)
url/nodeurl.go:39
Method
Log
Log prints s to the stdout.
console/std_printer.go:26
Function
NewRegistryWithLoader
(srcLoader SourceLoader)
require/module.go:70
Function
Require
(runtime *goja.Runtime, module *goja.Object)
console/module.go:40
Function
Require
(runtime *goja.Runtime, module *goja.Object)
buffer/buffer.go:1116
Function
Require
(runtime *goja.Runtime, module *goja.Object)
url/module.go:17
← previous
next →
101–200 of 467, ranked by callers