{"id":13500697,"url":"https://github.com/jackmoore/autosize","last_synced_at":"2025-05-16T01:02:53.027Z","repository":{"id":1797779,"uuid":"2721761","full_name":"jackmoore/autosize","owner":"jackmoore","description":"Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.","archived":false,"fork":false,"pushed_at":"2023-02-15T07:30:24.000Z","size":312,"stargazers_count":5104,"open_issues_count":27,"forks_count":702,"subscribers_count":122,"default_branch":"master","last_synced_at":"2025-05-09T00:54:46.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.jacklmoore.com/autosize/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jenkinsci/warnings-plugin","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackmoore.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-11-06T19:21:21.000Z","updated_at":"2025-04-29T22:12:30.000Z","dependencies_parsed_at":"2023-07-06T07:28:25.498Z","dependency_job_id":null,"html_url":"https://github.com/jackmoore/autosize","commit_stats":{"total_commits":208,"total_committers":33,"mean_commits":6.303030303030303,"dds":0.4471153846153846,"last_synced_commit":"1e0229b9bb9f51c2b6a2756d901a023b475fa950"},"previous_names":[],"tags_count":86,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fautosize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fautosize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fautosize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmoore%2Fautosize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackmoore","download_url":"https://codeload.github.com/jackmoore/autosize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448578,"owners_count":22072764,"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":[],"created_at":"2024-07-31T22:01:10.413Z","updated_at":"2025-05-16T01:02:52.959Z","avatar_url":"https://github.com/jackmoore.png","language":"JavaScript","readme":"## Summary\n\nAutosize is a small, stand-alone script to automatically adjust textarea height to fit text.\n\n#### Demo\n\nFull documentation and a demo can be found at [jacklmoore.com/autosize](http://jacklmoore.com/autosize)\n\n#### Install via NPM\n```bash\nnpm install autosize\n```\n\n#### Usage\n\nThe autosize function accepts a single textarea element, or an array or array-like object (such as a NodeList or jQuery collection) of textarea elements.\n\n```javascript\n// from a NodeList\nautosize(document.querySelectorAll('textarea'));\n\n// from a single Node\nautosize(document.querySelector('textarea'));\n\n// from a jQuery collection\nautosize($('textarea'));\n```\n\nReleased under the [MIT License](http://www.opensource.org/licenses/mit-license.php)\n","funding_links":[],"categories":["JavaScript","10. 表单处理"],"sub_categories":["10.9 样式修正 ###","10.10 样式修正"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackmoore%2Fautosize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackmoore%2Fautosize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackmoore%2Fautosize/lists"}