{"name":"to-source-code","version":"1.0.0","description":"Converts function to its source code.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["to","parse","convert","converter","parser","source","function","func","fn","code"],"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bubkoo/to-source-code.git"},"bugs":{"url":"https://github.com/bubkoo/to-source-code/issues"},"homepage":"https://github.com/bubkoo/to-source-code#readme","devDependencies":{"jshint":"^2.9.1","chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","mocha":"^2.4.5"},"dependencies":{"is-nil":"^1.0.0"},"gitHead":"fabcf0d20bed092949480968410160523c7a7d5e","_id":"to-source-code@1.0.0","_shasum":"74b69633473c8d57d57be8150ea073dfc57f2302","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"74b69633473c8d57d57be8150ea073dfc57f2302","tarball":"http://registry-npm.ywwl.com/to-source-code/download/to-source-code-1.0.0.tgz","integrity":"sha512-RE5NjudTAhoJuAhrmIHVurc67jgTPCSLzxLSFk+zCd7aR4TmbUIAFpvaeGxfMQ8CvfFy79vD1oaAmL0B7a7juQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtQGWt8V7s62Mi2S2zQrdWHTy9FqBZNLHycydA68vVTQIhAPWc98IlhB9DByY7o/SCHLKiAqh1mJmoxx5pQEYeVhq5"}],"size":2059,"noattachment":false,"key":"/to-source-code/-/to-source-code-1.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/to-source-code-1.0.0.tgz_1460537298198_0.09636373585090041"},"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":1460537298674,"_cnpm_publish_time":1460537298674,"dist-tags":{"latest":"1.0.2"}}