@stdlib/ndarray-flags 0.1.0 → 0.2.0
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 +1 -1
- package/README.md +21 -2
- package/dist/index.js +1 -1
- package/docs/types/index.d.ts +1 -1
- package/package.json +5 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
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 © 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.
|
|
200
|
-
[test-url]: https://github.com/stdlib-js/ndarray-flags/actions/workflows/test.yml?query=branch:v0.
|
|
207
|
+
[test-image]: https://github.com/stdlib-js/ndarray-flags/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
208
|
+
[test-url]: https://github.com/stdlib-js/ndarray-flags/actions/workflows/test.yml?query=branch:v0.2.0
|
|
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 © 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('
|
|
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
|
package/docs/types/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ import { ndarray, Flags } from '@stdlib/types/ndarray';
|
|
|
29
29
|
* @returns flags
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
|
-
* var zeros = require(
|
|
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.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Return the flags of a provided ndarray.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/ndarray-base-flags": "
|
|
41
|
-
"@stdlib/string-format": "^0.
|
|
42
|
-
"@stdlib/types": "^0.
|
|
40
|
+
"@stdlib/ndarray-base-flags": "^0.2.0",
|
|
41
|
+
"@stdlib/string-format": "^0.2.0",
|
|
42
|
+
"@stdlib/types": "^0.3.1",
|
|
43
43
|
"@stdlib/error-tools-fmtprodmsg": "^0.1.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"istanbul": "^0.4.1",
|
|
53
53
|
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
54
54
|
"@stdlib/bench-harness": "^0.1.2",
|
|
55
|
-
"@stdlib/bench": "^0.
|
|
55
|
+
"@stdlib/bench": "^0.3.1"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=0.10.0",
|