proposal-array-from-async
proposal-accessible-object-hasownproperty
proposal-array-from-async | proposal-accessible-object-hasownproperty | |
---|---|---|
7 | 3 | |
172 | 127 | |
0.0% | - | |
6.6 | 7.0 | |
5 months ago | almost 3 years ago | |
HTML | HTML | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-array-from-async
- Goodbye, Node.js Buffer
-
How async/await runs inside forEach, and why it probably doesn't do what you expect
Others have mentioned for await, which probably isn't ideal in the case of getting users by id since it'll only do one request at a time, which is less efficient. There's a proposal for Array.fromAsync() that'll essentially do the same thing...
-
Updates from the 92nd TC39 meeting
Array.fromAsync: Array.fromAsync is to for await as Array.from is to for.
-
New ECMAScript 23 array features
The proposal is described here.
-
Getting async data using map arrow method
It's only a stage 2 spec, but Array.fromAsync() would handle exactly what you want. Polyfill exists too.
-
Updates from the 87th meeting of TC39
Array.fromAsync: Like Array.from but it converts an async iterable (or a sync iterable of promises) to a promise that will resolve to an array.
-
Updates from the 85th meeting of TC39
Array.fromAsync Like Array.from but for async iterators.
proposal-accessible-object-hasownproperty
-
JavaScript Object properties
Its reasons like these you're actually seeing a trend with the opposite happening within the native JS API. For example a proposal for JS that recently got approved was Object.hasOwn() which is a non-method version of Object.prototype.hasOwnProperty().
-
Updates from the 85th meeting of TC39
Object.hasOwn Accessible Object.prototype.hasOwnProperty()
-
Updates from 82nd meeting of TC39
Accessible Object.prototype.hasOwnProperty(): Proposal for an Object.hasOwn() method to make Object.prototype.hasOwnProperty() more accessible.
What are some alternatives?
proposal-class-static-block - ECMAScript class static initialization blocks
proposal-change-array-by-copy - Provides additional methods on Array.prototype and TypedArray.prototype to enable changes on the array by returning a new copy of it with the change.
proposal-relative-indexing-method - A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
streams - Streams Standard
proposal-symbols-as-weakmap-keys - Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries
nodejs-polars - nodejs front-end of polars
proposal-extractors - Extractors for ECMAScript
proposal-arraybuffer-base64 - TC39 proposal for Uint8Array<->base64/hex
proposal-array-grouping - A proposal to make grouping of array items easier
proposal-zero-copy-arraybuffer-li
arquero - Query processing and transformation of array-backed data tables.