{"id":16719543,"url":"https://github.com/koss-lebedev/nested-inputs","last_synced_at":"2025-07-28T06:08:28.060Z","repository":{"id":58238939,"uuid":"82595197","full_name":"koss-lebedev/nested-inputs","owner":"koss-lebedev","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-05T19:21:38.000Z","size":265,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T06:50:52.475Z","etag":null,"topics":["bootstrap","component","inputs","tree-structure"],"latest_commit_sha":null,"homepage":null,"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/koss-lebedev.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":null,"security":null,"support":null}},"created_at":"2017-02-20T19:39:55.000Z","updated_at":"2020-08-17T09:38:55.000Z","dependencies_parsed_at":"2022-08-31T03:31:22.453Z","dependency_job_id":null,"html_url":"https://github.com/koss-lebedev/nested-inputs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/koss-lebedev/nested-inputs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koss-lebedev%2Fnested-inputs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koss-lebedev%2Fnested-inputs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koss-lebedev%2Fnested-inputs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koss-lebedev%2Fnested-inputs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koss-lebedev","download_url":"https://codeload.github.com/koss-lebedev/nested-inputs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koss-lebedev%2Fnested-inputs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267470062,"owners_count":24092352,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bootstrap","component","inputs","tree-structure"],"created_at":"2024-10-12T21:43:40.119Z","updated_at":"2025-07-28T06:08:28.038Z","avatar_url":"https://github.com/koss-lebedev.png","language":"JavaScript","readme":"# nested-inputs\n\n[![Code Climate](https://codeclimate.com/github/koss-lebedev/nested-inputs/badges/gpa.svg)](https://codeclimate.com/github/koss-lebedev/nested-inputs)\n[![npm version](https://badge.fury.io/js/nested-inputs.svg)](https://badge.fury.io/js/nested-inputs)\n[![Bower version](https://badge.fury.io/bo/nested-inputs.svg)](https://badge.fury.io/bo/nested-inputs)\n\n\nThis control allows you create structure of nested text entries,\nkind of like an editable tree. \n\n## Example\n\n![nested-inputs](demo.gif)\n\n## Installation\n\nUsing Bower:\n\n    bower install nested-inputs\n\nUsing NPM:\n\n    npm install nested-inputs\n\nOr simply copy `nested-inputs.js` and `nested-inputs.css` files from `dist` \nfolder to your project.\n\n## Usage\n\n```js\n$('#categories').nestedInputs();\n```\n\nTo initialize it with existing tree data, set the value to JSON\nvalue before calling `nestedInputs()`:\n \n ```js\nvar data = JSON.stringify([\n    { value: \"first\", children: [\n        { value: \"subcategory 1\", children: [] },\n        { value: \"subcategory 2\", children: [\n            { value: 'third-level nesting' },\n            { value: 'third-level nesting 2' }\n        ] }\n    ] },\n    { value: \"second\", children: [] }\n]);\n$('#categories').val(data).nestedInputs();\n```\n## License\n\nPlease see [LICENSE](LICENSE) for licensing details.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoss-lebedev%2Fnested-inputs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoss-lebedev%2Fnested-inputs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoss-lebedev%2Fnested-inputs/lists"}