bangumi-search

0.1.1 • Public • Published

bangumi-search

npm GitHub

It is a wrapper for bangumi-data, used for searching anime names in the database.

Install

For command line:

npm install -g bangumi-search

To use as a library:

npm install bangumi-search

Usage

Command line

Usage: bangumi-search <str> [options]

Options:
  -h, --help     Show help                                             [boolean]
  -t, --title    Show titles only in results                           [boolean]
  -n, --number   Limit the number of results. -1 for unlimited. [number] [default: 5]
  -v, --version  Show version number                                   [boolean]

Since the titles in the database are mainly in Japanese, English and Chinese, these languages can be used to search.

Library

Use the exported search function:

const bangumiSearch = require('bangumi-search');
const results = bangumiSearch('keyword');

Develop

Clone this repository, and then run:

npm install
node index.js <str>

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i bangumi-search

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

2.14 MB

Total Files

9

Last publish

Collaborators

  • dcsunset