{"analyzedAt":"2022-06-25T06:50:12.329Z","collected":{"metadata":{"name":"xbit","scope":"unscoped","version":"1.0.2","description":"A wrapper for the xbit.pw api","keywords":["torrent","xbit","torrent search"],"date":"2017-11-15T00:18:56.809Z","author":{"name":"Grant Holle","url":"https://github.com/grantholle"},"publisher":{"username":"grantholle","email":"hollegrant@gmail.com"},"maintainers":[{"username":"grantholle","email":"hollegrant@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/grantholle/xbit.git"},"links":{"npm":"https://www.npmjs.com/package/xbit"},"license":"MIT","devDependencies":{"chai":"^4.1.2","mocha":"^4.0.1","nyc":"^11.3.0","standard":"*"},"releases":[{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2020-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1}],"hasTestScript":true,"readme":"# x[BiT]\n\nThis is a very simple api wrapper around [x[BiT]](https://github.com/scriptzteam/xBiT-Torrents-Magnets-Indexer)'s magnet indexer in Node using Promises.\n\n## Installation\n\n```bash\n$ npm i xbit --save\n```\n\n## Usage\n\n### Initialize\n\n```javascript\nconst Xbit = require('xbit')\n\n// Create a new instance of the module.\nconst xbit = new Xbit()\n```\n\n### Methods\n\nThere are two methods, `search()` and `recent()` that you can use. The `search()` method takes an object of search parameters. So far the api only supports `search` and `limit`.\n\n```javascript\n// Search\nxbit.search({\n  search: 'ubuntu',\n  limit: 10\n}).then(response => {\n    console.log(response)\n    // Output:\n    // [\n    // {\n    //   \"ID\": \"1183900\",\n    //   \"NAME\": \"ubuntu-game-pack-16.04\",\n    //   \"MAGNET\": \"magnet:?xt=urn:btih:0831867c3a0a03bc33fa6add369d7a73c04c85f3&dn=ubuntu-game-pack-16.04\",\n    //   \"SIZE\": \"4.09GB\",\n    //   \"DISCOVERED\": \"2017-11-12 22:17:21\"\n    // },\n    // {\n    //   \"ID\": \"1175146\",\n    //   \"NAME\": \"ubuntu-pack-14.04-cinnamon\",\n    //   \"MAGNET\": \"magnet:?xt=urn:btih:b2bb17d605709b1d34c03a3503b93ffc0e912568&dn=ubuntu-pack-14.04-cinnamon\",\n    //   \"SIZE\": \"2.31GB\",\n    //   \"DISCOVERED\": \"2017-11-12 21:00:28\"\n    // },\n    // ]\n  })\n  .catch(err => console.error(err))\n\n// List recent magnets\nxbit.recent()\n  .then(response => {\n    console.log(response)\n    // Output:\n    // [\n    // {\n    //   \"ID\": \"1206042\",\n    //   \"NAME\": \"Azbuka\",\n    //   \"MAGNET\": \"magnet:?xt=urn:....\",\n    //   \"SIZE\": \"11.24MB\",\n    //   \"DISCOVERED\": \"2017-11-13 03:02:47\"\n    // },\n    // {\n    //   \"ID\": \"1206041\",\n    //   \"NAME\": \"素人四畳半生中出し\",\n    //   \"MAGNET\": \"magnet:?xt=urn:....\",\n    //   \"SIZE\": \"15.37GB\",\n    //   \"DISCOVERED\": \"2017-11-13 03:02:44\"\n    // },\n    // {\n    //   \"ID\": \"1206040\",\n    //   \"NAME\": \"Jeremy Camp - I Will Follow\",\n    //   \"MAGNET\": \"magnet:?xt=urn:....\",\n    //   \"SIZE\": \"285.95MB\",\n    //   \"DISCOVERED\": \"2017-11-13 03:02:44\"\n    // },\n    // {\n    //   \"ID\": \"1206039\",\n    //   \"NAME\": \"Gotham.S03E18.720p.HDTV.x264-KILLERS[ettv]\",\n    //   \"MAGNET\": \"magnet:?xt=urn:....\",\n    //   \"SIZE\": \"966.79MB\",\n    //   \"DISCOVERED\": \"2017-11-13 03:02:41\"\n    // },\n    //   ...\n    // ]\n  })\n  .catch(err => console.error(err))\n```\n\n## License\n\nMIT"},"npm":{"downloads":[{"from":"2022-06-24T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":3},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":36},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":70},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":138}],"starsCount":1},"github":{"starsCount":4,"forksCount":2,"subscribersCount":2,"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":false},"contributors":[{"username":"grantholle","commitsCount":7}],"commits":[{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":2305,"testsSize":2340},"linters":["standard"]}},"evaluation":{"quality":{"carefulness":0.84,"tests":0.6,"health":1,"branding":0},"popularity":{"communityInterest":10,"downloadsCount":12,"downloadsAcceleration":-0.06681887366818874,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.6127253907780776,"detail":{"quality":0.8262967790528932,"popularity":0.04250875764864514,"maintenance":0.9998808339576686}}}