Skip to content
JS
Package

center-align

Center-align the text in a string.

v1.0.1, 26 May 2017MITCommonJSTypes: NoneStrings and text
$ npm install center-align

Key numbers

As of 25 Sept 2026
Weekly downloads
2.1m
-18% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
9 years ago
v1.0.1
GitHub stars
23
10 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 3m (21 Oct 2025)Low 984.3k (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,096,880 downloads last week, 7,193,993 in the last month. The 12-month change of -18% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
1.0.1, 26 May 20179 years ago
First published
8 Mar 2015
Last push to GitHub
26 May 20173,409 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
139

Major versions

  1. v1 first release 1.0.0, 26 May 2017
  2. v0 first release 0.1.0, 8 Mar 2015

Recent releases

VersionPublished
1.0.126 May 2017
1.0.026 May 2017
0.1.31 Feb 2016
0.1.227 Oct 2015
0.1.18 Mar 2015
0.1.08 Mar 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (2)
align-textrepeat-string
npm install center-align
  • jsDelivrhttps://cdn.jsdelivr.net/npm/center-align@1.0.1/
  • unpkghttps://unpkg.com/center-align@1.0.1/
  • esm.shhttps://esm.sh/center-align@1.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.