diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index 9eb4a52..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2024-01-01T05:28:09.580Z diff --git a/NOTICE b/NOTICE index f7aca1b..e6e7482 100644 --- a/NOTICE +++ b/NOTICE @@ -1 +1 @@ -Copyright (c) 2016-2023 The Stdlib Authors. +Copyright (c) 2016-2024 The Stdlib Authors. diff --git a/README.md b/README.md index 92ad24f..e79824a 100644 --- a/README.md +++ b/README.md @@ -55,12 +55,14 @@ npm install @stdlib/ndarray-broadcast-array Alternatively, -- To load the package in a website via a `script` tag without installation and bundlers, use the [ES Module][es-module] available on the [`esm` branch][esm-url]. -- If you are using Deno, visit the [`deno` branch][deno-url]. -- For use in Observable, or in browser/node environments, use the [Universal Module Definition (UMD)][umd] build available on the [`umd` branch][umd-url]. +- To load the package in a website via a `script` tag without installation and bundlers, use the [ES Module][es-module] available on the [`esm`][esm-url] branch (see [README][esm-readme]). +- If you are using Deno, visit the [`deno`][deno-url] branch (see [README][deno-readme] for usage intructions). +- For use in Observable, or in browser/node environments, use the [Universal Module Definition (UMD)][umd] build available on the [`umd`][umd-url] branch (see [README][umd-readme]). The [branches.md][branches-url] file summarizes the available branches and displays a diagram illustrating their relationships. +To view installation and usage instructions specific to each branch build, be sure to explicitly navigate to the respective README files on each branch, as linked to above. +
@@ -162,6 +164,7 @@ for ( i = 0; i < N; i++ ) { ## See Also - [`@stdlib/ndarray-array`][@stdlib/ndarray/array]: multidimensional arrays. +- [`@stdlib/ndarray-broadcast-arrays`][@stdlib/ndarray/broadcast-arrays]: broadcast ndarrays to a common shape. - [`@stdlib/ndarray-ctor`][@stdlib/ndarray/ctor]: multidimensional array constructor. - [`@stdlib/ndarray-maybe-broadcast-array`][@stdlib/ndarray/maybe-broadcast-array]: broadcast an ndarray to a specified shape if and only if the specified shape differs from the provided ndarray's shape. @@ -232,8 +235,11 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules [deno-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/deno +[deno-readme]: https://github.com/stdlib-js/ndarray-broadcast-array/blob/deno/README.md [umd-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/umd +[umd-readme]: https://github.com/stdlib-js/ndarray-broadcast-array/blob/umd/README.md [esm-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/esm +[esm-readme]: https://github.com/stdlib-js/ndarray-broadcast-array/blob/esm/README.md [branches-url]: https://github.com/stdlib-js/ndarray-broadcast-array/blob/main/branches.md [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/ndarray-broadcast-array/main/LICENSE @@ -246,6 +252,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [@stdlib/ndarray/array]: https://github.com/stdlib-js/ndarray-array +[@stdlib/ndarray/broadcast-arrays]: https://github.com/stdlib-js/ndarray-broadcast-arrays + [@stdlib/ndarray/maybe-broadcast-array]: https://github.com/stdlib-js/ndarray-maybe-broadcast-array diff --git a/branches.md b/branches.md index cd0a781..3d59769 100644 --- a/branches.md +++ b/branches.md @@ -24,9 +24,9 @@ This repository has the following branches: - **main**: default branch generated from the [stdlib project][stdlib-url], where all development takes place. - **production**: [production build][production-url] 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][esm-url] branch for use via a `script` tag without the need for installation and bundlers. -- **deno**: [Deno][deno-url] branch for use in Deno. -- **umd**: [UMD][umd-url] branch for use in Observable, or in dual browser/Node.js environments. +- **esm**: [ES Module][esm-url] branch for use via a `script` tag without the need for installation and bundlers (see [README][esm-readme]). +- **deno**: [Deno][deno-url] branch for use in Deno (see [README][deno-readme]). +- **umd**: [UMD][umd-url] branch for use in Observable, or in dual browser/Node.js environments (see [README][umd-readme]). The following diagram illustrates the relationships among the above branches: @@ -49,5 +49,8 @@ C -->|bundle| F[umd]; [stdlib-url]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/broadcast-array [production-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/production [deno-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/deno +[deno-readme]: https://github.com/stdlib-js/ndarray-broadcast-array/blob/deno/README.md [umd-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/umd -[esm-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/esm \ No newline at end of file +[umd-readme]: https://github.com/stdlib-js/ndarray-broadcast-array/blob/umd/README.md +[esm-url]: https://github.com/stdlib-js/ndarray-broadcast-array/tree/esm +[esm-readme]: https://github.com/stdlib-js/ndarray-broadcast-array/blob/esm/README.md \ No newline at end of file diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index d637a45..d4ec248 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -38,7 +38,7 @@ import { typedndarray, Shape } from '@stdlib/types/ndarray'; * @returns broadcasted array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray-array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns