Socket
Book a DemoInstallSign in
Socket

jstransformer-sweetjs

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-sweetjs

Sweet.js support for JSTransformers.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
-100%
Maintainers
5
Weekly downloads
 
Created
Source

jstransformer-sweetjs

Sweet.js support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-sweetjs

API

var sweet = require('jstransformer')(require('jstransformer-sweetjs'))
var input = "syntax hi = function (ctx) { return #`console.log('hello, world!')`; }\n hi"
sweet.render(input).body
//=> 'console.log('hello, world!');

License

MIT

Keywords

jstransformer

FAQs

Package last updated on 06 Jun 2016

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