Skip to content
JS
Package

with

Compile time `with` for strict mode JavaScript

v7.0.2, 29 May 2020MITCommonJSTypes: None
$ npm install with

Key numbers

As of 25 Sept 2026
Weekly downloads
2.8m
+66% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
6 years ago
v7.0.2
GitHub stars
28
6 forks
Open issues / PRs
1 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.4m (21 Jul 2026)Low 1.1m (30 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,798,941 downloads last week, 14,091,219 in the last month. The 12-month change of +66% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
023 in total
Latest version
7.0.2, 29 May 20206 years ago
First published
21 May 2013
Last push to GitHub
16 Aug 2024769 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v7 first release 7.0.0, 25 May 2020
  2. v6 first release 6.0.0, 1 Jun 2018
  3. v5 first release 5.0.0, 8 Apr 2015
  4. v4 first release 4.0.0, 22 Sept 2014
  5. v3 first release 3.0.0, 3 Feb 2014
  6. v2 first release 2.0.0, 1 Oct 2013
  7. v1 first release 1.0.0, 21 May 2013

Recent releases

VersionPublished
7.0.229 May 2020
7.0.127 May 2020
7.0.025 May 2020
6.0.01 Jun 2018
5.1.14 Jun 2016
5.1.03 Jun 2016
5.0.23 Jun 2016
5.0.13 Jun 2016
5.0.08 Apr 2015
4.0.36 Apr 2015
4.0.229 Mar 2015
4.0.17 Feb 2015
4.0.022 Sept 2014
3.0.119 Aug 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 10.0.0
Runtimes
-
Unpacked size (npm)
39 kB
Dependencies (4)
babel-walk@babel/typesassert-never@babel/parser
npm install with
  • jsDelivrhttps://cdn.jsdelivr.net/npm/with@7.0.2/
  • unpkghttps://unpkg.com/with@7.0.2/
  • esm.shhttps://esm.sh/with@7.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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