Socket
Book a DemoInstallSign in
Socket

node-hitomi

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-hitomi

Hitomi.la api for Node.js

8.1.0
latest
Source
npmnpm
Version published
Weekly downloads
15
Maintainers
1
Weekly downloads
 
Created
Source
banner

Hitomi.la api for Node.js

Would you call me a gentleman?

npm version npm type definition license


Installation

NOTICE: Please always use the latest version of the package.
Since Hitomi changes its method to get image url often, legacy version may not work.

Using npm:

$ npm install node-hitomi

Using yarn:

$ yarn add node-hitomi

Features

  • Get gellary ids by title, tags, and popularity
  • Get gallary data by id
  • Parse, query and get tags
  • Get hitomi-related uris

Without any dependencies!

Usage/Examples

setup:

// CommonJS
const hitomi = require('node-hitomi').default;

// ES Module
import hitomi from 'node-hitomi';

printing title and id of gallery id x:

hitomi.getGallery(x)
.then(function (gallery) {
	console.log(gallery['title']['display'], gallery['id']);

	return;
});

printing supported tags of female starts with letter y:

hitomi.getTags('female', {
	startsWith: 'y'
})
.then(function (tags) {
	console.log(tags);

	return;
});

printing number of gallery with language korean without female tag netorare:

hitomi.getGalleryIds({
	tags: hitomi.getParsedTags('language:korean -female:netorare')
})
.then(function (ids) {
	console.log(ids['length']);

	return;
});

Contribution

Contribution, issues and feature requests are welcome!
Feel free to check issues page.

Keywords

hitomi

FAQs

Package last updated on 02 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.