{"_id":"to-source-code","_rev":"6-73b71882dd6f1c129550a495840337d8","name":"to-source-code","description":"Converts function to its source code.","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.0":{"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":"https://registry.npmjs.org/to-source-code/-/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=="}]},"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"}},"1.0.0":{"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":"https://registry.npmjs.org/to-source-code/-/to-source-code-1.0.0.tgz","integrity":"sha512-RE5NjudTAhoJuAhrmIHVurc67jgTPCSLzxLSFk+zCd7aR4TmbUIAFpvaeGxfMQ8CvfFy79vD1oaAmL0B7a7juQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtQGWt8V7s62Mi2S2zQrdWHTy9FqBZNLHycydA68vVTQIhAPWc98IlhB9DByY7o/SCHLKiAqh1mJmoxx5pQEYeVhq5"}]},"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"}},"1.0.1":{"name":"to-source-code","version":"1.0.1","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":"38589e1eaed4c3aff3e023c5aa727029f8a78052","_id":"to-source-code@1.0.1","_shasum":"e85d37ea67cb33b0b4a3381ca6a9070269880ff1","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"e85d37ea67cb33b0b4a3381ca6a9070269880ff1","tarball":"https://registry.npmjs.org/to-source-code/-/to-source-code-1.0.1.tgz","integrity":"sha512-LMf73hNnqsoSXS0GnOYjoAHPCMmUM1DXbQULn/6t+3/sJiM8FiiUenrn6BJsvBT+cKcNZOYkgYoBKzwSL+ri5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGKo90wbdC4JcdhX/KNRuWkaMwEMAIL0wv5O4EXP6n0AIhALKbr1WWIb6OB0xSjYnJpL9VWnDv8M87yUcq+806qdwm"}]},"maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-source-code-1.0.1.tgz_1460541715492_0.08276760624721646"}},"1.0.2":{"name":"to-source-code","version":"1.0.2","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/gearcase/to-source-code.git"},"bugs":{"url":"https://github.com/gearcase/to-source-code/issues"},"homepage":"https://github.com/gearcase/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":"9b166de2c9b17ab6e49b15ce62925fac2c1b7f03","_id":"to-source-code@1.0.2","_shasum":"dd136bdb1e1dbd80bbeacf088992678e9070bfea","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"dd136bdb1e1dbd80bbeacf088992678e9070bfea","tarball":"https://registry.npmjs.org/to-source-code/-/to-source-code-1.0.2.tgz","integrity":"sha512-YzWtjmNIf3E75eZYa7m1SCyl0vgOGoTzdpH3svfa8SUm5rqTgl9hnDolrAGOghCF9P2gsITXQoMrlujOoz+RPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvyHi8yR+W0Vm3YERf9yQwYfndf5N6ixRDEyAFeTAh+QIhAPnTMpMBsnanyEVoWDuFJLHFuX6pvSL8ILlPqqRoKEp8"}]},"maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-source-code-1.0.2.tgz_1460690657765_0.21121301571838558"}}},"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","maintainers":[{"name":"bubkoo","email":"bubkoo.wy@gmail.com"}],"time":{"modified":"2022-06-27T07:24:57.300Z","created":"2016-04-13T03:44:15.717Z","0.0.0":"2016-04-13T03:44:15.717Z","1.0.0":"2016-04-13T08:48:18.674Z","1.0.1":"2016-04-13T10:01:58.743Z","1.0.2":"2016-04-15T03:24:19.883Z"},"homepage":"https://github.com/gearcase/to-source-code#readme","repository":{"type":"git","url":"git+https://github.com/gearcase/to-source-code.git"},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"bugs":{"url":"https://github.com/gearcase/to-source-code/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["to","parse","convert","converter","parser","source","function","func","fn","code"]}