@the-node-forge/url-shortener
Version:
A URL shortener that generates and stores unique aliases for long URLs, with optional expiration and custom alias support.
77 lines (76 loc) • 2.2 kB
JSON
{
"name": "@the-node-forge/url-shortener",
"version": "1.0.0",
"description": "A URL shortener that generates and stores unique aliases for long URLs, with optional expiration and custom alias support.",
"type": "commonjs",
"main": "dist/index.js",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "npm run build",
"build": "tsc",
"docs:generate": "typedoc --plugin typedoc-plugin-markdown --out docs/api src/index.ts",
"docs:build": "npm run docs:generate && cd docs && npm run build",
"docs:start": "npm run docs:generate && cd docs && npm start",
"docs:clean": "rm -rf docs/build && npm run docs:generate && npm run docs:build",
"docs:deploy": "cd docs && npm run deploy"
},
"repository": {
"type": "git",
"url": "https://github.com/The-Node-Forge/url-shortener"
},
"keywords": [
"url-shortener",
"redis",
"express-middleware",
"link-shortener",
"typescript",
"npm-package",
"nodejs",
"redis-store",
"backend",
"api-tools",
"custom-alias",
"url-aliasing",
"expiration"
],
"author": {
"name": "Andrew Gomez",
"url": "https://github.com/andrewgomez1992"
},
"license": "MIT",
"files": [
"dist",
"README.md"
],
"devDependencies": {
"@eslint/compat": "^1.2.5",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.19.0",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"globals": "^15.14.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"redis": "^4.7.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "^4.4.1",
"typescript": "^5.7.3"
},
"optionalDependencies": {
"redis": "^4.0.0"
}
}