Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Node.js-Design-Patterns-Third-Edition
/ functions
Functions
562 in github.com/PacktPublishing/Node.js-Design-Patterns-Third-Edition
⨍
Functions
562
◇
Types & classes
192
↓ 363 callers
Method
log
(message)
02-the-module-system/09-esm-syntax/logger.js:25
↓ 60 callers
Function
cb
(err, data)
03-callbacks-and-events/07-propagating-errors/index.js:23
↓ 37 callers
Method
end
()
07-creational-design-patterns/04-factory-example-profiler/profiler.js:11
↓ 37 callers
Method
toString
()
07-creational-design-patterns/05-builder-url-builder/url.js:23
↓ 35 callers
Method
get
(row, column)
09-behavioral-design-patterns/06-iterator-builtins/matrix.js:6
↓ 27 callers
Method
log
(message)
02-the-module-system/10-esm-default/logger.js:6
↓ 21 callers
Method
send
(queue, message)
13-messaging-and-integration-patterns/10-return-address/amqpRequest.js:25
↓ 15 callers
Function
promisify
(callbackBasedApi)
05-asynchronous-control-flow-patterns-with-promises-and-async-await/02-promisify/index.js:3
↓ 13 callers
Method
connect
()
11-advanced-recipes/02-async-init-queues/db.js:22
↓ 13 callers
Method
next
()
09-behavioral-design-patterns/10-async-iterator-check-urls/checkUrls.js:12
↓ 12 callers
Function
done
(err)
04-asynchronous-control-flow-patterns-with-callbacks/06-web-spider-v3/spider.js:45
↓ 11 callers
Method
load
(filePath)
09-behavioral-design-patterns/01-strategy-multiformat-config/config.js:18
↓ 9 callers
Method
putValue
(value)
08-structural-design-patterns/02-proxy-object-literal/index.js:6
↓ 8 callers
Method
add
()
08-structural-design-patterns/07-decorator-composition/index.js:45
↓ 8 callers
Method
pushTask
(task)
04-asynchronous-control-flow-patterns-with-callbacks/10-queue-limited-parallel-execution-with-events/TaskQueue.js:11
↓ 8 callers
Method
putValue
(value)
08-structural-design-patterns/04-proxy-es2015/safe-calculator.js:6
↓ 8 callers
Method
set
(row, column, value)
09-behavioral-design-patterns/06-iterator-builtins/matrix.js:13
↓ 7 callers
Function
makeSampleTask
(name)
04-asynchronous-control-flow-patterns-with-callbacks/08-callback-limited-parallel-execution-pattern/test.js:1
↓ 7 callers
Method
pushTask
(task)
04-asynchronous-control-flow-patterns-with-callbacks/09-queue-limited-parallel-execution-pattern/TaskQueue.js:8
↓ 7 callers
Method
putValue
(value)
08-structural-design-patterns/03-proxy-object-augmentation/index.js:6
↓ 6 callers
Method
find
()
03-callbacks-and-events/10-eventemitter-extend/index.js:16
↓ 6 callers
Method
getValue
()
08-structural-design-patterns/09-decorator-es2015/index.js:10
↓ 6 callers
Method
getValue
()
08-structural-design-patterns/08-decorator-object-augmentation/index.js:10
↓ 6 callers
Method
putValue
(value)
08-structural-design-patterns/09-decorator-es2015/index.js:6
↓ 6 callers
Method
putValue
(value)
08-structural-design-patterns/07-decorator-composition/index.js:6
↓ 6 callers
Method
putValue
(value)
08-structural-design-patterns/08-decorator-object-augmentation/index.js:6
↓ 6 callers
Method
putValue
(value)
08-structural-design-patterns/01-proxy-composition/index.js:56
↓ 6 callers
Function
readFile
(filename, options, callback)
08-structural-design-patterns/11-adapter/fs-adapter.js:5
↓ 6 callers
Method
use
(middleware)
09-behavioral-design-patterns/13-middleware-zmq/zmqMiddlewareManager.js:27
↓ 5 callers
Function
delay
(milliseconds)
05-asynchronous-control-flow-patterns-with-promises-and-async-await/12-promises-recursion-leak/index.js:1
↓ 5 callers
Method
getValue
()
08-structural-design-patterns/07-decorator-composition/index.js:10
↓ 5 callers
Method
getValue
()
08-structural-design-patterns/02-proxy-object-literal/index.js:10
↓ 5 callers
Function
makeSampleTask
(name)
04-asynchronous-control-flow-patterns-with-callbacks/10-queue-limited-parallel-execution-with-events/test.js:3
↓ 5 callers
Function
makeSampleTask
(name)
04-asynchronous-control-flow-patterns-with-callbacks/09-queue-limited-parallel-execution-pattern/test.js:3
↓ 4 callers
Function
delay
(milliseconds)
05-asynchronous-control-flow-patterns-with-promises-and-async-await/06-asyncawait-delay/index.js:1
↓ 4 callers
Method
getValue
()
08-structural-design-patterns/01-proxy-composition/index.js:10
↓ 4 callers
Method
getValue
()
08-structural-design-patterns/04-proxy-es2015/safe-calculator.js:10
↓ 4 callers
Method
getValue
()
08-structural-design-patterns/03-proxy-object-augmentation/index.js:10
↓ 4 callers
Function
log
(message)
02-the-module-system/09-esm-syntax/logger.js:2
↓ 4 callers
Function
makeSampleTask
(name)
04-asynchronous-control-flow-patterns-with-callbacks/07-callback-unlimited-parallel-execution-pattern/test.js:1
↓ 3 callers
Function
asyncOperation
(cb)
04-asynchronous-control-flow-patterns-with-callbacks/03-sequential-callbacks/test.js:1
↓ 3 callers
Function
asyncRoutine
(label)
11-advanced-recipes/05-canceling-async-simple/asyncRoutine.js:1
↓ 3 callers
Function
asyncRoutine
(label)
11-advanced-recipes/07-canceling-async-generator/asyncRoutine.js:1
↓ 3 callers
Function
cancelWrapper
(func, ...args)
11-advanced-recipes/06-canceling-async-wrapper/cancelWrapper.js:10
↓ 3 callers
Method
changeState
(state)
09-behavioral-design-patterns/02-state-failsafe-socket/failsafeSocket.js:17
↓ 3 callers
Function
createImage
(name)
07-creational-design-patterns/02-factory-dynamic-class/index.js:5
↓ 3 callers
Method
divide
()
08-structural-design-patterns/04-proxy-es2015/safe-calculator.js:22
↓ 3 callers
Method
divide
()
08-structural-design-patterns/02-proxy-object-literal/index.js:22
↓ 3 callers
Method
multiply
()
08-structural-design-patterns/02-proxy-object-literal/index.js:30
↓ 3 callers
Method
run
(cmd)
09-behavioral-design-patterns/14-command/invoker.js:9
↓ 3 callers
Method
send
(message)
09-behavioral-design-patterns/13-middleware-zmq/zmqMiddlewareManager.js:21
↓ 3 callers
Method
start
()
11-advanced-recipes/08-cpu-bound/subsetSum.js:27
↓ 3 callers
Function
twoWayGenerator
()
09-behavioral-design-patterns/08-iterator-two-way/index.js:1
↓ 3 callers
Method
verbose
(message)
02-the-module-system/06-cjs-exporting-a-constructor/logger.js:14
↓ 2 callers
Method
_combineInterleaved
(set, subset)
11-advanced-recipes/08-cpu-bound/subsetSumDefer.js:11
↓ 2 callers
Method
_safeWrite
(data)
09-behavioral-design-patterns/02-state-failsafe-socket/onlineState.js:12
↓ 2 callers
Method
acquire
()
11-advanced-recipes/08-cpu-bound/threadPool.js:12
↓ 2 callers
Method
addFile
(file)
03-callbacks-and-events/10-eventemitter-extend/index.js:11
↓ 2 callers
Method
addFile
(file)
03-callbacks-and-events/11-eventemitter-sync-emit/index.js:11
↓ 2 callers
Function
broadcast
(msg)
13-messaging-and-integration-patterns/03-pubsub-chat-zmq/index.js:43
↓ 2 callers
Function
calculateTotal
(invoice)
08-structural-design-patterns/06-proxy-reactive/index.js:3
↓ 2 callers
Function
cancelable
(cancelObj)
11-advanced-recipes/05-canceling-async-simple/index.js:4
↓ 2 callers
Method
clear
()
08-structural-design-patterns/02-proxy-object-literal/index.js:18
↓ 2 callers
Method
connect
()
11-advanced-recipes/01-async-init-quick-and-easy/db.js:6
↓ 2 callers
Function
consistentReadSync
(filename)
03-callbacks-and-events/05-fix-zalgo-with-sync-api/index.js:5
↓ 2 callers
Function
createDb
(dbFile)
07-creational-design-patterns/09-dependency-injection/db.js:3
↓ 2 callers
Function
createFileReader
(filename)
03-callbacks-and-events/04-an-unpredictable-function/index.js:19
↓ 2 callers
Function
createFileReader
(filename)
03-callbacks-and-events/06-deferred-execution/index.js:19
↓ 2 callers
Function
createKey
(password)
06-coding-with-streams/22-combined-stream/combined-streams.js:5
↓ 2 callers
Method
divide
()
08-structural-design-patterns/01-proxy-composition/index.js:45
↓ 2 callers
Method
executeMiddleware
(middlewares, initialMessage)
09-behavioral-design-patterns/13-middleware-zmq/zmqMiddlewareManager.js:36
↓ 2 callers
Function
fruitGenerator
()
09-behavioral-design-patterns/07-iterator-fruit-generator/index.js:2
↓ 2 callers
Method
getValue
()
08-structural-design-patterns/07-decorator-composition/index.js:69
↓ 2 callers
Method
info
(message)
02-the-module-system/06-cjs-exporting-a-constructor/logger.js:10
↓ 2 callers
Method
initialize
()
07-creational-design-patterns/09-dependency-injection/blog.js:10
↓ 2 callers
Method
initialize
()
07-creational-design-patterns/08-singleton-dependencies/blog.js:8
↓ 2 callers
Function
jsonMiddleware
()
09-behavioral-design-patterns/13-middleware-zmq/jsonMiddleware.js:1
↓ 2 callers
Method
load
(file)
09-behavioral-design-patterns/03-template-multiformat-config/configTemplate.js:5
↓ 2 callers
Method
loadData
()
10-universal-javascript/09-asynchronous-data-retrieval/src/frontend/components/pages/Author.js:18
↓ 2 callers
Method
loadData
()
10-universal-javascript/06-react-stateful-component/src/RecentGithubProjects.js:21
↓ 2 callers
Method
log
(message)
02-the-module-system/07-cjs-exporting-an-instance/logger.js:7
↓ 2 callers
Method
log
(message)
02-the-module-system/06-cjs-exporting-a-constructor/logger.js:6
↓ 2 callers
Function
mockDisable
()
02-the-module-system/15-esm-modifying-other-modules/mock-read-file.js:18
↓ 2 callers
Function
mockEnable
(respondWith)
02-the-module-system/15-esm-modifying-other-modules/mock-read-file.js:13
↓ 2 callers
Method
multiply
()
08-structural-design-patterns/07-decorator-composition/index.js:30
↓ 2 callers
Method
multiply
()
08-structural-design-patterns/01-proxy-composition/index.js:72
↓ 2 callers
Method
multiply
()
08-structural-design-patterns/04-proxy-es2015/safe-calculator.js:30
↓ 2 callers
Method
multiply
()
08-structural-design-patterns/03-proxy-object-augmentation/index.js:30
↓ 2 callers
Method
peekValue
()
08-structural-design-patterns/07-decorator-composition/index.js:14
↓ 2 callers
Method
peekValue
()
08-structural-design-patterns/02-proxy-object-literal/index.js:14
↓ 2 callers
Function
playingWithErrors
(throwSyncError)
05-asynchronous-control-flow-patterns-with-promises-and-async-await/07-asyncawait-errors/index.js:9
↓ 2 callers
Function
processAndAck
(recordId, rawTask)
13-messaging-and-integration-patterns/08-task-distribution-redis-streams/worker.js:29
↓ 2 callers
Method
putValue
(value)
08-structural-design-patterns/01-proxy-composition/index.js:6
↓ 2 callers
Method
query
(queryString)
11-advanced-recipes/01-async-init-quick-and-easy/db.js:14
↓ 2 callers
Method
query
(queryString)
11-advanced-recipes/02-async-init-queues/db.js:7
↓ 2 callers
Function
readJSON
(filename, callback)
03-callbacks-and-events/07-propagating-errors/index.js:3
↓ 2 callers
Method
release
(worker)
11-advanced-recipes/08-cpu-bound/threadPool.js:38
↓ 2 callers
Method
save
(file)
09-behavioral-design-patterns/03-template-multiformat-config/configTemplate.js:11
↓ 2 callers
Method
save
(filePath)
09-behavioral-design-patterns/01-strategy-multiformat-config/config.js:25
↓ 2 callers
Function
sayHello
(name)
10-universal-javascript/03-build-time-code-branching/src/say-hello.js:3
next →
1–100 of 562, ranked by callers