Skip to content
JS
Package

hsts

HTTP Strict Transport Security middleware.

v2.2.0, 10 Mar 2019MIT-Types: NoneSecurity
$ npm install hsts

Key numbers

As of 25 Sept 2026
Weekly downloads
368.7k
+1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 years ago
v2.2.0
GitHub stars
86
13 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 554.6k (21 Jul 2026)Low 194.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.

368,692 downloads last week, 1,803,497 in the last month. The 12-month change of +1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
2.2.0, 10 Mar 20197 years ago
First published
28 Oct 2014
Last push to GitHub
2 Aug 20202,244 days before the snapshot
Repository archived
Yes
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
51

Major versions

  1. v2 first release 2.0.0, 28 Oct 2016
  2. v1 first release 1.0.0, 18 Dec 2015
  3. v0 first release 0.1.0, 28 Oct 2014

Recent releases

VersionPublished
2.2.010 Mar 2019
2.1.021 Jul 2017
2.0.028 Oct 2016
1.0.018 Dec 2015
0.2.022 Sept 2015
0.1.32 Jun 2015
0.1.222 Apr 2015
0.1.123 Mar 2015
0.1.028 Oct 2014
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
>=4.0.0
Runtimes
-
Unpacked size (npm)
7.0 kB
Dependencies (1)
depd
npm install hsts
  • jsDelivrhttps://cdn.jsdelivr.net/npm/hsts@2.2.0/
  • unpkghttps://unpkg.com/hsts@2.2.0/
  • esm.shhttps://esm.sh/hsts@2.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
permissions-policy11.9k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.