proposal-hashbang
proposal-array-find-from-last
proposal-hashbang | proposal-array-find-from-last | |
---|---|---|
8 | 5 | |
133 | 112 | |
- | - | |
0.0 | 5.3 | |
almost 2 years ago | almost 2 years ago | |
HTML | HTML | |
- | 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-hashbang
-
Javascript, the GOAT of programming languages that will take over the world in 2024
Before ECMAScript 2023 (ES14), executing a JavaScript file directly from the command line required manually specifying the interpreter path in the first line of the module. This process could vary depending on the operating system and Node.js installation.ES14 standardizes the use of hashbangs (#!) in JavaScript modules, enabling direct execution without the need for explicit interpreter invocation. The hashbang syntax is a simple convention that indicates the interpreter to be used for executing a module. It consists of a shebang (#!) followed by the path to the interpreter and optionally any arguments. For a JavaScript file, the hashbang line typically includes the path to the Node.js executable.
- What's new in ES2023?
-
ES2023 features list!
https://github.com/tc39/proposal-hashbang has some details.
-
JavaScript's New Features: Exploring the Latest Additions to the Language
Hashbang Grammar
- ES2023 candidate source code + spec
-
Updates from the 91st TC39 meeting
Hashbang Grammar: match de-facto usage in some CLI JS hosts that allow for #! Shebangs / Hashbang.
-
cmru is a command runner that allows you to describe commands with javascript.
But if you just wanted to execute it directly then you could use a shebang because everything after the bang is interpreted and not the bang its self. Most js engines allow this in some form. Here is a proposal to standardize it. https://github.com/tc39/proposal-hashbang
- Released Google/zx – tons of DX improvements and more
proposal-array-find-from-last
-
JavaScript's New Features: Exploring the Latest Additions to the Language
Array find from last
- ES2023 candidate source code + spec
-
Find last occurrence of string in array of arrays
Apparently there is a proposal for .findLast() and .findLastIndex().
-
Finding elements in `Array`s and TypedArrays
Proposal page: proposal-array-find-from-last.
-
Updates from 80th TC39 meeting
Array find from last: findLast() and findLastIndex() methods on Array.prototype.
What are some alternatives?
sh - Python process launching
proposal-intl-locale-info - An API to expose information of locale, such as week data ( first day of a week, weekend start, weekend end), hour cycle, measurement system, commonly used calendar, etc.
proposal-symbols-as-weakmap-keys - Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries
proposal-regexp-legacy-features - Legacy static properties of the RegExp constructor in JavaScript
clii - Easily build a cli app.
proposal-object-pick-or-omit - Ergonomic Dynamic Object Restructuring. [Moved to: https://github.com/tc39/proposal-object-pick-or-omit]
proposal-intl-eradisplay - Intl.DateTimeFormat displays era field only if date displayed is in same era as today's
proposal-lazy-import - A proposal for introducing a way to defer evaluate of a module