You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
Copy file name to clipboardExpand all lines: README.md
+21-10Lines changed: 21 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,17 @@ limitations under the License.
18
18
19
19
-->
20
20
21
+
22
+
<details>
23
+
<summary>
24
+
About stdlib...
25
+
</summary>
26
+
<p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
27
+
<p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
28
+
<p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
29
+
<p>To join us in bringing numerical computing to the web, get started by checking us out on <ahref="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <ahref="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
-`limit`: the maximum number of pending invocations at any one time. Default: `infinity`.
97
-
-`series`: `boolean` indicating whether to sequentially invoke the `indicator` function for each `collection` element. If `true`, the function sets `options.limit=1`. Default: `false`.
98
-
-`returns`: specifies the output format. If the option equals `'values'`, the function returns group results as element values. If the option equals `'indices'`, the function returns group results as element indices. If the option equals `'*'`, the function returns group results as both element indices and values. Default: `'values'`.
99
-
-`thisArg`: the execution context for `indicator`.
107
+
-**limit**: the maximum number of pending invocations at any one time. Default: `infinity`.
108
+
-**series**: boolean indicating whether to sequentially invoke the `indicator` function for each `collection` element. If `true`, the function sets `options.limit=1`. Default: `false`.
109
+
-**returns**: specifies the output format. If the option equals `'values'`, the function returns group results as element values. If the option equals `'indices'`, the function returns group results as element indices. If the option equals `'*'`, the function returns group results as both element indices and values. Default: `'values'`.
110
+
-**thisArg**: the execution context for `indicator`.
100
111
101
112
By default, the function returns group results as element values. To return element indices, set the `returns` option to `'indices'`.
102
113
@@ -265,10 +276,10 @@ function done( error, result ) {
265
276
266
277
When invoked, the `indicator` function is provided a maximum of four arguments:
267
278
268
-
-`value`: collection value.
269
-
-`index`: collection index.
270
-
-`collection`: the input `collection`.
271
-
-`next`: a callback which should be called once the `indicator` function has finished processing a collection `value`.
279
+
-**value**: collection value.
280
+
-**index**: collection index.
281
+
-**collection**: the input `collection`.
282
+
-**next**: a callback which should be called once the `indicator` function has finished processing a collection `value`.
272
283
273
284
The actual number of provided arguments depends on function `length`. If the `indicator` function accepts two arguments, the `indicator` function is provided `value` and `next`. If the `indicator` function accepts three arguments, the `indicator` function is provided `value`, `index`, and `next`. For every other `indicator` function signature, the `indicator` function is provided all four arguments.
Returns a `function` which invokes an `indicator` function once for each element in a `collection`.
319
+
Returns a function which invokes an `indicator` function once for each element in a `collection`.
309
320
310
321
```javascript
311
322
functionindicator( value, next ) {
@@ -399,7 +410,7 @@ The function accepts the same `options` as `groupByAsync()`.
399
410
*/
400
411
```
401
412
402
-
while each group identifier is unique, all collection elements resolve to the same group because each group identifier serializes to the same `string`.
413
+
while each group identifier is unique, all collection elements resolve to the same group because each group identifier serializes to the same string.
0 commit comments