Skip to content
JS
Package

sql-highlight

A simple and lightweight library for highlighting SQL queries written in pure JavaScript

v6.1.0, 6 Jun 2025MITCommonJSTypes: Bundled
$ npm install sql-highlight

Key numbers

As of 25 Sept 2026
Weekly downloads
3m
+125% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v6.1.0
GitHub stars
42
14 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
67

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.3m (18 Aug 2026)Low 990.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,970,982 downloads last week, 13,336,956 in the last month. The 12-month change of +125% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
032 in total
Latest version
6.1.0, 6 Jun 20251 year ago
First published
4 Sept 2018
Last push to GitHub
21 Sept 20263 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
67
Dependents on npm
24

Major versions

  1. v6 first release 6.0.0, 2 Jul 2024
  2. v5 first release 5.0.0, 23 Jun 2024
  3. v4 first release 4.0.0, 16 Jul 2021
  4. v3 first release 3.0.0, 28 Sept 2019
  5. v2 first release 2.1.1, 4 Sept 2018

Recent releases

VersionPublished
6.1.06 Jun 2025
6.0.02 Jul 2024
5.0.023 Jun 2024
4.4.210 Mar 2024
4.4.110 Mar 2024
4.4.04 Oct 2023
4.3.318 Apr 2023
4.3.216 Mar 2023
4.3.116 Feb 2023
4.3.013 Jan 2023
4.2.28 Jan 2023
4.2.116 Aug 2022
4.2.08 Aug 2022
4.1.126 Jul 2022
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (0)
None
npm install sql-highlight
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sql-highlight@6.1.0/
  • unpkghttps://unpkg.com/sql-highlight@6.1.0/
  • esm.shhttps://esm.sh/sql-highlight@6.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.