Skip to content

Instantly share code, notes, and snippets.

@ngokevin
ngokevin / index.js
Created June 8, 2020 18:39
Hakuneko Manga Combiner
const glob = require('glob');
const fs = require('fs-extra');
const path = require('path');
const rimraf = require('rimraf');
const zipdir = require('zip-dir');
const comicPath = process.argv[2];
const comicName = comicPath.split('/').slice(-1)[0].replace(/ /g, '');
const zipPath = `${comicName}Zip`;