{"id":15178972,"url":"https://github.com/kaiwa/bootstrap-maxlength","last_synced_at":"2025-10-26T18:31:42.685Z","repository":{"id":5726173,"uuid":"6937810","full_name":"kaiwa/bootstrap-maxlength","owner":"kaiwa","description":"Twitter Bootstrap maxlength character count plugin","archived":false,"fork":false,"pushed_at":"2016-04-04T18:54:27.000Z","size":20,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-04T20:57:48.425Z","etag":null,"topics":["bootstrap3","javascript","jquery-plugin"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaiwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-30T11:13:46.000Z","updated_at":"2025-01-29T19:31:18.000Z","dependencies_parsed_at":"2022-08-30T14:51:27.621Z","dependency_job_id":null,"html_url":"https://github.com/kaiwa/bootstrap-maxlength","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwa%2Fbootstrap-maxlength","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwa%2Fbootstrap-maxlength/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwa%2Fbootstrap-maxlength/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwa%2Fbootstrap-maxlength/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaiwa","download_url":"https://codeload.github.com/kaiwa/bootstrap-maxlength/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238386117,"owners_count":19463303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap3","javascript","jquery-plugin"],"created_at":"2024-09-27T15:42:58.300Z","updated_at":"2025-10-26T18:31:42.370Z","avatar_url":"https://github.com/kaiwa.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Twitter Bootstrap 3 jQuery maxlength plugin\n===========================================\n\nAppends a character countdown to input fields, showing the characters left until maxlength is reached.\n\n![Screenshot](/bootstrap-maxlength-screenshot.png?raw=true \"Bootstrap Maxlength Screenshot\")\n\nTry the [jsfiddle demo](https://jsfiddle.net/r9bjLax1/1) to see it live!\n\nUsage Example\n-------------\n```html\n\u003cdiv\u003e\n    \u003cinput type=\"text\" maxlength=\"120\" /\u003e\n\u003c/div\u003e\n\n\u003c!-- Adjust the path to your bootstrap-maxlength.js copy --\u003e\n\u003cscript src=\"/js/bootstrap-maxlength/bootstrap-maxlength.js\"\u003e\u003c/script\u003e\n\n\u003c!-- Apply maxlength() on all input fields which have a maxlength attribute --\u003e\n\u003cscript\u003e\n$(document).ready(function() {\n    $(\"input[maxlength]\").maxlength();\n});\n\u003c/script\u003e\n```\n    \nInstallation\n------------\n\n### Download\n\nSimply [download a zipped release](https://github.com/kaiwa/bootstrap-maxlength/releases), unpack it, then add the `bootstrap-maxlength.js` file to your project.\n\n### Bower\n\nAdd the package `bootstrap-maxlength-simple` to your bower.json project file.\n\n```javascript\n{\n    \"name\": \"My Project\",\n    \"dependencies\": {\n        \"bootstrap-maxlength-simple\": \"3.*\"\n    }\n}\n```\n\nEarlier versions\n----------------\n\nSee 2.0 branch for a version which is compatible with Twitter Bootstrap 2.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaiwa%2Fbootstrap-maxlength","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaiwa%2Fbootstrap-maxlength","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaiwa%2Fbootstrap-maxlength/lists"}