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/%40stdlib/complex/ctors"
%% click B href "https://github.com/stdlib-js/complex-ctors/tree/main"
%% click C href "https://github.com/stdlib-js/complex-ctors/tree/production"
%% click D href "https://github.com/stdlib-js/complex-ctors/tree/esm"
%% click E href "https://github.com/stdlib-js/complex-ctors/tree/deno"
%% click F href "https://github.com/stdlib-js/complex-ctors/tree/umd"