UNPKG

crypto-shortener

Version:

Shorten crypto hashes, addresses with ellipsis

68 lines (67 loc) 1.81 kB
{ "name": "crypto-shortener", "version": "1.2.0", "description": "Shorten crypto hashes, addresses with ellipsis", "keywords": [ "address", "bitcoin", "crypto", "ellipsis", "ethereum", "hash", "shorten", "string" ], "bugs": "https://github.com/hemilabs/crypto-shortener/issues", "license": "MIT", "author": "Gabriel Montes <gabriel@bloq.com>", "files": [ "_esm", "_types", "src" ], "main": "./_esm/index.js", "repository": "hemilabs/crypto-shortener", "scripts": { "build": "npm run clean && npm run build:esm && npm run build:types", "build:esm": "tsc --noEmit false --outDir ./_esm --sourceMap", "build:types": "tsc --noEmit false --module esnext --declarationDir ./_types --emitDeclarationOnly --declaration --declarationMap", "clean": "rm -rf ./_esm ./_types", "coverage": "vitest run --coverage", "deps:check": "knip", "format:check": "prettier --check .", "lint": "eslint --cache .", "prepare": "husky", "prepublishOnly": "npm run build", "test": "vitest run", "tsc": "tsc --noEmit" }, "devDependencies": { "@commitlint/cli": "^19.5.0", "@types/node": "^22.7.3", "@vitest/coverage-v8": "^2.1.4", "better-sort-package-json": "^1.1.0", "commitlint-config-bloq": "^1.1.0", "eslint": "^8.57.1", "eslint-config-bloq": "^4.4.1", "husky": "^9.1.7", "knip": "^5.36.3", "lint-staged": "^15.2.10", "prettier": "^3.3.3", "typescript": "5.6.3", "vitest": "2.1.4" }, "engines": { "node": ">=16.11" }, "type": "module", "exports": { ".": { "import": "./_esm/index.js", "types": "./_types/index.d.ts" } }, "module": "./_esm/index.js", "types": "./_types/index.d.ts", "typings": "./_types/index.d.ts" }