Branches
February 15, 2024 ยท View on GitHub
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
scripttag 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/%40stdlib/random/base/binomial" %% click B href "https://github.com/stdlib-js/random-base-binomial/tree/main" %% click C href "https://github.com/stdlib-js/random-base-binomial/tree/production" %% click D href "https://github.com/stdlib-js/random-base-binomial/tree/esm" %% click E href "https://github.com/stdlib-js/random-base-binomial/tree/deno" %% click F href "https://github.com/stdlib-js/random-base-binomial/tree/umd"