Countable is a JavaScript function to add live paragraph-, word- and character-counting to an HTML element. Countable is a zero-dependency library and comes in at 1KB when minified and gzipped. Countable is available as a Node / CommonJS module, an AMD module and as a global. All methods are accessed on the Countable object directly. The on and count methods both accept a callback. The given callback is then called whenever needed with a single parameter that carries all the relevant data. this is bound to the current element.

Features

  • Countable supports all modern browsers
  • Documentation available
  • Examples available
  • Full ES5 support is expected, as are some ES6 features, namely let and const
  • Sometimes it is desirable to ignore certain characters
  • Countable is available as a Node / CommonJS module, an AMD module and as a global

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Countable

Countable Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Countable!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2024-05-22