@stdlib/utils-key-by 0.0.7 → 0.0.8
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 +33 -2
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# keyBy
|
|
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
|
> Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values.
|
|
26
26
|
|
|
@@ -161,6 +161,20 @@ console.log( obj );
|
|
|
161
161
|
|
|
162
162
|
<!-- /.references -->
|
|
163
163
|
|
|
164
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
165
|
+
|
|
166
|
+
<section class="related">
|
|
167
|
+
|
|
168
|
+
* * *
|
|
169
|
+
|
|
170
|
+
## See Also
|
|
171
|
+
|
|
172
|
+
- <span class="package-name">[`@stdlib/utils/for-each`][@stdlib/utils/for-each]</span><span class="delimiter">: </span><span class="description">invoke a function for each element in a collection.</span>
|
|
173
|
+
|
|
174
|
+
</section>
|
|
175
|
+
|
|
176
|
+
<!-- /.related -->
|
|
177
|
+
|
|
164
178
|
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
165
179
|
|
|
166
180
|
|
|
@@ -187,7 +201,7 @@ See [LICENSE][stdlib-license].
|
|
|
187
201
|
|
|
188
202
|
## Copyright
|
|
189
203
|
|
|
190
|
-
Copyright © 2016-
|
|
204
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
191
205
|
|
|
192
206
|
</section>
|
|
193
207
|
|
|
@@ -206,9 +220,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
206
220
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-key-by/main.svg
|
|
207
221
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-key-by?branch=main
|
|
208
222
|
|
|
223
|
+
<!--
|
|
224
|
+
|
|
209
225
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/utils-key-by.svg
|
|
210
226
|
[dependencies-url]: https://david-dm.org/stdlib-js/utils-key-by/main
|
|
211
227
|
|
|
228
|
+
-->
|
|
229
|
+
|
|
230
|
+
[umd]: https://github.com/umdjs/umd
|
|
231
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
232
|
+
|
|
233
|
+
[deno-url]: https://github.com/stdlib-js/utils-key-by/tree/deno
|
|
234
|
+
[umd-url]: https://github.com/stdlib-js/utils-key-by/tree/umd
|
|
235
|
+
[esm-url]: https://github.com/stdlib-js/utils-key-by/tree/esm
|
|
236
|
+
|
|
212
237
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
213
238
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
214
239
|
|
|
@@ -224,6 +249,12 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
224
249
|
|
|
225
250
|
[mdn-object]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object
|
|
226
251
|
|
|
252
|
+
<!-- <related-links> -->
|
|
253
|
+
|
|
254
|
+
[@stdlib/utils/for-each]: https://www.npmjs.com/package/@stdlib/utils-for-each
|
|
255
|
+
|
|
256
|
+
<!-- </related-links> -->
|
|
257
|
+
|
|
227
258
|
</section>
|
|
228
259
|
|
|
229
260
|
<!-- /.links -->
|
package/package.json
CHANGED