innersource

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i innersource

Weekly Downloads

6

Version

0.0.2

License

MIT

Last publish

Collaborators

  • johnkpaul