├── newfile1.txt ├── Chapter11 ├── source │ ├── handlers.js │ ├── row.template │ ├── main.css │ ├── BaseServiceWorker.js │ ├── interactions.js │ ├── index.html │ └── CacheServiceWorker.js ├── offline_storage │ ├── main.css │ ├── interactions.js │ ├── index.html │ └── OfflineCacheWorker.js └── app.js ├── Chapter13 ├── useless.wat ├── hello_world.c ├── external.js ├── extern.c ├── c_index.html ├── fizzbuzz.c ├── sharing_resources.wat ├── math.wat ├── index.html ├── first.wat ├── hamming.c └── sqltest │ └── index.html ├── Chapter12 ├── test │ ├── test_cache.txt │ ├── tests.test.js │ └── cache.tester.js ├── publish │ ├── second.md │ ├── first.md │ └── further │ │ └── three.md ├── main-sass.js ├── template │ ├── html │ │ ├── footer.html │ │ ├── sidebar.html │ │ └── header.html │ ├── main.html │ └── stylesheets │ │ └── main.scss ├── build │ ├── rollup.sass.config.js │ └── rollup.config.js ├── package.json ├── LICENSE ├── cache.js ├── .circleci │ └── config.yml ├── .gitignore ├── main.js └── template.js ├── Chapter01 ├── main.css ├── jsperf_code.html ├── fake_library.js ├── benchmark.html ├── chrome_rendering_deferred.html ├── chrome_rendering.html ├── shader_editor.html └── chrome_performance.html ├── Chapter09 └── microserve │ ├── publish │ ├── second.md │ ├── first.md │ └── further │ │ └── three.md │ ├── template │ ├── html │ │ ├── footer.html │ │ ├── sidebar.html │ │ └── header.html │ ├── main.html │ └── css │ │ └── main.css │ ├── package.json │ ├── cache.js │ └── main.js ├── Chapter06 ├── http2server │ ├── static │ │ ├── main.js │ │ ├── main.css │ │ └── index.html │ ├── package.json │ ├── basic.js │ ├── server.crt.pem │ ├── server.key.pem │ └── server.js ├── package.json ├── local │ ├── package.json │ ├── helper.js │ ├── send.js │ ├── cache.js │ └── main.js ├── cluster │ ├── package.json │ └── main.js ├── datagram │ ├── package.json │ ├── price.js │ ├── client.js │ └── main.js ├── quic │ ├── package.json │ ├── client.js │ └── main.js ├── worker.js └── main_worker.js ├── Chapter08 ├── schema │ ├── test.json │ ├── package.json │ ├── test2.json │ ├── main.js │ ├── example.js │ ├── helper.js │ ├── encoder.js │ └── decoder.js ├── json │ ├── package.json │ ├── jsonformat.json │ └── main.js ├── protobuf │ ├── test.proto │ ├── package.json │ └── main.js └── messagepack │ ├── package.json │ └── main.js ├── Chapter05 ├── import_script.js ├── require_script.js ├── example.js ├── example.txt ├── main.js ├── child.js ├── first_fs.js ├── package.json ├── bad_code.js ├── http_get.js ├── named_pipe_child.js ├── named_pipe.js ├── parent_child_pipe.js ├── http_server.js ├── custom_transform.js └── read_file_stream.js ├── Chapter03 ├── lib2.js ├── lib.js ├── node │ ├── app.js │ └── server.js ├── server.js ├── arrow_functions.html ├── variables.html ├── modules.html ├── collections.html ├── reflection_proxy.html ├── custom_tooltip.html ├── dom.html ├── other_changes.html ├── fetch.html └── prototype_and_classes.html ├── Chapter04 ├── todo │ ├── src │ │ ├── todo_store.js │ │ ├── stores.js │ │ ├── main.js │ │ ├── Todo.svelte │ │ └── App.svelte │ └── public │ │ └── global.css └── weather │ ├── src │ ├── main.js │ ├── App.svelte │ ├── WeatherOutput.svelte │ ├── WeatherInput.svelte │ ├── stores.js │ └── Dropdown.svelte │ └── public │ └── global.css ├── Chapter07 ├── batch │ ├── package.json │ ├── main.js │ ├── count.js │ └── simple_readable.js ├── duplex │ ├── package.json │ └── main.js ├── generators │ ├── temp.txt │ ├── package.json │ └── generators.js ├── harness │ ├── package.json │ ├── client.js │ ├── writable_server.js │ └── server.js ├── readable │ ├── package.json │ └── main.js ├── transform │ ├── package.json │ └── main.js └── writable │ ├── package.json │ └── main.js ├── Chapter10 ├── test.js ├── worker_to_shared.js ├── largeObject.js ├── cache_shared.js ├── shared.js ├── worker.js ├── cache.html └── worker.html ├── Chapter02 ├── safe_state_module.js ├── not_deep_copy.html ├── currying.js ├── null_resources.html ├── generator.js ├── immutable.html └── safe_mutable.html ├── README.md └── LICENSE /newfile1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter11/source/handlers.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13/useless.wat: -------------------------------------------------------------------------------- 1 | (module) -------------------------------------------------------------------------------- /Chapter11/offline_storage/main.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter12/test/test_cache.txt: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /Chapter12/publish/second.md: -------------------------------------------------------------------------------- 1 | # Another file! -------------------------------------------------------------------------------- /Chapter01/main.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin : 0; 3 | } -------------------------------------------------------------------------------- /Chapter09/microserve/publish/second.md: -------------------------------------------------------------------------------- 1 | # Another file! -------------------------------------------------------------------------------- /Chapter12/publish/first.md: -------------------------------------------------------------------------------- 1 | # This is our first article -------------------------------------------------------------------------------- /Chapter06/http2server/static/main.js: -------------------------------------------------------------------------------- 1 | console.log('we have data'); -------------------------------------------------------------------------------- /Chapter09/microserve/publish/first.md: -------------------------------------------------------------------------------- 1 | # This is our first article -------------------------------------------------------------------------------- /Chapter06/http2server/static/main.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | color : blue; 3 | } -------------------------------------------------------------------------------- /Chapter12/publish/further/three.md: -------------------------------------------------------------------------------- 1 | # This is inside our further directory! -------------------------------------------------------------------------------- /Chapter09/microserve/publish/further/three.md: -------------------------------------------------------------------------------- 1 | # This is inside our further directory! -------------------------------------------------------------------------------- /Chapter08/schema/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "item1" : "item", 3 | "item2" : 12, 4 | "item3" : 3.3 5 | } -------------------------------------------------------------------------------- /Chapter05/import_script.js: -------------------------------------------------------------------------------- 1 | import os from 'os'; 2 | 3 | console.log(os.arch()); 4 | console.log(os.cpus()); -------------------------------------------------------------------------------- /Chapter05/require_script.js: -------------------------------------------------------------------------------- 1 | const os = require('os'); 2 | 3 | console.log(os.arch()); 4 | console.log(os.cpus()); -------------------------------------------------------------------------------- /Chapter06/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "Chapter6", 3 | "version" : "0.0.1", 4 | "type" : "module" 5 | } -------------------------------------------------------------------------------- /Chapter12/main-sass.js: -------------------------------------------------------------------------------- 1 | import main_sass from './template/stylesheets/main.scss' 2 | 3 | export default main_sass; -------------------------------------------------------------------------------- /Chapter08/json/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version" : "0.0.1", 3 | "name" : "json", 4 | "type" : "module" 5 | } -------------------------------------------------------------------------------- /Chapter08/schema/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version" : "0.0.1", 3 | "name" : "schema", 4 | "type" : "module" 5 | } -------------------------------------------------------------------------------- /Chapter11/source/row.template: -------------------------------------------------------------------------------- 1 |