NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2854 most downloaded on npm
JavaScript code generator from an ESTree-compliant AST.
Latest stable
1.9.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.2 years
Some releases are documented
notes for 17 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
83 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
## 1.8.0 (2021-11-21)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The package.json now has the module key pointing to the source code written in ES6. This is enables ES6-aware bundlers to take advantage of ES6 module
The package.json now has the module key pointing to the source code written in ES6. This is enables ES6-aware bundlers to take advantage of ES6 module features.
> 💥 Breaking change: Changed default indentation from "\t" to "␣␣".
💥 Breaking change: Changed default indentation from
"\t"to"␣␣".
The default indentation being (sadly) not very popular, it has been changed to two spaces.
Block comments are just reindented, keeping them compatible with JSDoc.
Block comments are just reindented, keeping them compatible with JSDoc.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
> 💥 Breaking change: the generator function is now exported as astring.generate. The defaultGenerator has been renamed to baseGenerator. This API is n…
💥 Breaking change: the generator function is now exported as
astring.generate. ThedefaultGeneratorhas been renamed tobaseGenerator. This API is now considered as stable. See theREADME.mdfile.
acorn syntax checksRemove optional dependencies for benchmarks (these should now be installed explicitely)
> 💥 Breaking change: the generator function is at astring.default. See the README.md file.
💥 Breaking change: the generator function is at
astring.default. See theREADME.mdfile.
Added support for operator (ES 7 feature)
** operator (ES 7 feature)async functions and await expressions (ES stage 4 features)Removed unnecessary files bundled in the npm package.
Removed unnecessary files bundled in the npm package.
Nothing published for this version
Added generator option to customise code generation.
Added generator option to customise code generation.
Added output option, which enables Astring to write directly to writable streams. Performance has increased by 50%.
Added output option, which enables Astring to write directly to writable streams.
Performance has increased by 50%.
3cfba73be83866b89836deff3220dcf1696d692e
Fixed following issues:
01edfcd1b5795c41bbf5705efca5b056a887d1e2
Fixed following issues:
Added following optimisations:
Nothing published for this version
Nothing published for this version
Nothing published for this version
See 7ce724b0cb2b89abf19358cae173e8151fb11a07
See 7ce724b0cb2b89abf19358cae173e8151fb11a07
See 94b473a7fbc40487c56f639bda1b431509460417
See 94b473a7fbc40487c56f639bda1b431509460417
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Changed command line interface to match UNIX guidelines: use --line-end instead of --lineEnd, and --starting-indent-level instead of --startingIndentL
Changed command line interface to match UNIX guidelines: use --line-end instead of --lineEnd, and --starting-indent-level instead of --startingIndentLevel.
Nothing published for this version
Fixes an important bug mentioned in #1.
Fixes an important bug mentioned in #1.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.