{"_id":"@coresql/mysql2-auth-ed25519","name":"@coresql/mysql2-auth-ed25519","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@coresql/mysql2-auth-ed25519","version":"1.0.0","description":"mysql2 auth plugin for ed25519","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build","test":"jest"},"repository":{"type":"git","url":"git+ssh://git@github.com/coresql/mysql2-auth-ed25519.git"},"keywords":["mysql2","ed25519"],"author":{"name":"Matthew Peveler","email":"matt.peveler@gmail.com"},"license":"LGPL-2.1-or-later","bugs":{"url":"https://github.com/coresql/mysql2-auth-ed25519/issues"},"homepage":"https://github.com/coresql/mysql2-auth-ed25519#readme","devDependencies":{"@swc/core":"^1.10.9","@swc/jest":"^0.2.37","@testcontainers/mariadb":"^10.17.1","@types/jest":"^29.5.14","jest":"^29.7.0","mysql2":"^3.12.0","typescript":"^5.7.3"},"peerDependencies":{"mysql2":">=2.0.0"},"private":false,"_id":"@coresql/mysql2-auth-ed25519@1.0.0","gitHead":"fe10a5bcd088a718bc4593ab532e89e53209a253","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-pqH/XGycnw5QrVf/SmU2vhsGp6B4E898/4IjACQ2ENA7wZpiN4sQjNXA6C+mjW5xJuH3ss7NCSab2NX7s2DkNg==","shasum":"692c8a9cbf2a1d2850c9bb9c6d1c736af9ab7b79","tarball":"https://registry.npmjs.org/@coresql/mysql2-auth-ed25519/-/mysql2-auth-ed25519-1.0.0.tgz","fileCount":12,"unpackedSize":62496,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCAlj5qeart3QYZAMU7UKc3ElWHc7vC1kRguyFM6/4eYgIhALK+CR+LzOHTlKYE8jc6XRey3UnG7q38jmhMWCWEDcDc"}]},"_npmUser":{"name":"masterodin","email":"matt.peveler@gmail.com"},"directories":{},"maintainers":[{"name":"masterodin","email":"matt.peveler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mysql2-auth-ed25519_1.0.0_1737668377221_0.7222379935802152"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-23T21:39:37.105Z","1.0.0":"2025-01-23T21:39:37.479Z","modified":"2025-01-23T21:39:37.816Z"},"maintainers":[{"name":"masterodin","email":"matt.peveler@gmail.com"}],"description":"mysql2 auth plugin for ed25519","homepage":"https://github.com/coresql/mysql2-auth-ed25519#readme","keywords":["mysql2","ed25519"],"repository":{"type":"git","url":"git+ssh://git@github.com/coresql/mysql2-auth-ed25519.git"},"author":{"name":"Matthew Peveler","email":"matt.peveler@gmail.com"},"bugs":{"url":"https://github.com/coresql/mysql2-auth-ed25519/issues"},"license":"LGPL-2.1-or-later","readme":"# mysql2-auth-ed25519\n\nRepository provides [MariaDB's ed25519 plugin](https://mariadb.com/kb/en/authentication-plugin-ed25519/)\nto use as an auth plugin to [mysql2](https://www.npmjs.com/package/mysql2).\n\nThe code provided is a fork from\n[mariadb-connector-nodejs/lib/cmd/handshake/auth/ed25519-password-auth.js](https://github.com/mariadb-corporation/mariadb-connector-nodejs/blob/master/lib/cmd/handshake/auth/ed25519-password-auth.js#L1)\n\n## Installation\n\n```bash\nnpm install @corejs/mysql2-auth-ed255119\n```\n\n## Usage\n\n```js\nconst authPlugin = require('@coresql/mysql2-auth-ed25519');\nconst client = mysql.createConnection({\n  authPlugins: {\n    'client_ed25519': authPlugin(),\n  },\n  // other settings\n});\n```\n","readmeFilename":"README.md"}