UNPKG

iran-bank-cards-ocr

Version:

A TypeScript library to detect Iranian bank names, logos, and validate card numbers using OCR and Luhn algorithm.

56 lines (55 loc) 1.46 kB
{ "name": "iran-bank-cards-ocr", "version": "1.0.0", "description": "A TypeScript library to detect Iranian bank names, logos, and validate card numbers using OCR and Luhn algorithm.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest", "lint": "eslint src/**/*.ts", "format": "prettier --write src/**/*.ts", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint" }, "keywords": [ "bank", "card", "iran", "ocr", "tesseract", "typescript", "luhn", "validation", "bank-detection" ], "author": { "name": "Peyman Pirzadeh", "email": "dev.pirzadeh@gmail.com", "url": "https://github.com/peymanprd" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/peymanprd/iran-bank-cards-ocr.git" }, "bugs": { "url": "https://github.com/peymanprd/iran-bank-cards-ocr/issues" }, "homepage": "https://github.com/peymanprd/iran-bank-cards-ocr#readme", "dependencies": { "tesseract.js": "^4.1.4" }, "devDependencies": { "@types/jest": "^29.5.0", "@typescript-eslint/eslint-plugin": "^8.21.0", "@typescript-eslint/parser": "^8.21.0", "eslint": "^8.57.1", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.5.0", "prettier": "^2.8.4", "ts-jest": "^29.1.0", "typescript": "^5.0.4" } }