Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@phensley/espoet

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/espoet

Ecmascript code generation API

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 08 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc