@stdlib/ndarray-base-assert-is-same-kind-data-type-cast 0.0.5 → 0.0.9

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-2021 The Stdlib Authors.
1
+ Copyright (c) 2016-2022 The Stdlib Authors.
package/README.md CHANGED
@@ -20,7 +20,7 @@ limitations under the License.
20
20
 
21
21
  # isSameKindCast
22
22
 
23
- [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
23
+ [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
24
24
 
25
25
  > Determine whether an ndarray [data type][@stdlib/ndarray/dtypes] can be safely cast to, or is of the same "kind" as, another ndarray [data type][@stdlib/ndarray/dtypes].
26
26
 
@@ -49,7 +49,7 @@ npm install @stdlib/ndarray-base-assert-is-same-kind-data-type-cast
49
49
  ## Usage
50
50
 
51
51
  ```javascript
52
- var isSameKindCast = require( '@stdlib/ndarray-base-assert-is-same-kind/data/type-cast' );
52
+ var isSameKindCast = require( '@stdlib/ndarray-base-assert-is-same-kind-data-type-cast' );
53
53
  ```
54
54
 
55
55
  #### isSameKindCast( from, to )
@@ -86,7 +86,7 @@ bool = isSameKindCast( 'uint16', 'int16' );
86
86
 
87
87
  ```javascript
88
88
  var dtypes = require( '@stdlib/ndarray-dtypes' );
89
- var isSameKindCast = require( '@stdlib/ndarray-base-assert-is-same-kind/data/type-cast' );
89
+ var isSameKindCast = require( '@stdlib/ndarray-base-assert-is-same-kind-data-type-cast' );
90
90
 
91
91
  var DTYPES;
92
92
  var bool;
@@ -119,6 +119,14 @@ for ( i = 0; i < DTYPES.length; i++ ) {
119
119
 
120
120
  <!-- /.references -->
121
121
 
122
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
123
+
124
+ <section class="related">
125
+
126
+ </section>
127
+
128
+ <!-- /.related -->
129
+
122
130
  <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
123
131
 
124
132
 
@@ -145,7 +153,7 @@ See [LICENSE][stdlib-license].
145
153
 
146
154
  ## Copyright
147
155
 
148
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
156
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
149
157
 
150
158
  </section>
151
159
 
@@ -164,9 +172,20 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
164
172
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast/main.svg
165
173
  [coverage-url]: https://codecov.io/github/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast?branch=main
166
174
 
175
+ <!--
176
+
167
177
  [dependencies-image]: https://img.shields.io/david/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast.svg
168
178
  [dependencies-url]: https://david-dm.org/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast/main
169
179
 
180
+ -->
181
+
182
+ [umd]: https://github.com/umdjs/umd
183
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
184
+
185
+ [deno-url]: https://github.com/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast/tree/deno
186
+ [umd-url]: https://github.com/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast/tree/umd
187
+ [esm-url]: https://github.com/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast/tree/esm
188
+
170
189
  [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
171
190
  [chat-url]: https://gitter.im/stdlib-js/stdlib/
172
191
 
@@ -176,7 +195,7 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
176
195
 
177
196
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast/main/LICENSE
178
197
 
179
- [@stdlib/ndarray/dtypes]: https://github.com/stdlib-js/ndarray-dtypes
198
+ [@stdlib/ndarray/dtypes]: https://www.npmjs.com/package/@stdlib/ndarray-dtypes
180
199
 
181
200
  </section>
182
201
 
package/lib/index.js CHANGED
@@ -24,7 +24,7 @@
24
24
  * @module @stdlib/ndarray-base-assert-is-same-kind-data-type-cast
25
25
  *
26
26
  * @example
27
- * var isSameKindCast = require( '@stdlib/ndarray-base-assert-is-same-kind/data/type-cast' );
27
+ * var isSameKindCast = require( '@stdlib/ndarray-base-assert-is-same-kind-data-type-cast' );
28
28
  *
29
29
  * var bool = isSameKindCast( 'float32', 'float64' );
30
30
  * // returns true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/ndarray-base-assert-is-same-kind-data-type-cast",
3
- "version": "0.0.5",
3
+ "version": "0.0.9",
4
4
  "description": "Determine if an ndarray data type can be safely cast to, or is of the same kind as, another ndarray data type.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -18,7 +18,9 @@
18
18
  "benchmark": "./benchmark",
19
19
  "doc": "./docs",
20
20
  "example": "./examples",
21
+ "include": "./include",
21
22
  "lib": "./lib",
23
+ "src": "./src",
22
24
  "test": "./test"
23
25
  },
24
26
  "types": "./docs/types",
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # CHANGELOG
2
-
3
- > Package changelog.
4
-
5
- See [GitHub Releases](https://github.com/stdlib-js/ndarray-base-assert-is-same-kind-data-type-cast/releases) for the changelog.