better-auth-credentials-plugin
Version:
Generic credentials authentication plugin for Better Auth (To auth with ldap, external API, etc...)
83 lines (82 loc) • 2.12 kB
JSON
{
"name": "better-auth-credentials-plugin",
"version": "0.5.2",
"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"
},
"peerDependencies": {
"@standard-schema/spec": "^1.1.0",
"better-auth": "^1.5.0",
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@eslint/compat": "^2.0.2",
"@standard-schema/spec": "^1.1.0",
"@types/express": "^5.0.6",
"@types/node": "^25.3.2",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"@vitest/coverage-v8": "^4.0.18",
"argon2": "^0.44.0",
"arktype": "^2.1.29",
"better-auth": "^1.5.0",
"dotenv": "^17.3.1",
"eslint": "^9.39.2",
"eslint-plugin-import": "^2.32.0",
"express": "^5.2.1",
"happy-dom": "^20.7.0",
"jsdom": "^28.1.0",
"ldap-authentication": "4.0.3",
"mongodb": "^7.1.0",
"nodemon": "^3.1.14",
"supertest": "^7.2.2",
"typescript": "^5.9.3",
"vitest": "^4.0.18",
"vitest-mongodb": "^1.0.3",
"zod": "^4.3.6"
},
"type": "module"
}