npm i otakudesu-scraper --only=production
or
yarn add otakudesu-scraper --production
Basically, it is very simple to use.
If you use ES Module/TypeScript. Just type:
import { OtakudesuInstance } from 'otakudesu-scraper';
const otaku = new OtakudesuInstance();
otaku.getAnime('Boruto').then(console.log);
And, if you use CommonJS. Just follow the codes above, and change import { OtakudesuInstance } from 'otakudesu-scraper';
to const { OtakudesuInstance } = require('otakudesu-scraper');
Need documentation? Check this out!
Contributions are welcome, and if you have any issues with this package, you are welcome to open the issue on the github repository.
Generated using TypeDoc