{"id":15048066,"url":"https://github.com/github/textarea-autosize","last_synced_at":"2025-09-02T22:37:45.079Z","repository":{"id":33116977,"uuid":"144072340","full_name":"github/textarea-autosize","owner":"github","description":"Autosizes textarea to size of it's contents.","archived":false,"fork":false,"pushed_at":"2024-06-18T23:52:35.000Z","size":370,"stargazers_count":98,"open_issues_count":5,"forks_count":21,"subscribers_count":178,"default_branch":"main","last_synced_at":"2025-03-30T18:09:48.528Z","etag":null,"topics":["decorator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-08T22:02:50.000Z","updated_at":"2025-02-11T01:16:10.000Z","dependencies_parsed_at":"2024-06-18T21:19:45.348Z","dependency_job_id":"8969e1c1-8736-4b31-b917-3b29d531d690","html_url":"https://github.com/github/textarea-autosize","commit_stats":{"total_commits":54,"total_committers":10,"mean_commits":5.4,"dds":0.4814814814814815,"last_synced_commit":"684725e5b10673ea4210b5da1008762596894cb5"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftextarea-autosize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftextarea-autosize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftextarea-autosize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftextarea-autosize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/textarea-autosize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543593,"owners_count":20955865,"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":["decorator"],"created_at":"2024-09-24T21:07:36.512Z","updated_at":"2025-04-06T20:12:34.516Z","avatar_url":"https://github.com/github.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textarea Autosize\n\nAutosizes textarea to size of its contents.\n\n## Installation\n\n```\n$ npm install @github/textarea-autosize\n```\n\n## Usage\n\nThe autosizing behavior must be explicitly activated on the `\u003ctextarea\u003e`.\n\n```js\nimport autosize from '@github/textarea-autosize'\nautosize(document.querySelector('textarea.foo'))\n```\n\nUsing a library like [selector-observer](https://github.com/josh/selector-observer), the behavior can automatically be applied to any textareas matching a class name.\n\n```js\nimport {observe} from 'selector-observer'\nimport autosize from '@github/textarea-autosize'\n\nobserve('textarea.autosize', { subscribe: autosize })\n```\n\n## Browser support\n\n- Chrome\n- Firefox\n- Safari\n- Internet Explorer 11\n- Microsoft Edge\n\n## Development\n\n```\nnpm install\nnpm test\n```\n\n## License\n\nDistributed under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Ftextarea-autosize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Ftextarea-autosize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Ftextarea-autosize/lists"}