@stdlib/strided-base-dtype-str2enum 0.2.2 → 0.2.3
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 +18 -6
- package/package.json +2 -3
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ var str2enum = require( '@stdlib/strided-base-dtype-str2enum' );
|
|
|
65
65
|
|
|
66
66
|
#### str2enum( dtype )
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Returns the enumeration constant associated with a strided array data type `string`.
|
|
69
69
|
|
|
70
70
|
```javascript
|
|
71
71
|
var v = str2enum( 'float64' );
|
|
@@ -147,6 +147,12 @@ v = str2enum( 'uint8' );
|
|
|
147
147
|
|
|
148
148
|
<section class="related">
|
|
149
149
|
|
|
150
|
+
* * *
|
|
151
|
+
|
|
152
|
+
## See Also
|
|
153
|
+
|
|
154
|
+
- <span class="package-name">[`@stdlib/strided-base/dtype-enum2str`][@stdlib/strided/base/dtype-enum2str]</span><span class="delimiter">: </span><span class="description">return the data type string associated with a strided array data type enumeration constant.</span>
|
|
155
|
+
|
|
150
156
|
</section>
|
|
151
157
|
|
|
152
158
|
<!-- /.related -->
|
|
@@ -177,7 +183,7 @@ See [LICENSE][stdlib-license].
|
|
|
177
183
|
|
|
178
184
|
## Copyright
|
|
179
185
|
|
|
180
|
-
Copyright © 2016-
|
|
186
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
181
187
|
|
|
182
188
|
</section>
|
|
183
189
|
|
|
@@ -190,8 +196,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
190
196
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/strided-base-dtype-str2enum.svg
|
|
191
197
|
[npm-url]: https://npmjs.org/package/@stdlib/strided-base-dtype-str2enum
|
|
192
198
|
|
|
193
|
-
[test-image]: https://github.com/stdlib-js/strided-base-dtype-str2enum/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
194
|
-
[test-url]: https://github.com/stdlib-js/strided-base-dtype-str2enum/actions/workflows/test.yml?query=branch:v0.2.
|
|
199
|
+
[test-image]: https://github.com/stdlib-js/strided-base-dtype-str2enum/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
200
|
+
[test-url]: https://github.com/stdlib-js/strided-base-dtype-str2enum/actions/workflows/test.yml?query=branch:v0.2.3
|
|
195
201
|
|
|
196
202
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/strided-base-dtype-str2enum/main.svg
|
|
197
203
|
[coverage-url]: https://codecov.io/github/stdlib-js/strided-base-dtype-str2enum?branch=main
|
|
@@ -203,8 +209,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
203
209
|
|
|
204
210
|
-->
|
|
205
211
|
|
|
206
|
-
[chat-image]: https://img.shields.io/
|
|
207
|
-
[chat-url]: https://
|
|
212
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
213
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
208
214
|
|
|
209
215
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
210
216
|
|
|
@@ -223,6 +229,12 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
223
229
|
|
|
224
230
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/strided-base-dtype-str2enum/main/LICENSE
|
|
225
231
|
|
|
232
|
+
<!-- <related-links> -->
|
|
233
|
+
|
|
234
|
+
[@stdlib/strided/base/dtype-enum2str]: https://www.npmjs.com/package/@stdlib/strided-base-dtype-enum2str
|
|
235
|
+
|
|
236
|
+
<!-- </related-links> -->
|
|
237
|
+
|
|
226
238
|
</section>
|
|
227
239
|
|
|
228
240
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/strided-base-dtype-str2enum",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Return the enumeration constant associated with a strided array data type string.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/strided-dtypes": "^0.
|
|
33
|
+
"@stdlib/strided-dtypes": "^0.3.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {},
|
|
36
36
|
"engines": {
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"util",
|
|
65
65
|
"enum"
|
|
66
66
|
],
|
|
67
|
-
"__stdlib__": {},
|
|
68
67
|
"funding": {
|
|
69
68
|
"type": "opencollective",
|
|
70
69
|
"url": "https://opencollective.com/stdlib"
|