@digitalmaas/uuid-base62
Version:
Base62 UUID encoder and decoder
93 lines (92 loc) • 2.26 kB
JSON
{
"name": "@digitalmaas/uuid-base62",
"version": "2.0.1",
"description": "Base62 UUID encoder and decoder",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"scripts": {
"build": "npm run build:clean && npm run build:lib",
"build:clean": "rimraf ./dist/",
"build:lib": "tsup-node --dts",
"lint": "xo",
"prepare": "husky",
"release": "semantic-release",
"test:ts": "tsc --noEmit",
"test:unit": "node --import tsx --test lib/index.test.ts",
"test": "npm run test:ts && npm run test:unit"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "*"
},
"dependencies": {
"base-x": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/node": "22.10.10",
"husky": "9.1.7",
"lint-staged": "15.4.2",
"rimraf": "6.0.1",
"semantic-release": "23.1.1",
"tiny-glob": "0.2.9",
"tsup": "8.3.5",
"tsx": "4.19.2",
"typescript": "4.9.5",
"xo": "0.60.0"
},
"keywords": [
"digitalmaas",
"guid",
"uuid",
"uid",
"id",
"base62",
"short-id",
"identifier",
"url-friendly",
"encode",
"decode"
],
"engines": {
"node": ">=18",
"npm": ">=9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/digitalmaas/uuid-base62.git"
},
"bugs": {
"url": "https://github.com/digitalmaas/uuid-base62/issues"
},
"publishConfig": {
"access": "public"
},
"contributors": [
"Dario Marcelino <dario@appscot.com>",
"Ricardo Nolde <nolde@users.noreply.github.com>"
],
"author": "Ricardo Nolde <nolde@users.noreply.github.com>",
"homepage": "https://github.com/digitalmaas/uuid-base62#readme",
"license": "MIT"
}