{"_id":"4chanjs","_rev":"11-204e231a221d74fa3e6d71c70dadc406","name":"4chanjs","description":"NodeJS and Browser 4chan API client","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"4chanjs","description":"NodeJS and Browser 4chan API client","version":"0.0.1","homepage":"http://github.com/wearefractal/4chanjs","repository":{"type":"git","url":"git://github.com/wearefractal/4chanjs.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"request":"*"},"devDependencies":{"mocha":"*","should":"*","fixnode":"*"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/4chanjs/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/wearefractal/4chanjs/issues"},"_id":"4chanjs@0.0.1","dist":{"shasum":"d70997ab09ab47e594bd91bab99b7b19b2fbeff5","tarball":"https://registry.npmjs.org/4chanjs/-/4chanjs-0.0.1.tgz","integrity":"sha512-b5PUZ/AMRA7Osp8eiG96ABN4fcfzpIXWhCDUAAc/cKwbxOtpkOYOrFZVcrBNib79N8x97gvOn5/hn2wxLMNvRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjHHS/i5stEH3qC5X8+RRco80a0Zj6ojwjBdM7vZWfPgIgU0BeVSdbzIkA/o4Hna5DrFYvn4RQlHo8SRtPv4+3PAM="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.1.0":{"name":"4chanjs","description":"NodeJS and Browser 4chan API client","version":"0.1.0","homepage":"http://github.com/wearefractal/4chanjs","repository":{"type":"git","url":"git://github.com/wearefractal/4chanjs.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"request":"*"},"devDependencies":{"mocha":"*","should":"*","fixnode":"*"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/4chanjs/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/wearefractal/4chanjs/issues"},"_id":"4chanjs@0.1.0","dist":{"shasum":"0f6b97a2329e0b6dd01535b0ae81bb339aede774","tarball":"https://registry.npmjs.org/4chanjs/-/4chanjs-0.1.0.tgz","npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuev/CRA9TVsSAnZWagAAxBMP/jnUQVfcPYUdBsdaxa1N\nSx2esNHcaEVNCa3yh/IVT/7YknTqEaWO+KeYKBFo8MqD5K8gtJZXqRBLhMQ5\nd4I0aU6UsGKFJ97YTm3gVJO1Si46sDhQ1UkX3atnt3Qoys4dKNGR+QGh7okE\nBzL7t05cACdZpEeW6nG8J6ms3VUvYjdlc7MlirrZfYqyjrx7E18r0StnvQg9\n9N4rXMAdHUe7EPtaHXVpwo9O3nLaLfIGHoOM+YWOAliH3Zd/TIgsXK/BkjQg\nTGEVtoteSMJaShVAQRrwmvgkvzOZOqTc2j2xNP3HvXsxFVpsgagqDgGKk5Wo\n+9RczOoUfzhm56GNC0qdYVhGcq4KonQxMjoLCR86LWYAg9m0HUdr0aw3c/tq\n3fo4iQCdR6UdEYvO0ouXfW5/Mt+gfHd8D2NjoywyGRoHAubEsUjnf6jmmt30\n2r+qSOmZJB0bV5MSRO9iQkEjNwQd8ZNICBMAgxSKwvo/d8lVwAXv0TuEaOfG\nv8+pLsP/Hexf+jT2Z+ZtZ1PeAdU7JD4mOD/esosZfbvZDWiWv+1JDR36MWbk\nE3o6TA82HFGs/Poq74iWMEIKHushqTglXQNU8v3kY+wG2aqYtMFq/bmoqgHJ\nG5T+KgK5vErKpkpstXFUn7+UwERCXkmod4TL4fETv8bT/Rqzp/JtdpQsWMEm\nP9VD\r\n=fHuc\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-DHmIcA0OP2ofpVlHvzUSsAl4n8ewfOwGZMBenlr2c7YXqYoyMhZ5bh9N2IXyJYDbLD8K5PRbhKxfovbSQH60PA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhMJ5nZ5+gWemua5SSRldL+yixtpI8/DcSZj/LL9J1xQIgXHeR1fZYlLbSu34nR5gyaAvSaqlZXCXcTuEPJanUHBk="}]},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}}},"readme":"[![Build Status](https://travis-ci.org/wearefractal/4chanjs.png?branch=master)](https://travis-ci.org/wearefractal/4chanjs)\n\n[![NPM version](https://badge.fury.io/js/4chanjs.png)](http://badge.fury.io/js/4chanjs)\n\n## Information\n\n<table>\n<tr> \n<td>Package</td><td>4chanjs</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>NodeJS and Browser 4chan API client</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.4</td>\n</tr>\n</table>\n\n## Usage\n\n```javascript\nvar chan = require('4chanjs');\n\nchan.boards(function(err, boards){\n\t// boards is an array\n});\n\nvar random = chan.board('b');\n\nrandom.catalog(function(err, pages){\n\t// catalog returns all pages from a board\n\t// but the list of threads only contains the OP\n});\n\nrandom.page(0, function(err, threads){\n\t// this will return an array of threads\n});\n\nrandom.threads(function(err, threads){\n\t// this is the same as catalog\n\t// but shows only thread ids\n});\n\nrandom.thread(495627174, function(err, posts){\n\t// this will return an array of posts\n});\n\n// sugar for getting an image url from a filename in a post\nvar img = random.image(\"somefile.jpeg\");\n```\n\n## WTF is this data\n\nYou can see an explanation on what the fields are [here.](https://github.com/4chan/4chan-API)\n\n## LICENSE\n\n(MIT License)\n\nCopyright (c) 2013 Fractal <contact@wearefractal.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"email":"contact@wearefractal.com","name":"fractal"},{"email":"ericbombhax@gmail.com","name":"yocontra"}],"time":{"modified":"2022-06-12T14:07:46.796Z","created":"2013-07-26T00:40:24.959Z","0.0.1":"2013-07-26T00:40:33.592Z","0.1.0":"2013-12-06T22:18:38.086Z"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"repository":{"type":"git","url":"git://github.com/wearefractal/4chanjs.git"},"homepage":"http://github.com/wearefractal/4chanjs","bugs":{"url":"https://github.com/wearefractal/4chanjs/issues"},"readmeFilename":"README.md"}