{"analyzedAt":"2022-07-07T08:31:27.583Z","collected":{"metadata":{"name":"nyaa-available","scope":"unscoped","version":"2.0.1","description":"Check nyaa.se to see if an episode if available","keywords":["anime","nodejs","nyaa-se"],"date":"2017-07-21T08:37:41.595Z","author":{"name":"Vija02"},"publisher":{"username":"vija02","email":"salim_michaelmi@yahoo.com"},"maintainers":[{"username":"vija02","email":"salim_michaelmi@yahoo.com"}],"repository":{"type":"git","url":"git+https://github.com/Vija02/nyaa-available.git"},"links":{"npm":"https://www.npmjs.com/package/nyaa-available","homepage":"https://github.com/Vija02/nyaa-available#readme","repository":"https://github.com/Vija02/nyaa-available","bugs":"https://github.com/Vija02/nyaa-available/issues"},"license":"MIT","dependencies":{"axios":"^0.16.1","fast-xml-parser":"2.3.1","left-pad":"^1.1.3"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.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":"# nyaa-available [![npm version](https://badge.fury.io/js/nyaa-available.svg)](https://badge.fury.io/js/nyaa-available) [![Build Status](https://travis-ci.org/Vija02/nyaa-available.svg?branch=master)](https://travis-ci.org/Vija02/nyaa-available)\r\nCheck nyaa.si to see if an episode if available\r\n\r\n## Install\r\n\r\n```\r\n$ npm install --save nyaa-available\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nconst nyaa = require('nyaa-available');\r\n\r\nnyaa.checkEpisode(\"Clannad\", 23).then((res) => {\r\n  console.log(res); // true\r\n});\r\n\r\nnyaa.checkEpisode(\"Clannad\", 24).then((res) => {\r\n  console.log(res); // false\r\n});\r\n```\r\n\r\n## API\r\n\r\n### `.checkEpisode(string title, int episode): Promise(bool)`\r\n\r\nChecks the if the episode given exists. Returns a promise.\r\n\r\n### `.modifyTitle(string title): string`\r\n\r\nModify the title and return a name more suitable to search in nyaa.si\r\n\r\n## FAQ\r\n\r\n### Why are there occasional errors when calling the method many times?\r\n\r\nMake sure that you query the site at an acceptable pace. For example, 1 request/second.\r\n\r\n## Help\r\n\r\nIf there is any problem with the package, please create an issue on github. Thanks!"},"npm":{"downloads":[{"from":"2022-07-06T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2022-06-30T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":2},{"from":"2022-06-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":20},{"from":"2022-04-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":99},{"from":"2022-01-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":204},{"from":"2021-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":390}],"starsCount":0},"github":{"starsCount":3,"forksCount":0,"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},"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/push","state":"success"}]},"source":{"files":{"readmeSize":1127,"testsSize":1009},"badges":[{"urls":{"original":"https://travis-ci.org/Vija02/nyaa-available.svg?branch=master","service":"https://api.travis-ci.org/Vija02/nyaa-available.svg?branch=master","shields":"https://img.shields.io/travis/Vija02/nyaa-available/master.svg","content":"https://img.shields.io/travis/Vija02/nyaa-available/master.json"},"info":{"service":"travis","type":"build","modifiers":{"branch":"master"}}}],"outdatedDependencies":{"axios":{"required":"^0.16.1","stable":"0.27.2","latest":"1.0.0-alpha.1"},"fast-xml-parser":{"required":"2.3.1","stable":"4.0.8","latest":"4.0.8"}}}},"evaluation":{"quality":{"carefulness":0.71,"tests":0.85,"health":0.5,"branding":0.15},"popularity":{"communityInterest":5,"downloadsCount":33,"downloadsAcceleration":-0.0842465753424658,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.6221113423969514,"detail":{"quality":0.8691395263706779,"popularity":0.03260340743018315,"maintenance":0.9998808339576686}}}