├── AppendixA ├── exporter.js ├── importer.js └── npm_build_tool │ ├── _DS_Store │ ├── package.json │ └── src │ ├── _DS_Store │ └── js │ ├── a.js │ └── b.js ├── AppendixB ├── nan │ ├── async_module │ │ ├── addon.cc │ │ ├── addon.h │ │ ├── async.cc │ │ ├── binding.gyp │ │ ├── index.js │ │ ├── package.json │ │ └── sync.cc │ └── hello_module │ │ ├── binding.gyp │ │ ├── hello.cc │ │ ├── index.js │ │ └── package.json └── native │ ├── calculator.js │ ├── calculator_module │ ├── binding.gyp │ ├── calculator.cc │ └── index.js │ ├── hello.js │ └── hello_module │ ├── binding.gyp │ ├── hello.cc │ ├── index.js │ └── package.json ├── Chapter01 ├── arrow_this.js ├── es4_class.js ├── es6_class.js ├── let_const.js ├── promisify_demo.js └── template_literals.js ├── Chapter02 ├── controlflow │ ├── asyncawait.js │ ├── dummy_filesystem │ │ └── folderA │ │ │ └── folderA-C │ │ │ └── dummyfile.txt │ ├── generators.js │ └── promises.js └── package.json ├── Chapter03 ├── cookies.js ├── favicon.js ├── http.js ├── http.request.js ├── http_switching.js ├── output.txt ├── passthrough.js ├── passthrough.txt ├── postdata.js ├── proxying.js ├── readable_bybyte.js ├── readable_objectMode.js ├── readablestram.js ├── stream │ ├── d3.layout.min.js │ ├── d3.min.js │ ├── package.json │ ├── pie.js │ └── server.js ├── stream1.js ├── stream2.js ├── stream3.js ├── stream4.js ├── streambuffer.js ├── transform_scale.js ├── tunnelling.js ├── us-income-inequality.csv ├── writable_drain.js └── writable_hello.js ├── Chapter04 ├── dictionary.txt ├── formidable.js ├── fs.js ├── ortho │ ├── Dodecahedron_300x300.png │ ├── LICENSE.md │ ├── README.md │ ├── _gitignore │ ├── index.html │ ├── main.js │ ├── ortho.txt │ ├── package.json │ └── renderer.js ├── package-lock.json ├── package.json ├── path.js ├── readdir.js ├── readline.js ├── scores.js ├── scores.txt └── static.js ├── Chapter05 ├── basicauth.js ├── challenge_response.html ├── challenge_response.js ├── express_cookie.js ├── jwt │ ├── index.html │ ├── package.json │ └── server.js ├── package.json ├── poll_client.html ├── poll_server.js ├── pubsub.js ├── sha256.js └── stdin_pubsub.js ├── Chapter06 ├── ajax │ ├── README.MD │ ├── package.json │ ├── stocks.html │ └── stocks_server.js ├── sharedb │ ├── README.md │ ├── _gitignore │ ├── client.js │ ├── package.json │ ├── server.js │ └── static │ │ └── index.html ├── socketio │ ├── README.MD │ ├── index.html │ ├── miniindex.html │ ├── miniserver.js │ ├── package.json │ ├── pointer.png │ ├── script.js │ └── server.js └── sse │ ├── README.MD │ ├── index.html │ ├── min_client.html │ ├── min_server.js │ ├── package.json │ └── server.js ├── Chapter07 ├── cluster.js ├── httpchild.js ├── httpcluster.js ├── httpparent.js ├── logproc │ ├── README.MD │ ├── bin │ │ ├── async.js │ │ ├── master.js │ │ └── worker.js │ ├── package.json │ └── short.log ├── pm2 │ ├── README.MD │ ├── package.json │ ├── process.json │ ├── programmatic.js │ ├── script.js │ └── server.js ├── watcher │ ├── README.MD │ ├── admin.html │ ├── client.html │ ├── package.json │ ├── server.js │ └── sock-worker.js └── worker.js ├── Chapter08 ├── amazon │ ├── _DS_Store │ ├── dynamo-create.js │ ├── dynamo-put.js │ ├── dynamo-query.js │ ├── dynamo-scan.js │ ├── s3-createbucket.js │ ├── s3-delete.js │ ├── s3-getstream.js │ ├── s3-listbuckets.js │ ├── s3-mounting.js │ ├── s3-putobject.js │ ├── s3-putstream.js │ ├── s3-redirect.js │ ├── s3.js │ ├── ses.js │ └── testimage.jpg ├── balancer.js ├── config.json ├── nginx.conf ├── os.js ├── package.json ├── proxy-remote.js ├── rabbit │ ├── consumer.js │ ├── direct.js │ ├── publisher.js │ └── topic.js ├── routing.js ├── server.js ├── switchboard │ ├── README.md │ ├── _gitignore │ ├── package.json │ ├── router │ │ ├── Db │ │ │ └── index.js │ │ ├── clientMap.js │ │ ├── dataStream.js │ │ ├── index.js │ │ └── sms │ │ │ ├── index.js │ │ │ └── sendResponse.js │ └── server.js ├── thankyou │ ├── README.md │ ├── _env │ ├── _eslintrc.json │ ├── _gitignore │ ├── gulpfile.js │ ├── index.js │ ├── package.json │ ├── pm2.config.js │ ├── public │ │ ├── css │ │ │ └── app.css │ │ ├── index.html │ │ └── js │ │ │ ├── app.js │ │ │ ├── components.js │ │ │ └── socketConnector.js │ ├── router │ │ ├── bindSocketServer.js │ │ ├── index.js │ │ └── transformers │ │ │ ├── accumulator.js │ │ │ ├── arrayToStream.js │ │ │ ├── sentiment.js │ │ │ └── time.js │ └── source │ │ ├── jsx │ │ ├── MessageComposer.jsx │ │ └── Timeline.jsx │ │ ├── scripts │ │ ├── app.js │ │ └── socketConnector.js │ │ ├── styles │ │ ├── main.css │ │ └── timeline.css │ │ └── views │ │ └── index.html └── udp │ ├── clientserver.js │ ├── combined.js │ ├── multicast.js │ ├── receive.js │ └── send.js ├── Chapter09 ├── claudia │ ├── app.js │ ├── claudia.json │ ├── package-lock.json │ ├── package.json │ └── testdata.json ├── docker │ ├── Dockerfile │ ├── _dockerignore │ └── app │ │ ├── index.js │ │ └── package.json ├── kubernetes │ ├── rerouter │ │ ├── Dockerfile │ │ └── app │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── public │ │ │ └── index.html │ ├── responder │ │ ├── Dockerfile │ │ └── app │ │ │ ├── index.js │ │ │ └── package.json │ └── three-containers.yaml └── seneca │ ├── add.js │ ├── base.js │ ├── calculator.js │ ├── hellogoodbye.js │ ├── package.json │ └── subtract.js ├── Chapter10 ├── assertthrows.js ├── console-timer.js ├── custom-colors.js ├── custom-inspect.js ├── debug-sample.js ├── deepequal.js ├── errorstack.js ├── es6 │ ├── destructuring.js │ ├── function_rest_pattern.js │ ├── main_example.js │ └── spread.js ├── new_vs_this_context.js ├── stackhead.js ├── stacktrace.js ├── suspectcode.js ├── testing │ ├── package.json │ ├── profiling │ │ ├── dummy.log │ │ ├── heapdumper.js │ │ ├── logreader.js │ │ └── server.js │ ├── scripts │ │ ├── Caller.js │ │ ├── Capitalizer.js │ │ ├── http_stub.js │ │ ├── mock.js │ │ └── spy.js │ └── spec │ │ ├── helpers │ │ └── chai.js │ │ ├── mocks.js │ │ ├── mocks_capitalize.js │ │ ├── nightmare.js │ │ ├── puppeteer.js │ │ ├── spies.js │ │ └── stubs.js └── vm.js ├── LICENSE └── README.md /AppendixA/exporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixA/exporter.js -------------------------------------------------------------------------------- /AppendixA/importer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixA/importer.js -------------------------------------------------------------------------------- /AppendixA/npm_build_tool/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixA/npm_build_tool/_DS_Store -------------------------------------------------------------------------------- /AppendixA/npm_build_tool/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixA/npm_build_tool/package.json -------------------------------------------------------------------------------- /AppendixA/npm_build_tool/src/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixA/npm_build_tool/src/_DS_Store -------------------------------------------------------------------------------- /AppendixA/npm_build_tool/src/js/a.js: -------------------------------------------------------------------------------- 1 | console.log('file -a- ran'); 2 | -------------------------------------------------------------------------------- /AppendixA/npm_build_tool/src/js/b.js: -------------------------------------------------------------------------------- 1 | console.log('file -b- ran'); 2 | -------------------------------------------------------------------------------- /AppendixB/nan/async_module/addon.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/async_module/addon.cc -------------------------------------------------------------------------------- /AppendixB/nan/async_module/addon.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/async_module/addon.h -------------------------------------------------------------------------------- /AppendixB/nan/async_module/async.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/async_module/async.cc -------------------------------------------------------------------------------- /AppendixB/nan/async_module/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/async_module/binding.gyp -------------------------------------------------------------------------------- /AppendixB/nan/async_module/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/async_module/index.js -------------------------------------------------------------------------------- /AppendixB/nan/async_module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/async_module/package.json -------------------------------------------------------------------------------- /AppendixB/nan/async_module/sync.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/async_module/sync.cc -------------------------------------------------------------------------------- /AppendixB/nan/hello_module/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/hello_module/binding.gyp -------------------------------------------------------------------------------- /AppendixB/nan/hello_module/hello.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/hello_module/hello.cc -------------------------------------------------------------------------------- /AppendixB/nan/hello_module/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/hello_module/index.js -------------------------------------------------------------------------------- /AppendixB/nan/hello_module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/nan/hello_module/package.json -------------------------------------------------------------------------------- /AppendixB/native/calculator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/calculator.js -------------------------------------------------------------------------------- /AppendixB/native/calculator_module/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/calculator_module/binding.gyp -------------------------------------------------------------------------------- /AppendixB/native/calculator_module/calculator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/calculator_module/calculator.cc -------------------------------------------------------------------------------- /AppendixB/native/calculator_module/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/calculator_module/index.js -------------------------------------------------------------------------------- /AppendixB/native/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/hello.js -------------------------------------------------------------------------------- /AppendixB/native/hello_module/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/hello_module/binding.gyp -------------------------------------------------------------------------------- /AppendixB/native/hello_module/hello.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/hello_module/hello.cc -------------------------------------------------------------------------------- /AppendixB/native/hello_module/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./build/Release/hello'); -------------------------------------------------------------------------------- /AppendixB/native/hello_module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/AppendixB/native/hello_module/package.json -------------------------------------------------------------------------------- /Chapter01/arrow_this.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter01/arrow_this.js -------------------------------------------------------------------------------- /Chapter01/es4_class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter01/es4_class.js -------------------------------------------------------------------------------- /Chapter01/es6_class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter01/es6_class.js -------------------------------------------------------------------------------- /Chapter01/let_const.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter01/let_const.js -------------------------------------------------------------------------------- /Chapter01/promisify_demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter01/promisify_demo.js -------------------------------------------------------------------------------- /Chapter01/template_literals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter01/template_literals.js -------------------------------------------------------------------------------- /Chapter02/controlflow/asyncawait.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter02/controlflow/asyncawait.js -------------------------------------------------------------------------------- /Chapter02/controlflow/dummy_filesystem/folderA/folderA-C/dummyfile.txt: -------------------------------------------------------------------------------- 1 | I'm a dummy! 2 | -------------------------------------------------------------------------------- /Chapter02/controlflow/generators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter02/controlflow/generators.js -------------------------------------------------------------------------------- /Chapter02/controlflow/promises.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter02/controlflow/promises.js -------------------------------------------------------------------------------- /Chapter02/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter02/package.json -------------------------------------------------------------------------------- /Chapter03/cookies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/cookies.js -------------------------------------------------------------------------------- /Chapter03/favicon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/favicon.js -------------------------------------------------------------------------------- /Chapter03/http.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/http.js -------------------------------------------------------------------------------- /Chapter03/http.request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/http.request.js -------------------------------------------------------------------------------- /Chapter03/http_switching.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/http_switching.js -------------------------------------------------------------------------------- /Chapter03/output.txt: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /Chapter03/passthrough.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/passthrough.js -------------------------------------------------------------------------------- /Chapter03/passthrough.txt: -------------------------------------------------------------------------------- 1 | This is being passed through -------------------------------------------------------------------------------- /Chapter03/postdata.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/postdata.js -------------------------------------------------------------------------------- /Chapter03/proxying.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/proxying.js -------------------------------------------------------------------------------- /Chapter03/readable_bybyte.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/readable_bybyte.js -------------------------------------------------------------------------------- /Chapter03/readable_objectMode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/readable_objectMode.js -------------------------------------------------------------------------------- /Chapter03/readablestram.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/readablestram.js -------------------------------------------------------------------------------- /Chapter03/stream/d3.layout.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream/d3.layout.min.js -------------------------------------------------------------------------------- /Chapter03/stream/d3.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream/d3.min.js -------------------------------------------------------------------------------- /Chapter03/stream/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream/package.json -------------------------------------------------------------------------------- /Chapter03/stream/pie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream/pie.js -------------------------------------------------------------------------------- /Chapter03/stream/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream/server.js -------------------------------------------------------------------------------- /Chapter03/stream1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream1.js -------------------------------------------------------------------------------- /Chapter03/stream2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream2.js -------------------------------------------------------------------------------- /Chapter03/stream3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream3.js -------------------------------------------------------------------------------- /Chapter03/stream4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/stream4.js -------------------------------------------------------------------------------- /Chapter03/streambuffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/streambuffer.js -------------------------------------------------------------------------------- /Chapter03/transform_scale.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/transform_scale.js -------------------------------------------------------------------------------- /Chapter03/tunnelling.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/tunnelling.js -------------------------------------------------------------------------------- /Chapter03/us-income-inequality.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/us-income-inequality.csv -------------------------------------------------------------------------------- /Chapter03/writable_drain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/writable_drain.js -------------------------------------------------------------------------------- /Chapter03/writable_hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter03/writable_hello.js -------------------------------------------------------------------------------- /Chapter04/dictionary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/dictionary.txt -------------------------------------------------------------------------------- /Chapter04/formidable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/formidable.js -------------------------------------------------------------------------------- /Chapter04/fs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/fs.js -------------------------------------------------------------------------------- /Chapter04/ortho/Dodecahedron_300x300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/Dodecahedron_300x300.png -------------------------------------------------------------------------------- /Chapter04/ortho/LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/LICENSE.md -------------------------------------------------------------------------------- /Chapter04/ortho/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/README.md -------------------------------------------------------------------------------- /Chapter04/ortho/_gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /Chapter04/ortho/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/index.html -------------------------------------------------------------------------------- /Chapter04/ortho/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/main.js -------------------------------------------------------------------------------- /Chapter04/ortho/ortho.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/ortho.txt -------------------------------------------------------------------------------- /Chapter04/ortho/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/package.json -------------------------------------------------------------------------------- /Chapter04/ortho/renderer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/ortho/renderer.js -------------------------------------------------------------------------------- /Chapter04/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/package-lock.json -------------------------------------------------------------------------------- /Chapter04/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/package.json -------------------------------------------------------------------------------- /Chapter04/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/path.js -------------------------------------------------------------------------------- /Chapter04/readdir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/readdir.js -------------------------------------------------------------------------------- /Chapter04/readline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/readline.js -------------------------------------------------------------------------------- /Chapter04/scores.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/scores.js -------------------------------------------------------------------------------- /Chapter04/scores.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/scores.txt -------------------------------------------------------------------------------- /Chapter04/static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter04/static.js -------------------------------------------------------------------------------- /Chapter05/basicauth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/basicauth.js -------------------------------------------------------------------------------- /Chapter05/challenge_response.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/challenge_response.html -------------------------------------------------------------------------------- /Chapter05/challenge_response.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/challenge_response.js -------------------------------------------------------------------------------- /Chapter05/express_cookie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/express_cookie.js -------------------------------------------------------------------------------- /Chapter05/jwt/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/jwt/index.html -------------------------------------------------------------------------------- /Chapter05/jwt/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/jwt/package.json -------------------------------------------------------------------------------- /Chapter05/jwt/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/jwt/server.js -------------------------------------------------------------------------------- /Chapter05/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/package.json -------------------------------------------------------------------------------- /Chapter05/poll_client.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/poll_client.html -------------------------------------------------------------------------------- /Chapter05/poll_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/poll_server.js -------------------------------------------------------------------------------- /Chapter05/pubsub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/pubsub.js -------------------------------------------------------------------------------- /Chapter05/sha256.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/sha256.js -------------------------------------------------------------------------------- /Chapter05/stdin_pubsub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter05/stdin_pubsub.js -------------------------------------------------------------------------------- /Chapter06/ajax/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/ajax/README.MD -------------------------------------------------------------------------------- /Chapter06/ajax/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/ajax/package.json -------------------------------------------------------------------------------- /Chapter06/ajax/stocks.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/ajax/stocks.html -------------------------------------------------------------------------------- /Chapter06/ajax/stocks_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/ajax/stocks_server.js -------------------------------------------------------------------------------- /Chapter06/sharedb/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sharedb/README.md -------------------------------------------------------------------------------- /Chapter06/sharedb/_gitignore: -------------------------------------------------------------------------------- 1 | static/dist/ 2 | -------------------------------------------------------------------------------- /Chapter06/sharedb/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sharedb/client.js -------------------------------------------------------------------------------- /Chapter06/sharedb/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sharedb/package.json -------------------------------------------------------------------------------- /Chapter06/sharedb/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sharedb/server.js -------------------------------------------------------------------------------- /Chapter06/sharedb/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sharedb/static/index.html -------------------------------------------------------------------------------- /Chapter06/socketio/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/README.MD -------------------------------------------------------------------------------- /Chapter06/socketio/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/index.html -------------------------------------------------------------------------------- /Chapter06/socketio/miniindex.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/miniindex.html -------------------------------------------------------------------------------- /Chapter06/socketio/miniserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/miniserver.js -------------------------------------------------------------------------------- /Chapter06/socketio/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/package.json -------------------------------------------------------------------------------- /Chapter06/socketio/pointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/pointer.png -------------------------------------------------------------------------------- /Chapter06/socketio/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/script.js -------------------------------------------------------------------------------- /Chapter06/socketio/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/socketio/server.js -------------------------------------------------------------------------------- /Chapter06/sse/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sse/README.MD -------------------------------------------------------------------------------- /Chapter06/sse/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sse/index.html -------------------------------------------------------------------------------- /Chapter06/sse/min_client.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sse/min_client.html -------------------------------------------------------------------------------- /Chapter06/sse/min_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sse/min_server.js -------------------------------------------------------------------------------- /Chapter06/sse/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sse/package.json -------------------------------------------------------------------------------- /Chapter06/sse/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter06/sse/server.js -------------------------------------------------------------------------------- /Chapter07/cluster.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/cluster.js -------------------------------------------------------------------------------- /Chapter07/httpchild.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/httpchild.js -------------------------------------------------------------------------------- /Chapter07/httpcluster.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/httpcluster.js -------------------------------------------------------------------------------- /Chapter07/httpparent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/httpparent.js -------------------------------------------------------------------------------- /Chapter07/logproc/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/logproc/README.MD -------------------------------------------------------------------------------- /Chapter07/logproc/bin/async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/logproc/bin/async.js -------------------------------------------------------------------------------- /Chapter07/logproc/bin/master.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/logproc/bin/master.js -------------------------------------------------------------------------------- /Chapter07/logproc/bin/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/logproc/bin/worker.js -------------------------------------------------------------------------------- /Chapter07/logproc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/logproc/package.json -------------------------------------------------------------------------------- /Chapter07/logproc/short.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/logproc/short.log -------------------------------------------------------------------------------- /Chapter07/pm2/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/pm2/README.MD -------------------------------------------------------------------------------- /Chapter07/pm2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/pm2/package.json -------------------------------------------------------------------------------- /Chapter07/pm2/process.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/pm2/process.json -------------------------------------------------------------------------------- /Chapter07/pm2/programmatic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/pm2/programmatic.js -------------------------------------------------------------------------------- /Chapter07/pm2/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/pm2/script.js -------------------------------------------------------------------------------- /Chapter07/pm2/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/pm2/server.js -------------------------------------------------------------------------------- /Chapter07/watcher/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/watcher/README.MD -------------------------------------------------------------------------------- /Chapter07/watcher/admin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/watcher/admin.html -------------------------------------------------------------------------------- /Chapter07/watcher/client.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/watcher/client.html -------------------------------------------------------------------------------- /Chapter07/watcher/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/watcher/package.json -------------------------------------------------------------------------------- /Chapter07/watcher/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/watcher/server.js -------------------------------------------------------------------------------- /Chapter07/watcher/sock-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/watcher/sock-worker.js -------------------------------------------------------------------------------- /Chapter07/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter07/worker.js -------------------------------------------------------------------------------- /Chapter08/amazon/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/_DS_Store -------------------------------------------------------------------------------- /Chapter08/amazon/dynamo-create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/dynamo-create.js -------------------------------------------------------------------------------- /Chapter08/amazon/dynamo-put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/dynamo-put.js -------------------------------------------------------------------------------- /Chapter08/amazon/dynamo-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/dynamo-query.js -------------------------------------------------------------------------------- /Chapter08/amazon/dynamo-scan.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/dynamo-scan.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-createbucket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-createbucket.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-delete.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-getstream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-getstream.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-listbuckets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-listbuckets.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-mounting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-mounting.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-putobject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-putobject.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-putstream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-putstream.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3-redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3-redirect.js -------------------------------------------------------------------------------- /Chapter08/amazon/s3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/s3.js -------------------------------------------------------------------------------- /Chapter08/amazon/ses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/ses.js -------------------------------------------------------------------------------- /Chapter08/amazon/testimage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/amazon/testimage.jpg -------------------------------------------------------------------------------- /Chapter08/balancer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/balancer.js -------------------------------------------------------------------------------- /Chapter08/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/config.json -------------------------------------------------------------------------------- /Chapter08/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/nginx.conf -------------------------------------------------------------------------------- /Chapter08/os.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/os.js -------------------------------------------------------------------------------- /Chapter08/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/package.json -------------------------------------------------------------------------------- /Chapter08/proxy-remote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/proxy-remote.js -------------------------------------------------------------------------------- /Chapter08/rabbit/consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/rabbit/consumer.js -------------------------------------------------------------------------------- /Chapter08/rabbit/direct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/rabbit/direct.js -------------------------------------------------------------------------------- /Chapter08/rabbit/publisher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/rabbit/publisher.js -------------------------------------------------------------------------------- /Chapter08/rabbit/topic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/rabbit/topic.js -------------------------------------------------------------------------------- /Chapter08/routing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/routing.js -------------------------------------------------------------------------------- /Chapter08/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/server.js -------------------------------------------------------------------------------- /Chapter08/switchboard/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/README.md -------------------------------------------------------------------------------- /Chapter08/switchboard/_gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/_gitignore -------------------------------------------------------------------------------- /Chapter08/switchboard/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/package.json -------------------------------------------------------------------------------- /Chapter08/switchboard/router/Db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/router/Db/index.js -------------------------------------------------------------------------------- /Chapter08/switchboard/router/clientMap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/router/clientMap.js -------------------------------------------------------------------------------- /Chapter08/switchboard/router/dataStream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/router/dataStream.js -------------------------------------------------------------------------------- /Chapter08/switchboard/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/router/index.js -------------------------------------------------------------------------------- /Chapter08/switchboard/router/sms/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/router/sms/index.js -------------------------------------------------------------------------------- /Chapter08/switchboard/router/sms/sendResponse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/switchboard/router/sms/sendResponse.js -------------------------------------------------------------------------------- /Chapter08/switchboard/server.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./router'); -------------------------------------------------------------------------------- /Chapter08/thankyou/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/README.md -------------------------------------------------------------------------------- /Chapter08/thankyou/_env: -------------------------------------------------------------------------------- 1 | SWITCHBOARD_URL=https://stormy-everglades-38882.herokuapp.com/ -------------------------------------------------------------------------------- /Chapter08/thankyou/_eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /Chapter08/thankyou/_gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/_gitignore -------------------------------------------------------------------------------- /Chapter08/thankyou/gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/gulpfile.js -------------------------------------------------------------------------------- /Chapter08/thankyou/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/index.js -------------------------------------------------------------------------------- /Chapter08/thankyou/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/package.json -------------------------------------------------------------------------------- /Chapter08/thankyou/pm2.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/pm2.config.js -------------------------------------------------------------------------------- /Chapter08/thankyou/public/css/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/public/css/app.css -------------------------------------------------------------------------------- /Chapter08/thankyou/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/public/index.html -------------------------------------------------------------------------------- /Chapter08/thankyou/public/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/public/js/app.js -------------------------------------------------------------------------------- /Chapter08/thankyou/public/js/components.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/public/js/components.js -------------------------------------------------------------------------------- /Chapter08/thankyou/public/js/socketConnector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/public/js/socketConnector.js -------------------------------------------------------------------------------- /Chapter08/thankyou/router/bindSocketServer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/router/bindSocketServer.js -------------------------------------------------------------------------------- /Chapter08/thankyou/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/router/index.js -------------------------------------------------------------------------------- /Chapter08/thankyou/router/transformers/accumulator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/router/transformers/accumulator.js -------------------------------------------------------------------------------- /Chapter08/thankyou/router/transformers/arrayToStream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/router/transformers/arrayToStream.js -------------------------------------------------------------------------------- /Chapter08/thankyou/router/transformers/sentiment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/router/transformers/sentiment.js -------------------------------------------------------------------------------- /Chapter08/thankyou/router/transformers/time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/router/transformers/time.js -------------------------------------------------------------------------------- /Chapter08/thankyou/source/jsx/MessageComposer.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/source/jsx/MessageComposer.jsx -------------------------------------------------------------------------------- /Chapter08/thankyou/source/jsx/Timeline.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/source/jsx/Timeline.jsx -------------------------------------------------------------------------------- /Chapter08/thankyou/source/scripts/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/source/scripts/app.js -------------------------------------------------------------------------------- /Chapter08/thankyou/source/scripts/socketConnector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/source/scripts/socketConnector.js -------------------------------------------------------------------------------- /Chapter08/thankyou/source/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/source/styles/main.css -------------------------------------------------------------------------------- /Chapter08/thankyou/source/styles/timeline.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/source/styles/timeline.css -------------------------------------------------------------------------------- /Chapter08/thankyou/source/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/thankyou/source/views/index.html -------------------------------------------------------------------------------- /Chapter08/udp/clientserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/udp/clientserver.js -------------------------------------------------------------------------------- /Chapter08/udp/combined.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/udp/combined.js -------------------------------------------------------------------------------- /Chapter08/udp/multicast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/udp/multicast.js -------------------------------------------------------------------------------- /Chapter08/udp/receive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/udp/receive.js -------------------------------------------------------------------------------- /Chapter08/udp/send.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter08/udp/send.js -------------------------------------------------------------------------------- /Chapter09/claudia/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/claudia/app.js -------------------------------------------------------------------------------- /Chapter09/claudia/claudia.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/claudia/claudia.json -------------------------------------------------------------------------------- /Chapter09/claudia/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/claudia/package-lock.json -------------------------------------------------------------------------------- /Chapter09/claudia/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/claudia/package.json -------------------------------------------------------------------------------- /Chapter09/claudia/testdata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/claudia/testdata.json -------------------------------------------------------------------------------- /Chapter09/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/docker/Dockerfile -------------------------------------------------------------------------------- /Chapter09/docker/_dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log -------------------------------------------------------------------------------- /Chapter09/docker/app/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/docker/app/index.js -------------------------------------------------------------------------------- /Chapter09/docker/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/docker/app/package.json -------------------------------------------------------------------------------- /Chapter09/kubernetes/rerouter/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/kubernetes/rerouter/Dockerfile -------------------------------------------------------------------------------- /Chapter09/kubernetes/rerouter/app/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/kubernetes/rerouter/app/index.js -------------------------------------------------------------------------------- /Chapter09/kubernetes/rerouter/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/kubernetes/rerouter/app/package.json -------------------------------------------------------------------------------- /Chapter09/kubernetes/rerouter/app/public/index.html: -------------------------------------------------------------------------------- 1 | Hi there -------------------------------------------------------------------------------- /Chapter09/kubernetes/responder/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/kubernetes/responder/Dockerfile -------------------------------------------------------------------------------- /Chapter09/kubernetes/responder/app/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/kubernetes/responder/app/index.js -------------------------------------------------------------------------------- /Chapter09/kubernetes/responder/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/kubernetes/responder/app/package.json -------------------------------------------------------------------------------- /Chapter09/kubernetes/three-containers.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/kubernetes/three-containers.yaml -------------------------------------------------------------------------------- /Chapter09/seneca/add.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/seneca/add.js -------------------------------------------------------------------------------- /Chapter09/seneca/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/seneca/base.js -------------------------------------------------------------------------------- /Chapter09/seneca/calculator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/seneca/calculator.js -------------------------------------------------------------------------------- /Chapter09/seneca/hellogoodbye.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/seneca/hellogoodbye.js -------------------------------------------------------------------------------- /Chapter09/seneca/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/seneca/package.json -------------------------------------------------------------------------------- /Chapter09/seneca/subtract.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter09/seneca/subtract.js -------------------------------------------------------------------------------- /Chapter10/assertthrows.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/assertthrows.js -------------------------------------------------------------------------------- /Chapter10/console-timer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/console-timer.js -------------------------------------------------------------------------------- /Chapter10/custom-colors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/custom-colors.js -------------------------------------------------------------------------------- /Chapter10/custom-inspect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/custom-inspect.js -------------------------------------------------------------------------------- /Chapter10/debug-sample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/debug-sample.js -------------------------------------------------------------------------------- /Chapter10/deepequal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/deepequal.js -------------------------------------------------------------------------------- /Chapter10/errorstack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/errorstack.js -------------------------------------------------------------------------------- /Chapter10/es6/destructuring.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/es6/destructuring.js -------------------------------------------------------------------------------- /Chapter10/es6/function_rest_pattern.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/es6/function_rest_pattern.js -------------------------------------------------------------------------------- /Chapter10/es6/main_example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/es6/main_example.js -------------------------------------------------------------------------------- /Chapter10/es6/spread.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/es6/spread.js -------------------------------------------------------------------------------- /Chapter10/new_vs_this_context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/new_vs_this_context.js -------------------------------------------------------------------------------- /Chapter10/stackhead.js: -------------------------------------------------------------------------------- 1 | console.trace("The Stack Head") -------------------------------------------------------------------------------- /Chapter10/stacktrace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/stacktrace.js -------------------------------------------------------------------------------- /Chapter10/suspectcode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/suspectcode.js -------------------------------------------------------------------------------- /Chapter10/testing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/package.json -------------------------------------------------------------------------------- /Chapter10/testing/profiling/dummy.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/profiling/dummy.log -------------------------------------------------------------------------------- /Chapter10/testing/profiling/heapdumper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/profiling/heapdumper.js -------------------------------------------------------------------------------- /Chapter10/testing/profiling/logreader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/profiling/logreader.js -------------------------------------------------------------------------------- /Chapter10/testing/profiling/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/profiling/server.js -------------------------------------------------------------------------------- /Chapter10/testing/scripts/Caller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/scripts/Caller.js -------------------------------------------------------------------------------- /Chapter10/testing/scripts/Capitalizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/scripts/Capitalizer.js -------------------------------------------------------------------------------- /Chapter10/testing/scripts/http_stub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/scripts/http_stub.js -------------------------------------------------------------------------------- /Chapter10/testing/scripts/mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/scripts/mock.js -------------------------------------------------------------------------------- /Chapter10/testing/scripts/spy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/scripts/spy.js -------------------------------------------------------------------------------- /Chapter10/testing/spec/helpers/chai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/spec/helpers/chai.js -------------------------------------------------------------------------------- /Chapter10/testing/spec/mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/spec/mocks.js -------------------------------------------------------------------------------- /Chapter10/testing/spec/mocks_capitalize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/spec/mocks_capitalize.js -------------------------------------------------------------------------------- /Chapter10/testing/spec/nightmare.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/spec/nightmare.js -------------------------------------------------------------------------------- /Chapter10/testing/spec/puppeteer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/spec/puppeteer.js -------------------------------------------------------------------------------- /Chapter10/testing/spec/spies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/spec/spies.js -------------------------------------------------------------------------------- /Chapter10/testing/spec/stubs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/testing/spec/stubs.js -------------------------------------------------------------------------------- /Chapter10/vm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/Chapter10/vm.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-Node.js-Second-Edition/HEAD/README.md --------------------------------------------------------------------------------