Something went wrong. Try again.
A set of JavaScript filters and components meant to replicate Django's humanize
Something went wrong. Try again.
human-eyes package.json
1.3 kB · 52 lines
JSON
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "name": "@jimray/human-eyes", "version": "0.2.0", "type": "module", "description": "Format data for people. Human-friendly formatting functions and web components based on Django's humanize filters.", "author": "Jim Ray", "license": "MIT", "repository": { "type": "git", "url": "https://tangled.org/jimray.net/human-eyes" }, "keywords": [ "humanize", "formatting", "web-components", "filters", "django", "pluralize", "slugify", "timesince", "vanilla-js" ], "files": [ "*.js", "!*.test.js", "README.md", "LICENSE" ], "exports": { "./pluralize": "./pluralize.js", "./timesince": "./timesince.js", "./filesizeformat": "./filesizeformat.js", "./truncate": "./truncate.js", "./yesno": "./yesno.js", "./floatformat": "./floatformat.js", "./slugify": "./slugify.js", "./oxford": "./oxford.js", "./ordinal": "./ordinal.js", "./intword": "./intword.js", "./naturalday": "./naturalday.js", "./components/pluralize": "./human-eyes-pluralize.js", "./components/timesince": "./human-eyes-timesince.js", "./components/filesizeformat": "./human-eyes-filesizeformat.js" }, "scripts": { "test": "vitest run" }, "devDependencies": { "happy-dom": "^20.10.1", "vitest": "^3.0.0" }}