UNPKG

@lesjoursfr/html-to-epub

Version:

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

78 lines (77 loc) 1.91 kB
{ "name": "@lesjoursfr/html-to-epub", "version": "4.5.2", "description": "A library to generate EPUB from HTML. Inspired by epub-gen.", "license": "MIT", "repository": "lesjoursfr/html-to-epub", "homepage": "https://github.com/lesjoursfr/html-to-epub#readme", "bugs": { "url": "https://github.com/lesjoursfr/html-to-epub/issues" }, "publishConfig": { "access": "public" }, "engines": { "node": "20.x || 22.x || 24.x" }, "keywords": [ "epub", "generator", "ebook", "html" ], "type": "module", "main": "./lib/index.js", "types": "./lib/index.d.ts", "files": [ "lib/**/*", "src/**/*", "templates/**/*" ], "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.10.0", "diacritics": "^1.3.0", "ejs": "^3.1.10", "entities": "^6.0.1", "fs-extra": "^11.3.0", "image-size": "^2.0.2", "mime": "^4.0.7", "rehype-parse": "^9.0.1", "rehype-stringify": "^10.0.1", "unified": "^11.0.5", "unist-util-visit": "^5.0.0", "uslug": "^1.0.4" }, "devDependencies": { "@eslint/js": "^9.30.1", "@tsconfig/node20": "^20.1.6", "@types/archiver": "^6.0.3", "@types/diacritics": "^1.3.3", "@types/ejs": "^3.1.5", "@types/fs-extra": "^11.0.4", "@types/mocha": "^10.0.10", "@types/node": "^22.16.0", "@types/uslug": "^1.0.4", "cross-env": "^7.0.3", "eslint": "^9.30.1", "eslint-config-prettier": "^10.1.5", "globals": "^16.3.0", "mocha": "^11.7.1", "prettier": "^3.6.2", "ts-node": "^10.9.2", "typescript": "^5.8.3", "typescript-eslint": "^8.35.1" }, "packageManager": "yarn@4.9.2" }