{"library":"shopify-decaf","title":"Decaf JS","description":"A CoffeeScript to ES.Next transpiler that converts CoffeeScript code to modern JavaScript (ES6+). Current version 0.4.18 is released as a young project with limited feature coverage; uses the CoffeeScript compiler under the hood for parsing. Key differentiators: falls back to CoffeeScript output when ES6 transpilation is not supported, integrates with jscodeshift for code optimization. Alternative to manual refactoring or other transpilers like decaffeinate.","language":"javascript","status":"deprecated","last_verified":"Fri May 01","install":{"commands":["npm install shopify-decaf"],"cli":{"name":"shopify-decaf","version":null}},"imports":["import decaf from 'decafjs'","const { compile } = require('decafjs')","const decaf = require('decafjs'); decaf.compile(code)"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const decaf = require('decafjs');\nconst coffee = `-> alert \"hello world\"`;\nconst js = decaf.compile(coffee);\nconsole.log(js);","lang":"javascript","description":"Shows basic usage of decaf to transpile a CoffeeScript function to ES6.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}