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 (see README). - deno: Deno branch for use in Deno (see README).
- umd: UMD branch for use in Observable, or in dual browser/Node.js environments (see README).
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/@stdlib/random/iter/box-muller"
%% click B href "https://github.com/stdlib-js/random-iter-box-muller/tree/main"
%% click C href "https://github.com/stdlib-js/random-iter-box-muller/tree/production"
%% click D href "https://github.com/stdlib-js/random-iter-box-muller/tree/esm"
%% click E href "https://github.com/stdlib-js/random-iter-box-muller/tree/deno"
%% click F href "https://github.com/stdlib-js/random-iter-box-muller/tree/umd"