{"analyzedAt":"2022-07-07T15:37:48.982Z","collected":{"metadata":{"name":"node-kickass-json","scope":"unscoped","version":"0.1.1","description":"Query for torrents at Kickass.to with Node.js.","keywords":["query","search","kickass","torrent"],"date":"2014-04-21T08:51:34.881Z","author":{"name":"Antoine Aflalo","email":"antoineaf+npm@admincmd.com","username":"belphemur"},"publisher":{"username":"belphemur","email":"antoineaf+npm@admincmd.com"},"maintainers":[{"username":"belphemur","email":"antoineaf+npm@admincmd.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/Belphemur/node-kickass-json.git"},"links":{"npm":"https://www.npmjs.com/package/node-kickass-json","homepage":"https://github.com/Belphemur/node-kickass-json","repository":"https://github.com/Belphemur/node-kickass-json","bugs":"https://github.com/Belphemur/node-kickass-json/issues"},"license":"MIT","dependencies":{"request":"2.31.0"},"devDependencies":{"mocha":"1.17.0"},"releases":[{"from":"2022-06-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2022-04-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2022-01-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2021-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2020-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1}],"hasTestScript":true,"readme":"node-kickass-json [![NPM version](https://badge.fury.io/js/node-kickass-json.png)](http://badge.fury.io/js/node-kickass-json) [![Build Status](https://travis-ci.org/Belphemur/node-kickass-json.png?branch=master)](https://travis-ci.org/Belphemur/node-kickass-json)\r\n============\r\n\r\n[![NPM](https://nodei.co/npm/node-kickass-json.png?downloads=true&stars=true)](https://nodei.co/npm/node-kickass-json/)\r\n\r\n> Query for torrents at Kickass.to with Node.js.\r\n\r\n## Installation\r\nAdd `node-kickass-json` to your existing Node.js project.\r\n```bash\r\nnpm install node-kickass-json --save\r\n```\r\n\r\n## Usage\r\n\r\nSee [examples](https://github.com/Belphemur/node-kickass-json/tree/master/examples) for more usage details.\r\n\r\nBuilt as a [Fluent Interface](http://en.wikipedia.org/wiki/Fluent_interface).\r\nAlso known as [method chaining](http://en.wikipedia.org/wiki/Method_chaining#jQuery), \r\nas used in [jQuery](http://jquery.com/).\r\nFork of [node-kickass](https://github.com/Glavin001/node-kickass) by @Glavin001\r\n\r\n```javascript\r\nvar Kickass = require('node-kickass-json');\r\n\r\nvar k = new Kickass()\r\n.setQuery('Almost Human')   // Set search Query parameter\r\n.run(function(error, data) {\r\n  /*\r\n  this  {context} => Current Context is set to be `k`.\r\n  error  {error} => An Error object representing the error encountered\r\n  data    {array} => An array of Torrent.\r\n  */\r\n  if (error === null) {\r\n    // No errors occured.\r\n    console.log(data.length, \"results\");\r\n    console.log(\r\n      errors,     // Error object, will be null if no error\r\n      data       // Array of Torrent read from this `run`.\r\n      );\r\n  } else {\r\n    // An error occurred.\r\n    console.log(error, \"error\");\r\n  }\r\n})\r\n\r\n```\r\n\r\n## Functions\r\n\r\n- `constructor`\r\n```javascript\r\nvar k = new Kickass()\r\n```\r\n\r\n- `setQuery`\r\n```javascript\r\nk.setQuery(\"Search Name\")\r\n```\r\n\r\n- `setSort`\r\n```javascript\r\nk.setSort({\r\n  field: \"seeders\",\r\n  sorder: \"desc\"\r\n});\r\n```\r\n\r\n- `run`\r\n```javascript\r\nk.run(function(error, data) {\r\n            //console.log(data);\r\n            if (error === null && data !== null) {\r\n                    done();\r\n            }\r\n        });\r\n```\r\n\r\n-----\r\n\r\n### Disclaimer\r\nThere are obvious legal issues, with downloading copyrighted material you do not have a license for. We do not endorse such use cases and take no responsibility for the use people make of it."},"npm":{"downloads":[{"from":"2022-07-06T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-06-30T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2022-06-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":23},{"from":"2022-04-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":65},{"from":"2022-01-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":95},{"from":"2021-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":225}],"starsCount":1},"github":{"forkOf":"Glavin001/node-kickass","starsCount":3,"forksCount":0,"subscribersCount":1,"issues":{"count":0,"openCount":0,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":true},"contributors":[{"username":"Glavin001","commitsCount":10},{"username":"Belphemur","commitsCount":6}],"commits":[{"from":"2022-06-30T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-06-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-04-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-01-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2021-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0}],"statuses":[{"context":"continuous-integration/travis-ci","state":"success"}]},"source":{"files":{"readmeSize":2266,"testsSize":999},"badges":[{"urls":{"original":"https://travis-ci.org/Belphemur/node-kickass-json.png?branch=master","service":"https://api.travis-ci.org/Belphemur/node-kickass-json.svg?branch=master","shields":"https://img.shields.io/travis/Belphemur/node-kickass-json/master.svg","content":"https://img.shields.io/travis/Belphemur/node-kickass-json/master.json"},"info":{"service":"travis","type":"build","modifiers":{"branch":"master"}}},{"urls":{"original":"https://nodei.co/npm/node-kickass-json.png?downloads=true&stars=true","shields":"https://img.shields.io/npm/v/node-kickass-json.svg","content":"https://img.shields.io/npm/v/node-kickass-json.json"},"info":{"service":"npm","type":"version"}}],"outdatedDependencies":{"request":{"required":"2.31.0","stable":"2.88.2","latest":"2.88.2"}}}},"evaluation":{"quality":{"carefulness":0.355,"tests":0.85,"health":0.75,"branding":0.3},"popularity":{"communityInterest":7,"downloadsCount":21.666666666666668,"downloadsAcceleration":0.015391933028919336,"dependentsCount":0},"maintenance":{"releasesFrequency":0.7591609589041095,"commitsFrequency":0,"openIssues":0.7,"issuesDistribution":0.7}},"score":{"final":0.5523281574431008,"detail":{"quality":0.8308127720297263,"popularity":0.03586151178087879,"maintenance":0.8300937048882155}}}