@noahmpauls/tw-counter weekly downloads statistics
By noahmpauls · npm · Tailwind plugins
A Tailwind CSS plugin that adds utility classes for CSS counters.
@noahmpauls/tw-counter has 9 recorded weekly downloads on npm, an increase of 50.0% over the past 30 days, ranking #2083 of 2,322 tracked listings.
About @noahmpauls/tw-counter
Tailwind CSS Counter Plugin
A Tailwind CSS plugin that adds utility classes for CSS counters.
Install
Install the plugin from NPM:
npm install --save-dev @noahmpauls/tw-counter
In your Tailwind project's tailwind.config.js file, add the counter plugin:
// tailwind.config.js
const counter = require('@noahmpauls/tw-counter');
module.exports = {
content: [
//...
],
theme: {
extend: {},
},
plugins: [
counter
],
}
Usage
Examples
Given the following HTML:
<pre class="count-default">
<code class="count-inc-default before:content-[counter(default)]"> line of code</code>
<code class="count-inc-default-8 before:content-[counter(default)]"> line of code</code>
<code class="-count-inc-default-3 before:content-[counter(default)]"> line of code</code>
</pre>
The generated text will be:
1 line of code
9 line of code
6 line of code
Using arbitrary values:
Arbitrary values can be used to give a custom name to the counter being used, and to reset/increment by custom values.
Given the following HTML:
<pre class="count-[line_40]">
<code class="count-inc-[line_3] before:content-[counter(line)]"> line of code</code>
<code class="-count-inc-[line] before:content-[counter(line)]"> line of code</code>
<code class="count-inc-[line_17] before:content-[counter(line)]"> line of code</code>
</pre>
The generated text will be:
43 line of code
42 line of code
59 line of code
Generated Classes
The plugin generates the following utility classes:
Create/Reset Counters:
| Class Name | CSS | Description |
|---|---|---|
count-default | counter-reset: default; | resets the counter named default |
count-default-0 | counter-reset: default 0; | reset the counter named default to 0 explicitly |
count-rev-default | counter-reset: reversed(default); | resets the counter named default to its reversed starting value (limited browser support) |
Increment Counters:
| Class Name | CSS | Description |
|---|---|---|
count-inc-default | counter-increment: default 1; | increments the counter named default by 1 |
-count-inc-default | counter-increment: default -1; | decrements the counter named default by 1 |
count-inc-default-{#} | counter-increment: default {#}; | increments the counter named default by the given amount |
-count-inc-default-{#} | counter-increment: default -{#}; | decrements the couner named default by the given amount |
Theme Customization
Theme customization falls under count.reset and count.inc:
theme: {
'count': {
'reset': {
'default-5': 'default 5' // `count-default-5` reset the default counter to 5
},
'inc': {
'default': 'default 2' // `count-inc-default` increments the default counter by 2
}
}
}
Description from the npm listing.
- tailwind
- tailwindcss
- plugin
- tailwind-plugin
- tailwindcss-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm Tailwind plugins plugins
All 20 @noahmpauls/tw-counter alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@noahmpauls/tw-counter. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.