lgaticaq/anime-dl

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# anime-dl

[![npm version](https://img.shields.io/npm/v/anime-dl.svg?style=flat-square)](https://www.npmjs.com/package/anime-dl)
[![npm downloads](https://img.shields.io/npm/dm/anime-dl.svg?style=flat-square)](https://www.npmjs.com/package/anime-dl)
[![Build Status](https://img.shields.io/travis/lgaticaq/anime-dl.svg?style=flat-square)](https://travis-ci.org/lgaticaq/anime-dl)
[![Coverage Status](https://img.shields.io/coveralls/lgaticaq/anime-dl/master.svg?style=flat-square)](https://coveralls.io/github/lgaticaq/anime-dl?branch=master)
[![Code Climate](https://img.shields.io/codeclimate/github/lgaticaq/anime-dl.svg?style=flat-square)](https://codeclimate.com/github/lgaticaq/anime-dl)
[![dependency Status](https://img.shields.io/david/lgaticaq/anime-dl.svg?style=flat-square)](https://david-dm.org/lgaticaq/anime-dl#info=dependencies)
[![devDependency Status](https://img.shields.io/david/dev/lgaticaq/anime-dl.svg?style=flat-square)](https://david-dm.org/lgaticaq/anime-dl#info=devDependencies)

> Search and get anime video url

## Installation

```bash
npm i -S anime-dl
```

## Use

[Try on Tonic](https://tonicdev.com/npm/anime-dl)
```js
const anime = require('anime-dl')

const name: 'one piece'
const chapter = '732'
anime.getLinksByNameAndChapter(name, chapter).then(console.log)
/*{
  title: 'One Piece',
  codeName: 'one-piece',
  chapter: '732',
  urls: [
    'http://jkanime.net/stream/jkmedia/83b83090f08cbe7823cb0ed531f8cc72/0f40333b749a2a6d1bc5706accd73329/1/1de4451f8844a9c171830d25ff1cebbb/',
    'http://jkanime.net/stream/jkmedia/83b83090f08cbe7823cb0ed531f8cc72/4f501d26373b56e0fe0351c1a6154bd4/1/1de4451f8844a9c171830d25ff1cebbb/',
    'http://jkanime.net/stream/jkmedia/83b83090f08cbe7823cb0ed531f8cc72/ea38fc252cc488c0c1149875b8694f87/1/1de4451f8844a9c171830d25ff1cebbb/'
  ]
}*/
```

## License

[MIT](https://tldrlegal.com/license/mit-license)