Readme doesn't include "es" format
See original GitHub issueThe description of the format option, in the readme file is:
--format— format of the generated parser:amd,commonjs,globals,umd(default:commonjs)
But Peggy includes an es option as well.
It’s worth noting that the CLI documentation does have the es type listed:
Format of the generated parser:
amd,commonjs,globals,umd,es(default:commonjs).
But, the dependencies section for the JS API says:
valid only when format is set to “amd”, “commonjs”, or “umd”
Where it should include es" in the list.
I could try and get a PR in to fix these things, but I’m not sure when I’ll get the time to do so.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
What is the difference between README and README.md in ...
README.md or .mkdn or .markdown denotes that the file is markdown formatted. Markdown is a markup language. With it you can easily display...
Read more >Readme: the file type simply explained with examples - IONOS
You can write and save a readme file in any text file format you wish. Formats may include readme.txt, readme.doc, and readme.1st. Depending...
Read more >Basic writing and formatting syntax - GitHub Docs
Create sophisticated formatting for your prose and code on GitHub with simple syntax.
Read more >How to use Microsoft Word to write a README.md file for your ...
Now you have your README file in Markdown format, and you need to add it into your GitHub project. Go to the GitHub...
Read more >About package README files - npm Docs
In a text editor, in your package root directory, create a file called README.md . In the README.md file, add useful information about...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

How about we just accept our status quo for now, document it, and clean it up later if it becomes a problem. We can always add an alias later.
seems fine. i was just appealing for community norms, and it seems there isn’t one