better-auth-credentials-plugin
Version:
Generic credentials authentication plugin for Better Auth (To auth with ldap, external API, etc...)
83 lines (82 loc) • 2.08 kB
JSON
{
"name": "better-auth-credentials-plugin",
"version": "0.4.0",
"description": "Generic credentials authentication plugin for Better Auth (To auth with ldap, external API, etc...)",
"author": "Erick L. Weil",
"license": "MIT",
"keywords": [
"better-auth",
"betterauth",
"auth",
"authentication",
"credentials",
"ldap",
"active-directory",
"ad",
"plugin",
"provider"
],
"main": "dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./client": {
"types": "./dist/client.d.ts",
"import": "./dist/client.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/erickweil/better-auth-credentials-plugin.git"
},
"engines": {
"node": ">=18"
},
"files": [
"dist"
],
"types": "dist/index.d.ts",
"scripts": {
"example:ldap": "node ./dist/examples/ldap-auth/server.js",
"example:basic": "node ./dist/examples/basic/server.js",
"example:external": "node ./dist/examples/external-api/server.js",
"build": "tsc",
"lint": "npx eslint ./ --ext .ts",
"test": "vitest run"
},
"dependencies": {
},
"peerDependencies": {
"better-auth": "^1.4.0",
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@better-auth-kit/tests": "^0.2.0",
"@eslint/compat": "^2.0.0",
"@types/express": "^5.0.6",
"@types/node": "^25.0.3",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.50.0",
"@typescript-eslint/parser": "^8.50.0",
"@vitest/coverage-v8": "^4.0.16",
"better-auth": "^1.4.7",
"argon2": "^0.44.0",
"dotenv": "^17.2.3",
"eslint": "^9.39.2",
"eslint-plugin-import": "^2.32.0",
"express": "^5.2.1",
"happy-dom": "^20.0.11",
"jsdom": "^27.3.0",
"ldap-authentication": "3.3.6",
"mongodb": "^6.19.0",
"nodemon": "^3.1.11",
"supertest": "^7.1.4",
"typescript": "^5.9.3",
"vitest": "^4.0.16",
"vitest-mongodb": "^1.0.3",
"zod": "^4.2.1"
},
"type": "module"
}