npm.io
0.0.2 • Published 13 years ago

innersource

Licence
MIT
Version
0.0.2
Deps
0
Vulns
0
Weekly
0

innersource

Returns inner source (the body) of a function as a string.

Install

$ npm install innersource

Usage

var innersource = require('innersource');

function test1() {
  console.log('hello');
}

console.log(innersource(test1)); //  console.log('hello');

Test

$ npm test