{"library":"htpasswd","type":"library","category":null,"description":"The `htpasswd` package provides a Node.js implementation of Apache's `htpasswd` utility, designed for managing HTTP Basic Authentication password files. It functions primarily as a command-line interface tool, offering various password encryption methods including MD5 (default), bcrypt, SHA, crypt(), and plaintext. The current stable version is 2.4.6. Its release cadence appears to be infrequent, with recent updates mainly addressing ownership and minor version bumps rather than continuous feature additions. Key differentiators include its direct emulation of the Apache utility's CLI and support for multiple hashing algorithms, making it suitable for environments where direct `htpasswd` file manipulation is required programmatically or via script.","language":"javascript","status":"active","version":"2.4.6","tags":["javascript","htpasswd","http","basic","access","authentication"],"last_verified":"Wed May 27","install":[{"cmd":"npm install htpasswd","imports":["import { Htpasswd } from 'htpasswd';","import { createHash } from 'htpasswd';","const { Htpasswd, createHash, verifyPassword } = require('htpasswd');"]},{"cmd":"yarn add htpasswd","imports":[]},{"cmd":"pnpm add htpasswd","imports":[]}],"homepage":null,"github":"https://github.com/gevorg/htpasswd","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/htpasswd","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/htpasswd/compatibility"}}