This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@phensley/espoet

0.3.0 • Public • Published

espoet - simple api for ecmascript source code generation.

Build Status Coverage Status

This project grew out of work I was doing on a separate project. I needed to generate some ES modules that would live alongside the rest of the project's source code.

I needed a very simple API that improved on concatenating a bunch of strings together, but was less verbose than manipulating AST directly.

The primary goal was allow me to build code and make fewer mistakes, e.g. escape strings, support simple formatting arguments, etc.

Validation and final formatting is done by passing the resulting string through prettier.

Approach inspired by Javapoet.

/@phensley/espoet/

    Package Sidebar

    Install

    npm i @phensley/espoet

    Weekly Downloads

    1

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • phensley