@stdlib/ndarray-flags 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -153,6 +153,14 @@ for ( i = 0; i < slices.length; i++ ) {
153
153
 
154
154
  <section class="related">
155
155
 
156
+ * * *
157
+
158
+ ## See Also
159
+
160
+ - <span class="package-name">[`@stdlib/ndarray-array`][@stdlib/ndarray/array]</span><span class="delimiter">: </span><span class="description">multidimensional arrays.</span>
161
+ - <span class="package-name">[`@stdlib/ndarray-ctor`][@stdlib/ndarray/ctor]</span><span class="delimiter">: </span><span class="description">multidimensional array constructor.</span>
162
+ - <span class="package-name">[`@stdlib/ndarray-flag`][@stdlib/ndarray/flag]</span><span class="delimiter">: </span><span class="description">return a specified flag for a provided ndarray.</span>
163
+
156
164
  </section>
157
165
 
158
166
  <!-- /.related -->
@@ -196,8 +204,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
196
204
  [npm-image]: http://img.shields.io/npm/v/@stdlib/ndarray-flags.svg
197
205
  [npm-url]: https://npmjs.org/package/@stdlib/ndarray-flags
198
206
 
199
- [test-image]: https://github.com/stdlib-js/ndarray-flags/actions/workflows/test.yml/badge.svg?branch=v0.1.0
200
- [test-url]: https://github.com/stdlib-js/ndarray-flags/actions/workflows/test.yml?query=branch:v0.1.0
207
+ [test-image]: https://github.com/stdlib-js/ndarray-flags/actions/workflows/test.yml/badge.svg?branch=v0.2.1
208
+ [test-url]: https://github.com/stdlib-js/ndarray-flags/actions/workflows/test.yml?query=branch:v0.2.1
201
209
 
202
210
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-flags/main.svg
203
211
  [coverage-url]: https://codecov.io/github/stdlib-js/ndarray-flags?branch=main
@@ -220,14 +228,25 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
220
228
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
221
229
 
222
230
  [deno-url]: https://github.com/stdlib-js/ndarray-flags/tree/deno
231
+ [deno-readme]: https://github.com/stdlib-js/ndarray-flags/blob/deno/README.md
223
232
  [umd-url]: https://github.com/stdlib-js/ndarray-flags/tree/umd
233
+ [umd-readme]: https://github.com/stdlib-js/ndarray-flags/blob/umd/README.md
224
234
  [esm-url]: https://github.com/stdlib-js/ndarray-flags/tree/esm
235
+ [esm-readme]: https://github.com/stdlib-js/ndarray-flags/blob/esm/README.md
225
236
  [branches-url]: https://github.com/stdlib-js/ndarray-flags/blob/main/branches.md
226
237
 
227
238
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/ndarray-flags/main/LICENSE
228
239
 
229
240
  [@stdlib/ndarray/ctor]: https://www.npmjs.com/package/@stdlib/ndarray-ctor
230
241
 
242
+ <!-- <related-links> -->
243
+
244
+ [@stdlib/ndarray/array]: https://www.npmjs.com/package/@stdlib/ndarray-array
245
+
246
+ [@stdlib/ndarray/flag]: https://www.npmjs.com/package/@stdlib/ndarray-flag
247
+
248
+ <!-- </related-links> -->
249
+
231
250
  </section>
232
251
 
233
252
  <!-- /.links -->
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";var u=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var a=u(function(l,t){
2
- var i=require('@stdlib/ndarray-base-flags/dist'),n=require('@stdlib/error-tools-fmtprodmsg/dist');function s(r){if(typeof r!="object"||r===null)throw new TypeError(n('nullDv',r));return i(r,!0)}t.exports=s
2
+ var i=require('@stdlib/ndarray-base-flags/dist'),n=require('@stdlib/error-tools-fmtprodmsg/dist');function s(r){if(typeof r!="object"||r===null)throw new TypeError(n('1nzDv',r));return i(r,!0)}t.exports=s
3
3
  });var o=a();module.exports=o;
4
4
  /** @license Apache-2.0 */
5
5
  //# sourceMappingURL=index.js.map
@@ -29,7 +29,7 @@ import { ndarray, Flags } from '@stdlib/types/ndarray';
29
29
  * @returns flags
30
30
  *
31
31
  * @example
32
- * var zeros = require( `@stdlib/ndarray/zeros` );
32
+ * var zeros = require( '@stdlib/ndarray-zeros' );
33
33
  *
34
34
  * var o = flags( zeros( [ 3, 3, 3 ] ) );
35
35
  * // returns {...}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/ndarray-flags",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Return the flags of a provided ndarray.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -15,19 +15,12 @@
15
15
  ],
16
16
  "main": "./lib",
17
17
  "directories": {
18
- "benchmark": "./benchmark",
19
18
  "doc": "./docs",
20
- "example": "./examples",
21
19
  "lib": "./lib",
22
- "test": "./test"
20
+ "dist": "./dist"
23
21
  },
24
22
  "types": "./docs/types",
25
- "scripts": {
26
- "test": "make test",
27
- "test-cov": "make test-cov",
28
- "examples": "make examples",
29
- "benchmark": "make benchmark"
30
- },
23
+ "scripts": {},
31
24
  "homepage": "https://stdlib.io",
32
25
  "repository": {
33
26
  "type": "git",
@@ -37,23 +30,10 @@
37
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
31
  },
39
32
  "dependencies": {
40
- "@stdlib/ndarray-base-flags": "github:stdlib-js/ndarray-base-flags#main",
41
- "@stdlib/string-format": "^0.1.1",
42
- "@stdlib/types": "^0.2.0",
43
- "@stdlib/error-tools-fmtprodmsg": "^0.1.1"
44
- },
45
- "devDependencies": {
46
- "@stdlib/assert-is-plain-object": "^0.1.1",
47
- "@stdlib/ndarray-slice": "^0.1.0",
48
- "@stdlib/ndarray-zeros": "^0.1.0",
49
- "@stdlib/slice-ctor": "^0.1.0",
50
- "@stdlib/slice-multi": "^0.1.0",
51
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
52
- "istanbul": "^0.4.1",
53
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
54
- "@stdlib/bench-harness": "^0.1.2",
55
- "@stdlib/bench": "^0.2.1"
33
+ "@stdlib/ndarray-base-flags": "^0.2.1",
34
+ "@stdlib/string-format": "^0.2.1"
56
35
  },
36
+ "devDependencies": {},
57
37
  "engines": {
58
38
  "node": ">=0.10.0",
59
39
  "npm": ">2.7.0"