1.0.3 • Published 3 years ago

meriyah-printer v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Meriyah Printer

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

Usage

import * as meriyah from 'meriyah';
import { generate } from 'meriyah-printer';

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

const code = generate(ast);
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago