Skip to content
JS
Package

constantinople

Determine whether a JavaScript expression evaluates to a constant

v4.0.1, 17 Sept 2019MITCommonJSTypes: Bundled
$ npm install constantinople

Key numbers

As of 25 Sept 2026
Weekly downloads
2.8m
+63% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
7 years ago
v4.0.1
GitHub stars
21
5 forks
Open issues / PRs
2 / 1
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,835,570 downloads last week, 13,451,628 in the last month. The 12-month change of +63% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
013 in total
Latest version
4.0.1, 17 Sept 20197 years ago
First published
26 Jun 2013
Last push to GitHub
16 Aug 2024769 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 17 Sept 2019
  2. v3 first release 3.0.0, 22 Sept 2014
  3. v2 first release 2.0.0, 21 Feb 2014
  4. v1 first release 1.0.0, 26 Jun 2013

Recent releases

VersionPublished
4.0.117 Sept 2019
4.0.017 Sept 2019
3.1.29 Feb 2018
3.1.19 Feb 2018
3.1.09 Jun 2016
3.0.221 Jul 2015
3.0.122 Sept 2014
3.0.022 Sept 2014
2.0.19 Jul 2014
2.0.021 Feb 2014
1.0.225 Aug 2013
1.0.126 Jun 2013
1.0.026 Jun 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
35 kB
Dependencies (2)
@babel/types@babel/parser
npm install constantinople
  • jsDelivrhttps://cdn.jsdelivr.net/npm/constantinople@4.0.1/
  • unpkghttps://unpkg.com/constantinople@4.0.1/
  • esm.shhttps://esm.sh/constantinople@4.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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