This repository has the following branches:
- main: default branch generated from the stdlib project, where all development takes place.
- production: production build of the package (e.g., reformatted error messages to reduce bundle sizes and thus the number of bytes transmitted over a network).
- esm: ES Module branch for use via a
script
tag without the need for installation and bundlers. - deno: Deno branch for use in Deno.
- umd: UMD branch for use in Observable, or in dual browser/Node.js environments.
The following diagram illustrates the relationships among the above branches:
graph TD;
A[stdlib]-->|generate standalone package|B;
B[main] -->|productionize| C[production];
C -->|bundle| D[esm];
C -->|bundle| E[deno];
C -->|bundle| F[umd];
click A href "https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/discrete-uniform/ctor"
click B href "https://github.com/stdlib-js/stats-base-dists-discrete-uniform-ctor/tree/main"
click C href "https://github.com/stdlib-js/stats-base-dists-discrete-uniform-ctor/tree/production"
click D href "https://github.com/stdlib-js/stats-base-dists-discrete-uniform-ctor/tree/esm"
click E href "https://github.com/stdlib-js/stats-base-dists-discrete-uniform-ctor/tree/deno"
click F href "https://github.com/stdlib-js/stats-base-dists-discrete-uniform-ctor/tree/umd"