Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# alegra-api-client

[![CI](https://github.com/garydormoi/alegra-api-client/actions/workflows/ci.yml/badge.svg)](https://github.com/garydormoi/alegra-api-client/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

Cliente ligero y **tipado** (TypeScript) para la [API de Alegra](https://developer.alegra.com/).
Cubre lo esencial de la capa de integración: **autenticación**, **paginación** y
**manejo de rate limits** con reintentos, sobre `contactos`, `ítems` y `facturas`.
Expand Down
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"build": "tsc -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"lint:types": "tsc --noEmit"
"lint:types": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"keywords": [
"alegra",
Expand All @@ -38,5 +39,17 @@
"@types/node": "^20.14.0",
"typescript": "^5.5.0",
"vitest": "^2.0.0"
},
"author": "Gary Dormoi",
"repository": {
"type": "git",
"url": "git+https://github.com/garydormoi/alegra-api-client.git"
},
"homepage": "https://github.com/garydormoi/alegra-api-client#readme",
"bugs": {
"url": "https://github.com/garydormoi/alegra-api-client/issues"
},
"publishConfig": {
"access": "public"
}
}
Loading