A comprehensive collection of versatile functions for media conversion, file handling, data parsing, and more. Simplify development and streamline everyday coding tasks.
Everything you need to handle media and data in Node.js.
Expanded toolkit with daily-driver functions for Strings, Arrays, Math, Dates, and Validation.
Robust, auto-retrying helpers for fetching JSON, downloading files, and checking IPs.
Utilities to manage directories, get system stats, file sizes, and secure hashes.
Convert media files easily. Supports converting audio to mp3/opus and video to mp4 using FFmpeg.
Tools for parsing URLs, extracting JIDs, converting WebP images, and processing JSON data.
Generate QR codes programmatically from strings for quick sharing and scanning.
Key functions available in the toolkit.
toAudio(buffer, ext)Convert audio buffer to filetoVideo(buffer, ext)Convert video buffer to filegetBuffer(url)Fetch file buffer from URLextractUrlFromMessage(msg)Find URLs in textwebp2mp4(source)Convert WebP to MP4qrcode(string)Generate QR codeformatBytes(bytes)Human-readable sizesecondsToDHMS(sec)Format durationStart using the toolkit in your project in seconds.
Install via npm
npm install @neeraj-x0/nodetoolkitImport functions
const { toAudio, getBuffer } = require('@neeraj-x0/nodetoolkit');Use in your project
const audio = await toAudio(buffer, 'mp3');Built on top of robust open-source libraries.
Join other developers using Node Toolkit to speed up their workflow.