UNPKG

@nftgo/gorarity

Version:

An algorithm to calculate rarity of NFT(how special it is), based on Jaccard Distance.

65 lines (64 loc) 1.75 kB
{ "name": "@nftgo/gorarity", "version": "1.0.1", "description": "An algorithm to calculate rarity of NFT(how special it is), based on Jaccard Distance.", "keywords": [ "rarity", "nft", "web3", "nonfungibletoken", "crypto", "algorithm", "nftgo", "nodejs", "javascript" ], "exports": { ".": { "import": "./dist/mjs/index.js", "require": "./dist/cjs/index.js" } }, "main": "./dist/cjs/index.js", "module": "./dist/mjs/index.js", "files": [ "dist" ], "scripts": { "prepare": "husky install", "lint": "eslint ./ --max-warnings=0 --ext .ts", "lint-fix": "eslint ./ --max-warnings=0 --ext .ts --fix", "format": "prettier --config .prettierrc '.' --write", "format-watch": "onchange -- prettier '.' --write {{changed}}", "test": "jest", "clean": "rm -rf ./dist tsconfig.tsbuildinfo", "compile": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup", "build": "yarn clean; yarn compile" }, "repository": { "type": "git", "url": "git+https://github.com/NFTGo/GoRarity.git" }, "author": "NFTGo.io", "license": "MIT", "bugs": { "url": "https://github.com/NFTGo/GoRarity/issues" }, "homepage": "https://github.com/NFTGo/GoRarity#readme", "devDependencies": { "@types/jest": "^29.4.0", "@types/node": "^18.14.0", "@typescript-eslint/eslint-plugin": "^5.52.0", "@typescript-eslint/parser": "^5.52.0", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.0", "jest": "29.4.0", "onchange": "^7.1.0", "prettier": "^2.8.4", "ts-jest": "^29.0.5", "ts-node": "^10.9.1", "typescript": "4.9.5" } }