yahoo / yahoo/serialize-javascript
ES6 & standardJS syntax
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 215
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 2
Description
I'd love an option to render functions in modern ES6 and standardJS syntax.
Eg. instead of
const echo = function (arg) { return arg; }
I'd want
const echo = arg => arg
standardJS is about small details like single vs double quotes, no semicolons, etc.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the repository's JavaScript serialization entry point and inspect how functions are currently rendered. Compare the requested ES6 arrow-function output with the standardJS formatting examples in the issue, then determine how an option would be exposed and tested. Done means the option produces the requested syntax without changing existing serialization behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100