nyaa-hayase
v1.0.7
Published
An npm package and Hayase (formerly Miru) extension for searching anime torrents on Nyaa.si.
Readme
Nyaa Hayase Extension
An npm package and Hayase (formerly Miru) extension for searching anime torrents on Nyaa.si.
Features
- Compatible with Hayase extension interface.
- Search for single episodes, batches, and movies.
- Supports resolution filtering.
- Supports exclusions.
- Parses seeders, leechers, size, and date correctly.
- Extracts infoHash from magnet links.
Installation
npm install nyaa-hayaseUsage in Hayase
To use this as a Hayase extension, you can reference it in your Hayase configuration or import the NyaaSource class.
Hayase Extension Interface
import NyaaSource from 'nyaa-hayase';
const source = new NyaaSource();
// Search for an episode
const results = await source.single({
titles: ['One Piece'],
episode: 1000,
resolution: '1080',
exclusions: []
});Development
- Clone the repository.
- Run
npm install. - Test with
node test.js.
License
MIT
