UNPKG

typeid-js

Version:

Official implementation of the TypeID specification in TypeScript. TypeIDs are type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs

56 lines (55 loc) 1.45 kB
{ "name": "typeid-js", "version": "1.2.0", "description": "Official implementation of the TypeID specification in TypeScript. TypeIDs are type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs", "keywords": [ "typeid", "uuid", "uuidv7", "guid" ], "homepage": "https://github.com/jetify-com/typeid-js", "bugs": "https://github.com/jetify-com/typeid-js/issues", "license": "Apache-2.0", "author": { "name": "jetify", "email": "opensource@jetify.com" }, "repository": "github:jetify-com/typeid-js", "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" } }, "files": [ "dist/**" ], "scripts": { "build": "tsup --format esm,cjs --dts", "clean": "rm -rf node_modules && rm -rf dist", "dev": "tsup --format esm,cjs --watch --dts", "fmt": "pnpm lint --fix", "lint": "prettier '(src|test)/**/*.ts' --write", "test": "jest" }, "devDependencies": { "@jest/globals": "^29.5.0", "@tsconfig/strictest": "^2.0.1", "@types/node": "^20.2.5", "@types/uuid": "^10.0.0", "jest": "^29.5.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "tsup": "^6.7.0", "typescript": "^5.0.4" }, "dependencies": { "uuid": "^10.0.0" } }