UNPKG

xid-ts

Version:

xid is a globally unique id generator thought for the web. A Typescript port of https://github.com/rs/xid.

64 lines 1.69 kB
{ "name": "xid-ts", "type": "module", "version": "1.1.4", "author": "0xZensh <txr1883@gmail.com>", "description": "xid is a globally unique id generator thought for the web. A Typescript port of https://github.com/rs/xid.", "license": "MIT", "homepage": "https://github.com/yiwen-ai/xid-ts", "repository": { "type": "git", "url": "git+https://github.com/yiwen-ai/xid-ts.git" }, "files": [ "dist", "package.json", "LICENSE", "README.md" ], "unpkg": "./dist/esm/index.js", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "typings": "./dist/esm/index.d.ts", "browser": { "node:crypto": false }, "engines": { "node": ">=18.0.0" }, "scripts": { "build": "npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json", "clean": "rm -rf dist", "lint": "eslint .", "lint:fix": "eslint . --fix", "format": "prettier --write \"src/**/*.{json,js,jsx,ts,tsx,css,scss,svelte}\"", "ncu": "npx npm-check-updates -u", "test": "vitest src --coverage --run" }, "devDependencies": { "@types/node": "^22.5.1", "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "@vitest/coverage-v8": "^2.0.5", "cborg": "^4.2.3", "eslint": "^9.9.1", "eslint-plugin-import": "^2.29.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "prettier": "^3.3.3", "typescript": "^5.5.4", "vitest": "^2.0.5" }, "dependencies": {}, "keywords": [ "xid", "unique", "uuid" ] }