{"id":21937621,"url":"https://github.com/cap32/nut","last_synced_at":"2026-05-03T16:33:48.332Z","repository":{"id":36944663,"uuid":"232622304","full_name":"Cap32/nut","owner":"Cap32","description":"Line numbering textarea","archived":false,"fork":false,"pushed_at":"2023-01-05T04:56:38.000Z","size":5673,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T20:58:39.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Cap32.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-08T17:40:53.000Z","updated_at":"2023-03-04T05:34:30.000Z","dependencies_parsed_at":"2023-01-17T07:30:32.895Z","dependency_job_id":null,"html_url":"https://github.com/Cap32/nut","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fnut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fnut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fnut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fnut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cap32","download_url":"https://codeload.github.com/Cap32/nut/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244967878,"owners_count":20540026,"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-11-29T01:20:48.867Z","updated_at":"2026-05-03T16:33:48.261Z","avatar_url":"https://github.com/Cap32.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nut\n\nNumbering textarea\n\n![screenshot](/.github/screenshot.gif)\n\n## Usage\n\n### Basic usage\n\n```html\n\u003cbody\u003e\n  \u003c!-- textarea element with class=\"nut\" is required --\u003e\n  \u003ctextarea class=\"nut\"\u003e\u003c/textarea\u003e\n\n  \u003c!-- import nut.js at the bottom of body --\u003e\n  \u003cscript src=\"https://unpkg.com/@cap32/nut@0.1.0/dist/nut.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n```\n\nI think it could not be easier.\n\n### Supported data attributes\n\n```html\n\u003ctextarea\n  class=\"nut\"\n  data-nut-width=\"64px\"\n  data-nut-padding=\"8px\"\n  data-nut-color=\"#666\"\n  data-nut-bg-color=\"#f4f4f4\"\n\u003e\u003c/textarea\u003e\n```\n\n### Installing via npm\n\n```bash\n$ npm install @cap32/nut\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap32%2Fnut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcap32%2Fnut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap32%2Fnut/lists"}