npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

thefreeconverter

v1.0.0

Published

Official Node.js SDK & CLI for The Free Converter - Fast, secure, and privacy-focused file conversion, calculations, and text utilities.

Readme

The Free Converter (Node.js SDK & CLI)

npm version License: MIT Website

The official Node.js client and CLI toolkit for The Free Converter — a comprehensive suite of 160+ privacy-focused file conversion tools, financial calculators, SEO analyzers, and text utilities.


Online Web Platform & Tool Hubs

Access full-featured, browser-based online tools with zero software installation required:

  • 📄 PDF & Document Converters — Convert PDF to Word, Excel, JPG, PNG, EPUB, CSV, RTF, TXT, and manage PDF security, merging, splitting, compression, and watermarking.
  • 🎵 Audio & Video Converters — Transcode MP3, WAV, AAC, FLAC, OGG, M4A, OPUS, MP4, and WEBM with high-fidelity acoustic preservation.
  • 🖼️ Image & Next-Gen Graphic Converters — Convert WEBP, AVIF, HEIC, PNG, JPG, SVG, and RAW camera DNG formats with optimized lossless and lossy compression.
  • 🔍 SEO & Webmaster Tools — Audit broken links, verify dofollow/nofollow link equity, validate XML sitemaps, extract sitemap URLs, and monitor domain age.
  • 💰 Financial & Tax Calculators — Calculate mortgage amortization, mortgage overpayment interest savings, crypto capital gains (FIFO/LIFO/HIFO), compound interest, VAT addition/extraction, and GST breakdowns.
  • ✍️ Text & Markup Utilities — Format & validate JSON, convert text to JSON arrays, deduplicate large email/URL lists, count words/reading times, and convert Markdown to clean HTML.

Installation

Install via npm:

npm install thefreeconverter

Or install globally for CLI usage:

npm install -g thefreeconverter

Node.js Quickstart

1. Financial & Tax Calculations

const {
  calculatePercentageChange,
  calculateCompoundInterest,
  calculateMortgagePayment,
  calculateVat,
  calculateGst,
  calculateEffectiveInterestRate
} = require('thefreeconverter');

// Calculate percentage increase
const change = calculatePercentageChange(50, 65);
console.log(`Percentage Change: ${change}%`); // +30.0%

// Calculate compound interest growth with monthly deposits
const ci = calculateCompoundInterest({
  principal: 10000,
  annualRatePercent: 7.5,
  years: 10,
  compoundingFrequency: 12,
  monthlyContribution: 500
});
console.log(`Future Balance: $${ci.futureValue.toLocaleString()}`);
console.log(`Total Interest Earned: $${ci.totalInterest.toLocaleString()}`);

// Calculate monthly mortgage amortization (P&I)
const mortgage = calculateMortgagePayment({
  principal: 350000,
  annualRatePercent: 6.5,
  termYears: 30
});
console.log(`Monthly Payment: $${mortgage.monthlyPayment}`);
console.log(`Total Lifetime Interest: $${mortgage.totalInterest}`);

// Add or extract VAT / GST
const vat = calculateVat(120.0, 20.0, 'extract');
console.log(`Net Price: $${vat.netAmount}, VAT Extracted: $${vat.vatAmount}`);

2. Text & Data Formatting

const {
  formatJsonString,
  deduplicateLines,
  countTextMetrics
} = require('thefreeconverter');

// Prettify and validate raw JSON
const rawJson = '{"name":"TheFreeConverter","tools":166,"features":["pdf","audio","finance"]}';
const prettyJson = formatJsonString(rawJson, { indent: 2 });
console.log(prettyJson);

// Fast line deduplication
const rawList = ["[email protected]", "[email protected]", "[email protected]", "[email protected]"];
const uniqueLines = deduplicateLines(rawList, { caseSensitive: false });
console.log('Unique entries:', uniqueLines);

// Real-time text & readability analysis
const metrics = countTextMetrics("The quick brown fox jumps over the lazy dog.");
console.log(`Words: ${metrics.wordCount}, Characters: ${metrics.charCount}, Reading Time: ${metrics.readingTimeSeconds}s`);

Command Line Interface (CLI)

The package installs the thefreeconverter (or alias tfc) CLI command:

# Calculate percentage difference
tfc percentage --initial 50 --final 75

# Calculate monthly mortgage payments
tfc mortgage --principal 400000 --rate 6.5 --years 30

# Calculate compound interest
tfc compound --principal 5000 --rate 8 --years 20 --monthly 250

# Prettify a JSON file
tfc format-json --input config.min.json --output config.json --indent 2

Security & Privacy Commitment

At The Free Converter, we believe your data should remain yours:

  • Client calculations run locally in memory.
  • Web conversions execute in isolated, secure sandboxes with automatic purging.
  • We never store, catalog, or inspect your uploaded files.

License

This project is licensed under the MIT License — see the LICENSE file for details.