# Install astring with npm

JavaScript code generator from an ESTree-compliant AST. Version 1.9.0 via npm; verified 2024-08-25.

## Install

```sh
sudo av install npm:astring
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g astring
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:astring
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/astring>
- **Version:** 1.9.0
- **Source summary:** JavaScript code generator from an ESTree-compliant AST.
- **Homepage:** <https://github.com/davidbonnet/astring#readme>
- **Repository:** <https://github.com/davidbonnet/astring>
- **Upstream docs:** <https://github.com/davidbonnet/astring#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/astring/-/astring-1.9.0.tgz>
- **Issue tracker:** <https://github.com/davidbonnet/astring/issues>
- **Published:** 2024-08-25T09:46:33.731Z
- **Last updated:** 2024-08-25T09:46:33.731Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- astring (cli)
- astring (alias)

## Build dependencies

- @babel/cli
- @babel/core
- @babel/generator
- @babel/parser
- @babel/preset-env
- acorn
- acorn-import-attributes
- astravel
- ava
- babel-preset-minify
- benchmark
- buble
- c8
- cross-env
- escodegen
- eslint
- eslint-config-prettier
- eslint-plugin-import
- esm
- glob
- husky
- lodash
- meriyah
- normalize-newline
- prettier
- standard-version
- sucrase
- uglify-js

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.9.0
- Package-manager updated: 2024-08-25
- Local data: ok
- Upstream repository: https://github.com/davidbonnet/astring
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for astring. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.9.0
- **Version Count:** 83
- **Maintainers:** davidbonnet
- **Author:** David Bonnet
- **Publisher:** davidbonnet
- **Integrity:** sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==
- **Shasum:** cc73e6062a7eb03e7d19c22d8b0b3451fd9bfeef
- **Unpacked Size:** 273,164
- **File Count:** 0
- **Created At:** 2015-08-03T12:00:42.446Z
- **Latest Published At:** 2024-08-25T09:46:33.731Z
- **Modified At:** 2024-08-25T09:46:33.925Z


## Related links

- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [bwip-js](https://www.automicvault.com/pkg/npm/bwip-js/) - Both packages touch the same language runtime or ecosystem. Shared terms: code, generator, javascript.
- [gatsby](https://www.automicvault.com/pkg/npm/gatsby/) - Local package facts share a topical domain. Shared terms: code, codegen, generator.
- [graphql-let](https://www.automicvault.com/pkg/npm/graphql-let/) - Local package facts share a topical domain. Shared terms: code, codegen, generator.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
