Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including metaret with all npm packages installed. Try it out:

var metaret = require("metaret")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

metaret v0.0.3

Meta composition and inlining transforms for Javascript to allow fast, efficient tail recursion without trampolines


A node-ready version of packaged for NPM

Exposes 2 functions which transform Javascript source code:

metafun recursive composition:

var metaret = require('metaret');

var output_source = metaret.jsm2js(input_source);

inlining function calls:

var metaret = require('metaret');

var output_source = metaret.inline(input_source);


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free