Latest / Developer tools

es6_maps

github.com · Open source · Active

Elixir library that adds shorthand map syntax

Visit github.com ↗Share

  • beam
  • syntax
  • es6
  • shorthand
  • shorter maps
  • elixir map shorthand
  • es6 shorthand elixir
  • elixir syntax sugar
Stars
76
Forks
1
Open issues
0
Last commit
Releases
9
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

es6_maps is an Elixir library that adds a shorthand syntax for creating maps, similar to object shorthand in JavaScript and TypeScript. It works by amending the compiler's bytecode at runtime, using BEAM hot-reload capabilities.

Repository description on GitHub: “`%{foo, bar: 1}` — ES6-like shorthand syntax for Elixir maps and structs”

What it does

  • Shorthand syntax for building maps from variables
  • Works by amending compiler bytecode at runtime with BEAM hot reload
  • Can be removed by dropping one formatter setting

Good for

  • Write %{foo} shorthand for maps built from variables
  • Reduce repeated key-value pairs in Elixir map literals

Suits: Elixir developers who build maps from many variables.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw es6_maps on , when kzemek posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . es6_maps had been shipping tagged releases for 49 days before it was found. 9 releases have been published in total; the latest is v1.1.0 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 71 points, 30 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 71 points, 30 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (5 in total, busiest month 2).
  1. Repository created on GitHub: kzemek/es6_maps
  2. Release v0.1.0
  3. Release v0.2.2
  4. Found: kzemek posted it to Show HN. Show HN
  5. Release v1.0.0
  6. Release v1.0.1
  7. Release v1.0.2
  8. Release v1.0.3
  9. Release v1.1.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 9 releases. All releases on GitHub

Quick answers

When was es6_maps released?
Its first tagged release on GitHub is dated 24 Mar 2024. Kip found it on Show HN on 12 May 2024.
Is es6_maps open source?
Its source is public on GitHub at kzemek/es6_maps under the Apache-2.0 licence.
What does es6_maps run on?
Library.
Is es6_maps free?
It is open source, so the code is free to read and run; check the licence for terms.
Is es6_maps still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorykzemek/es6_maps
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-40333500. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.