UNPKG

@lesjoursfr/html-to-epub

Version:

A library to generate EPUB from HTML. Inspired by epub-gen.

76 lines (75 loc) 1.88 kB
{ "name": "@lesjoursfr/html-to-epub", "version": "6.1.0", "description": "A library to generate EPUB from HTML. Inspired by epub-gen.", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/lesjoursfr/html-to-epub.git" }, "homepage": "https://github.com/lesjoursfr/html-to-epub#readme", "bugs": { "url": "https://github.com/lesjoursfr/html-to-epub/issues" }, "publishConfig": { "access": "public" }, "engines": { "node": "22.x || 24.x" }, "keywords": [ "epub", "generator", "ebook", "html" ], "main": "./lib/index.js", "types": "./lib/index.d.ts", "type": "module", "scripts": { "freshlock": "rm -rf node_modules/ && rm .yarn/install-state.gz && rm yarn.lock && yarn", "check-lint": "eslint", "check-format": "prettier --check .", "check-tsc": "tsc --noEmit", "lint": "eslint --fix", "format": "prettier --write .", "build": "tsc", "test": "cross-env NODE_OPTIONS='--loader=ts-node/esm' mocha" }, "dependencies": { "archiver": "^7.0.1", "axios": "^1.15.2", "diacritics": "^1.3.0", "ejs": "^5.0.2", "entities": "^8.0.0", "fs-extra": "^11.3.4", "image-size": "^2.0.2", "mime": "^4.1.0", "rehype-parse": "^9.0.1", "rehype-stringify": "^10.0.1", "unified": "^11.0.5", "unist-util-visit": "^5.1.0", "uslug": "^1.0.4" }, "devDependencies": { "@eslint/js": "10.0.1", "@tsconfig/node22": "22.0.5", "@types/archiver": "7.0.0", "@types/diacritics": "1.3.3", "@types/ejs": "3.1.5", "@types/fs-extra": "11.0.4", "@types/mocha": "10.0.10", "@types/node": "24.12.2", "@types/uslug": "1.0.4", "cross-env": "10.1.0", "eslint": "10.2.1", "eslint-config-prettier": "10.1.8", "globals": "17.5.0", "mocha": "11.7.5", "prettier": "3.8.3", "ts-node": "10.9.2", "typescript": "6.0.3", "typescript-eslint": "8.59.0" }, "packageManager": "yarn@4.14.1" }