pdftoimg-js
Version:
A javascript library that help to convert pdf to img in both platform nodejs and browser
86 lines (85 loc) • 2.18 kB
JSON
{
"name": "pdftoimg-js",
"description": "A javascript library that help to convert pdf to img in both platform nodejs and browser",
"version": "0.2.5",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"pdftoimg": "./dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.mjs",
"require": "./dist/browser.js",
"default": "./dist/browser.js"
}
},
"scripts": {
"build": "tsup",
"test": "jest",
"lint": "eslint",
"format": "prettier --ignore-path .gitignore --write \"./src/**/*.+(js|ts|json)\"",
"example": "tsx example/example.ts",
"prepare": "husky"
},
"keywords": [
"pdftoimg-js",
"pdftoimg",
"pdf2img",
"pdf to image",
"pdf converter",
"pdf to png",
"pdf to jpg",
"pdf to image nodejs",
"pdf to image browser",
"pdfjs",
"javascript pdf converter",
"nodejs pdf to image",
"browser pdf to image",
"typescript pdf library"
],
"author": "Rashed Iqbal <dev.rashediqbal@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/iqbal-rashed/pdftoimg-js.git"
},
"homepage": "https://github.com/iqbal-rashed/pdftoimg-js#readme",
"bugs": {
"url": "https://github.com/iqbal-rashed/pdftoimg-js/issues"
},
"engines": {
"node": ">=16.0.0"
},
"files": [
"dist/**/*",
"browser"
],
"devDependencies": {
"@eslint/js": "^9.23.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.11",
"eslint": "^9.23.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"ts-jest": "^29.2.6",
"tsup": "^8.4.0",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"typescript-eslint": "^8.27.0"
},
"dependencies": {
"pdfjs-dist": "4.8.69",
"yargs": "^18.0.0"
}
}