-
Notifications
You must be signed in to change notification settings - Fork 72
A JS library for adding a “human touch” to data.
License
milanvrekic/JS-humanize
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
JS library useful for adding a “human touch” to data. Examples: intcomma (4500000 = 4,500,000) intword (1000000 = 1.0 million) naturalDay (15 April 2012 16:25:30 = Today) ordinal (3 = 3rd) filesizeformat (1234567890 = 1.15 GB) linebreaks (Play\ning with blank lines = <p>Play<br />ing with blank lines</p>) linebreaksbr (Play\ning with blank lines = Play<br />ing with blank lines) pluralize (1, "y", "ies" = y) truncatechars ("hello world", 10 = "hello w...") truncatewords ("Playing with truncate words", 3 = Playing with truncate ...)
About
A JS library for adding a “human touch” to data.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published