Index

As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.

A

abstract syntax tree (AST) 55, 56

reference link 55

a.js 15, 22, 24

Angular 3

app.mjs 163

AssemblyScript 164

WASM, writing with 164-167

Asynchronous Module Definition (AMD) 20

specification 20-22

auxiliary tooling 66, 67

AVA test runner 109, 116

using 116-118

B

Babel 51

integrating 52-58

reference link 53

b.js 23, 25

black box tests 106

blocking I/O 7

breakpoints 12

Browserify 83

Bun 83

benefits 175

used, for bundling web apps 175-178

bundlers 80-83

comparing 83-89

C

C/C++ libraries 6

Chai 109

Chrome 5

Chrome DevTools 12

CommonJS 13-15

implementations 13

cross-platform nature 5

cross-platform tool

publishing 139-141

CSS 73

Cypress 120

using, for end-to-end testing 120-123

D

Deno 46

benefits 170

reference link 46

runtime, exploring 170-175

E

ECMAScript Module (ESM) standard 71

using 18, 19

EditorConfig 77

example 77, 78

end-to-end testing 106

with Cypress 120-123

entry points 81

esbuild 83

using 95-99

ESLint 65

advantages 71

alternatives 71

global, versus local installations 68

using 67-73

event loop 6-9

events.js script 8

F

fail.html 27

Flow 51

using 59-61

formatters 65

full test framework 109

versus test runners 109, 110

G

global scope 13

glob package 77

reference link 77

gray-box testing 107

Grunt 80

Gulp 80

GYP 5

H

host-cjs.js 26

host-esm.js 26

host.js 15

hot-module reloading (HMR) 84

HTTP requests 6

I

import map 27, 28

index.js 57

index.ts 62, 166

isomorphic libraries

writing 136-139

J

JavaScript

flavors 51

JavaScriptCore 175

JavaScript engine (V8) 5

Java Virtual Machine (JVM) 159

Jest test framework 110

using 110-114

JSHint 71

JSON 27

JSX 52, 84

K

Karma 109

L

lazy loading 85

Lerna

monorepos, managing with 149-152

Turborepo, integrating with 154-157

Less 73

libuv library 6

linters 65, 67

linting 67

Lisp 161

M

Makefiles 80

matcher 113

Microsoft Intermediate Language (MSIL) 159

minification 82

Mocha framework 114

using 114-116

modules 4

module.ts 165

MongoDB 13

monorepos 144-147

implementing, with workspaces 147-149

managing, with Lerna 149-152

managing, with Nx to enhance Lerna 157, 158

N

native modules 5

nginx web server 4

node 10

Node.js 3

architecture 4-6

from command line 10-12

WASM, running 163, 164

non-blocking I/O 7

npm 10, 33

using 34-37

.npmrc

npm registry, selecting via 133, 134

npm registry

reference link 34

selecting, via ,npmrc 133, 134

npx 10, 68

nvm 37

O

official registry

publishing to 128-132

P

package 15

package.json

fundamentals 29, 30

Parcel

using 99-101

parsing 55

Playwright

using, for visual tests 118-120

pnpm 33

using 43-46

Prettier 65, 75

setting up 75-77

Q

quick-lint-js 71

R

React 3, 84

reactor design pattern 8

RequireJS 13, 20

example 20

Rome 71

Rush

working with, for larger repositories 152-154

Rust 170

S

Safari 175

Sass 73

SCSS 73

semantic versioning (semver) 29

semicolons, in JavaScript 67

side effects 14

single-page application (SPA) 85

Software Package Data Exchange (SPDX) 30

static type checker 59

Stylelint 65, 73

installing 73-75

success.html 28

SugarCSS 73

sum.wat 161

SystemJS 25-29

T

testing pyramid 106-108

test runners 109

versus full test frameworks 109, 110

thread 5

Tokio 170

URL 170

transpilation 52

transpiler 52

tsconfig.json 63

Turborepo 46

integrating, with Lerna 154-157

TypeScript 51, 61

using 61-63

U

UI tests 106

unit tests 107

Universal Module Definition (UMD) 23

specification 23-25

V

V8 170

Verdaccio 46

setting up 134-136

visual tests

with Playwright 118-120

Vite 83

using 102, 103

W

Wasmer 160

Wasmtime 160

wat2wasm 162

reference link 162

web apps

bundling, with Bun 175-178

WebAssembly System Interface (WASI) 160

reference link 160

specification 160

WebAssembly (WASM) 160

advantages 160

debugging 166

example 161, 162

running, in Node.js 163, 164

writing, with AssemblyScript 164-167

Webkit 175

Webpack 83

using 89-95

Windows Subsystem for Linux (WSL) 176

workspaces

using, to implement monorepos 147-149

Y

Yarn 33

using 37-42

Yarn workspaces 147

Z

Zig 175

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset