Skip to content
JS
Package

defer-to-connect

The safe way to handle the `connect` socket event

v2.0.1, 24 Feb 2021MITCommonJSTypes: Bundled
$ npm install defer-to-connect

Key numbers

As of 25 Sept 2026
Weekly downloads
18.3m
+16% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v2.0.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 25.1m (25 Aug 2026)Low 8.6m (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.

18,259,440 downloads last week, 84,370,718 in the last month. The 12-month change of +16% 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.0.1, 24 Feb 20215 years ago
First published
13 Aug 2018
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
421

Major versions

  1. v2 first release 2.0.0, 28 Jan 2020
  2. v1 first release 1.0.0, 13 Aug 2018

Recent releases

VersionPublished
2.0.124 Feb 2021
2.0.028 Jan 2020
1.1.328 Jan 2020
1.1.228 Jan 2020
1.1.14 Dec 2019
1.1.02 Nov 2019
1.0.218 Jan 2019
1.0.125 Aug 2018
1.0.013 Aug 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
5.3 kB
Dependencies (0)
None
npm install defer-to-connect
  • jsDelivrhttps://cdn.jsdelivr.net/npm/defer-to-connect@2.0.1/
  • unpkghttps://unpkg.com/defer-to-connect@2.0.1/
  • esm.shhttps://esm.sh/defer-to-connect@2.0.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.