{"name":"to-source-code","version":"0.0.0","description":"Converts function to its source code.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/to-source-code.git"},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com","url":"https://github.com/bubkoo"},"license":"MIT","bugs":{"url":"https://github.com/bubkoo/to-source-code/issues"},"homepage":"https://github.com/bubkoo/to-source-code#readme","gitHead":"0d2c45b5f5f62ffb06d49f13ea428c5f1930e08e","_id":"to-source-code@0.0.0","_shasum":"89b4c646f6839c0310d8198531d456d5eb237903","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"89b4c646f6839c0310d8198531d456d5eb237903","tarball":"http://registry-npm.ywwl.com/to-source-code/download/to-source-code-0.0.0.tgz","integrity":"sha512-aq37GeDu/SdgWrOC4V/JIGp+8W53VQx3G/cy3sCqOio0MM+pdhRdpwOxcW5B/pa6QqbIFAWOA1BJubDNyD3RAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/EYeMnzTbzHkVNRn3deIk6tWP/DVP/+36qQb/yV/fPAiAsaoFQD0wkEo0xgLs3P8p8sEiq1u4A7fDJEGjgWQfDnA=="}],"size":1094,"noattachment":false,"key":"/to-source-code/-/to-source-code-0.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-source-code-0.0.0.tgz_1460519052875_0.9576398055069149"},"directories":{},"readme":"# to-source-code\n\n> Converts function to its source code.\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/gearcase/to-source-code/blob/master/LICENSE)\n\n[![build:?](https://img.shields.io/travis/gearcase/to-source-code/master.svg?style=flat-square)](https://travis-ci.org/gearcase/to-source-code)\n[![coverage:?](https://img.shields.io/coveralls/gearcase/to-source-code/master.svg?style=flat-square)](https://coveralls.io/github/gearcase/to-source-code)\n\n\n## Install\n\n```\n$ npm install --save to-source-code \n```\n\n\n## Usage\n\n> For more use-cases see the [tests](https://github.com/gearcase/to-source-code/blob/master/test/spec/index.js)\n\n\n```js\nvar toSourceCode = require('to-source-code');\n\ntoSourceCode(Math.min);               \n// => 'function min() { [native code] }'\n\ntoSourceCode(function () { console.log(123); });              \n// => 'function () { console.log(123); }'\n\ntoSourceCode();      // => ''\ntoSourceCode(null);  // => ''\ntoSourceCode(1);     // => '1'\ntoSourceCode('1');   // => '1'\ntoSourceCode(true);  // => 'true'\ntoSourceCode({});    // => '[object Object]'\n```\n\n## Related\n\n- [is-native](https://github.com/gearcase/is-native) - Checks if the given value is a native function.\n- [to-num](https://github.com/gearcase/to-num) - Converts the given value to a number.\n- [to-integer](https://github.com/gearcase/to-integer) - Converts the given value to an integer.\n- [to-length](https://github.com/gearcase/to-length) - Converts value to an integer suitable for use as the length of an array-like object.\n- [to-str](https://github.com/gearcase/to-str) - Converts the given value to a string.\n- [to-lower](https://github.com/gearcase/to-lower) - Converts string, as a whole, to lower case.\n- [to-upper](https://github.com/gearcase/to-upper) - Converts string, as a whole, to upper case.\n- [to-path](https://github.com/gearcase/to-path) - Converts value to a property path array. \n\n## Contributing\n\nPull requests and stars are highly welcome.\n\nFor bugs and feature requests, please [create an issue](https://github.com/gearcase/to-source-code/issues/new).\n","publish_time":1460519055717,"_cnpm_publish_time":1460519055717,"dist-tags":{"latest":"1.0.2"}}