
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
node-hitomi
Advanced tools
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
Without any dependencies!
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, issues and feature requests are welcome!
Feel free to check issues page.
FAQs
Hitomi.la api for Node.js
The npm package node-hitomi receives a total of 81 weekly downloads. As such, node-hitomi popularity was classified as not popular.
We found that node-hitomi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.