How stdlib-js/stdlib works
stdlib is a decomposable JavaScript/C standard library for numerical and scientific computing, with Node.js and browser use. A typical user imports the package, accesses its top-level namespace, then uses a domain API to compute or process data. The tree also exposes repository-wide JavaScript and Markdown quality tooling. README-described library capabilities are represented by namespace-level nodes; their individual implementations are not present in the supplied tree, so the namespace registrations in lib/main.js are the available source evidence.
Main entry points: main.js Top-level namespace · lib/index.js Package import · lint/index.js Markdown lint rules · eslint.config.js ESLint configuration
Components 21
Package entry
- Package import
lib/index.js - Top-level namespace
lib/main.js
Numerical computing
- Math and special functions
lib/main.js - Statistics and distributions
lib/main.js - Random generators
lib/main.js - BLAS and linear algebra
lib/main.js
Data and developer APIs
- Plotting and analysis
lib/main.js - Sample datasets
lib/main.js - Streams and processing
lib/main.js - Benchmark framework
lib/main.js - REPL and help
lib/main.js
General utilities
- Assertions
lib/main.js - General utilities
lib/main.js
Repository quality tooling
- ESLint rules
etc/eslint/rules/typescript.js - ESLint configuration
eslint.config.js - Markdown plugin set
etc/remark/plugins/base.js - Markdown lint rules
etc/remark/plugins/lint/index.js - JSDoc lint plugins
etc/remark/plugins/lint/jsdoc.js - Config object copy
etc/eslint/utils/copy.js - Config object merge
etc/eslint/utils/merge.js
Other components
- Library user
Connections 17
- Library user → Package import: imports
lib/index.js - Package import → Top-level namespace: loads
lib/index.js - Top-level namespace → Math and special functions: registers
lib/main.js - Top-level namespace → Statistics and distributions: registers
lib/main.js - Top-level namespace → Random generators: registers
lib/main.js - Top-level namespace → BLAS and linear algebra: registers
lib/main.js - Top-level namespace → Plotting and analysis: registers
lib/main.js - Top-level namespace → Sample datasets: registers
lib/main.js - Top-level namespace → Streams and processing: registers
lib/main.js - Top-level namespace → Benchmark framework: registers
lib/main.js - Top-level namespace → REPL and help: registers
lib/main.js - Top-level namespace → Assertions: registers
lib/main.js - Top-level namespace → General utilities: registers
lib/main.js - ESLint configuration → ESLint rules: loads rules
eslint.config.js - Markdown plugin set → Markdown lint rules: includes
etc/remark/plugins/base.js - JSDoc lint plugins → Markdown lint rules: includes
- Config object merge → Config object copy: copies values
etc/eslint/utils/merge.js