proposal-string-dedent
TC39 Proposal to remove common leading indentation from multiline template strings (by tc39)
proposal-source-phase-imports
Proposal to enable importing modules at the source phase (by tc39)
proposal-string-dedent | proposal-source-phase-imports | |
---|---|---|
5 | 5 | |
605 | 125 | |
1.0% | 6.4% | |
4.1 | 5.7 | |
9 months ago | 11 days ago | |
HTML | HTML | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-string-dedent
Posts with mentions or reviews of proposal-string-dedent.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-27.
-
CoffeeScript for TypeScript
We often add promising TC39 proposals into Civet so people can experiment without waiting.
We've added https://github.com/tc39/proposal-pipeline-operator, a variant of https://github.com/tc39/proposal-pattern-matching, a variant of https://github.com/tc39/proposal-string-dedent and others.
Since our goal is to be 99% compatible with ES we'll need to accommodate any proposals that become standard and pick up anything TC39 leaves on the table (rest parameters in any position, etc.)
-
A single developer has been maintaining core.js with little recognition or support. Almost all modern single page apps use core.js. Millions of downloads and hardly any compensation
I was wondering what "dedent" was when I saw this commit since that's what he named the branch. Conveniently, the changelog shows up first in this merge and he Added String.dedent stage 2 proposal which he links. The proposal is a bit dense for me to skim since I'm not particularly familiar with ECMAscript. The code to implement dedent is included and is a bit tricky to skim but if you scroll down to look at what the tests are doing, then the code will hopefully make a bit more sense.
-
Updates from the 90th TC39 meeting
String.dedent: For multi-backtick templates with automatic margin stripping.
-
How to use multi line template literals strings in an IDE while keeping indentation in the IDE (vs code)
There's nothing built in that does this yet, but there is a proposal for a String.dedent that would.
-
Updates from 78th meeting of TC39
String Dedent
proposal-source-phase-imports
Posts with mentions or reviews of proposal-source-phase-imports.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-01.
-
JSR: The JavaScript Registry
We will soon support WASM imports (`import source foo from "./foo.wasm"`). [1]
[1]: https://github.com/tc39/proposal-source-phase-imports
-
Updates from the 97th TC39 meeting
Source Phase Imports: Proposal to enable importing modules at the source phase.
-
Updates from the 90th TC39 meeting
Import Reflection: Syntax to import ES modules with import reflection attributes.
-
Deno Joins TC39
Alternative module reflections (wasm imports): https://github.com/tc39/proposal-import-reflection
-
Updates from the 86th meeting of TC39
Evaluator Attributes: Enables the module import syntax to provide extra attributes along with a given import as evaluator attributes with the primary use case in mind of permitting these module type imports for Wasm slides.
What are some alternatives?
When comparing proposal-string-dedent and proposal-source-phase-imports you can also consider the following projects:
proposal-class-static-block - ECMAScript class static initialization blocks
proposal-import-assertions - Proposal for syntax to import ES modules with assertions [Moved to: https://github.com/tc39/proposal-import-attributes]