nehoid
Version:
Advanced unique ID generation utility with multi-layer encoding, collision detection, and context-aware features
252 lines (251 loc) • 5.08 kB
JSON
{
"name": "nehoid",
"version": "2.1.4",
"type": "module",
"description": "Advanced unique ID generation utility with multi-layer encoding, collision detection, and context-aware features",
"main": "./dist/index.cjs",
"module": "./dist/index.esm.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"type-check": "tsc --noEmit",
"prepublishOnly": "npm run build",
"clean": "rm dist",
"docs": "typedoc src/index.ts",
"benchmark": "node benchmarks/performance.js"
},
"keywords": [
"id",
"uuid",
"nanoid",
"unique",
"identifier",
"generator",
"id-generator",
"unique-id",
"random-id",
"secure-id",
"encoding",
"collision",
"collision-detection",
"collision-resistant",
"context-aware",
"multi-layer",
"cryptographic",
"hash",
"base64",
"base58",
"typescript",
"javascript",
"nodejs",
"node",
"esm",
"commonjs",
"browser",
"es6",
"es2015",
"performance",
"fast",
"lightweight",
"secure",
"reliable",
"scalable",
"high-performance",
"optimized",
"efficient",
"database",
"db-id",
"primary-key",
"session-id",
"token",
"api-key",
"tracking",
"analytics",
"logging",
"distributed",
"microservices",
"nehonid",
"nid",
"uid",
"guid",
"ulid",
"cuid",
"xid",
"shortid",
"hashid",
"testing",
"jest",
"benchmark",
"coverage",
"lint",
"ci-cd",
"github-actions",
"rest-api",
"graphql",
"nextjs",
"react",
"vue",
"cryptography",
"random",
"entropy",
"secure-random",
"non-sequential",
"unpredictable",
"privacy",
"mongodb",
"postgresql",
"mysql",
"redis",
"elasticsearch",
"indexing",
"sharding",
"partitioning",
"utility",
"helper",
"tool",
"library",
"package",
"module",
"npm-package",
"open-source",
"microservice",
"serverless",
"cloud",
"distributed-systems",
"event-driven",
"message-queue",
"fintech",
"ecommerce",
"gaming",
"iot",
"blockchain",
"machine-learning",
"data-science",
"nehonix",
"mit-license",
"open-source",
"community",
"developer-tools",
"dev-tools"
],
"author": {
"name": "Nehonix",
"whatsapp": "https://s.nehonix.space/QBo0KpCl",
"url": "https://nehonix.space"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nehonix/nehoid.git"
},
"bugs": {
"url": "https://github.com/nehonix/nehoid/issues"
},
"homepage": "https://github.com/nehonix/nehoid#readme",
"engines": {
"node": ">=22.12.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.0",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.37.0",
"jest": "^29.5.0",
"rimraf": "^4.4.0",
"rollup": "^3.29.4",
"rollup-plugin-dts": "^6.2.1",
"ts-jest": "^29.1.0",
"typedoc": "^0.24.0",
"typescript": "^5.8.3"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/nehonix"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.json"
}
]
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts"
],
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
}
},
"eslintConfig": {
"extends": [
"@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "error"
}
},
"peerDependencies": {
"nehonix-uri-processor": "^2.3.17"
},
"peerDependenciesMeta": {
"nehonix-uri-processor": {
"optional": true
}
}
}