UNPKG

@kne/fastify-shorten

Version:

Fastify Shorten 是一个专为 Fastify 框架设计的 URL 缩短服务插件,提供完整的短链接生成和管理功能

65 lines (64 loc) 1.65 kB
{ "name": "@kne/fastify-shorten", "version": "1.0.13", "description": "Fastify Shorten 是一个专为 Fastify 框架设计的 URL 缩短服务插件,提供完整的短链接生成和管理功能", "main": "index.js", "scripts": { "init": "husky", "dev": "nodemon ./index.js", "start": "node ./index.js", "build:md": "npx @kne/md-doc", "start:md": "npx @kne/md-doc --watch", "prettier": "prettier --config .prettierrc --write '{libs/**/*,index}.{js,jsx,ts,tsx,json,css,scss}'", "lint-staged": "npx lint-staged" }, "lint-staged": { "**/*.md": [ "git add" ], "{libs/**/*,index}.{js,jsx,ts,tsx,json,css,scss}": [ "prettier --config .prettierrc --write", "git add" ] }, "files": [ "index.js", "libs" ], "repository": { "type": "git", "url": "git+https://github.com/kne-union/fastify-shorten.git" }, "keywords": [ "fastify", "url-shortener", "短链接", "url缩短", "fastify-plugin", "短网址" ], "author": "linzp", "license": "ISC", "bugs": { "url": "https://github.com/kne-union/fastify-shorten/issues" }, "homepage": "https://github.com/kne-union/fastify-shorten#readme", "peerDependencies": { "@kne/fastify-namespace": "*", "@kne/fastify-sequelize": "*", "fastify-plugin": ">=5" }, "devDependencies": { "@fastify/env": "^4.4.0", "@kne/fastify-sequelize": "^2.0.1", "fastify": "^5.3.2", "fastify-plugin": "^5.0.1", "husky": "^9.0.11", "nodemon": "^3.1.3", "prettier": "^3.2.5", "sqlite3": "^5.1.7" }, "dependencies": { "http-error": "^0.0.6" } }