# @meriyah-utils/printer

> Tiny and fast JavaScript code generator that is compatible with all browser-supported nodes meriyah produces, fork of the `astring` library.

Latest version **1.0.2** (published 2021-10-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @meriyah-utils/printer
pnpm add @meriyah-utils/printer
yarn add @meriyah-utils/printer
bun add @meriyah-utils/printer
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-10-19 |
| First published | 2021-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 82.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jasperdm |

## Links

- npm: https://www.npmjs.com/package/@meriyah-utils/printer
- npm.io page: https://npm.io/package/@meriyah-utils/printer

## Recent versions

- 1.0.2 (latest) — 2021-10-19

## README

# Meriyah Printer

Tiny and fast JavaScript code generator that is compatible with all browser-supported nodes meriyah produces, fork of the `astring` library.

## Usage

```JS
import * as meriyah from 'meriyah';
import { generate } from '@meriyah-utils/printer';

const ast = meriyah.parseModule(code, {
  module: true,
  webcompat: true,
  directives: true,
  next: true,
  raw: true,
  jsx: true,
});

const code = generate(ast);
```

---
_Source: https://npm.io/package/@meriyah-utils/printer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
