md5-node is a minimal Node.js library for computing MD5 hashes of strings. It wraps blueimp/JavaScript-MD5 into a CommonJS module for easy server-side use. Version 1.0.1 is the latest release, with no active development; the library is outdated and does not support streaming, Buffers, or ESM imports. It is intended for legacy projects that need a quick MD5 hash in Node.js, but users are strongly advised to use Node's built-in crypto module instead for security and performance reasons.
npm install md5-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic require and usage of md5-node to hash a string.
Use Node.js crypto module with SHA-256 or SHA-3 for hash needs.
Convert Buffer to string first: md5(buf.toString('utf8')).Use require('md5-node') or require('node-md5') if using older version.Use dynamic import: const md5 = await import('md5-node'); (but note default export behavior).Use `const md5 = require('md5-node');`Run `npm install md5-node` and use `require('md5-node')`.No dependency data recorded yet.