{"id":13533139,"url":"https://github.com/lxsmnsyc/solid-labels","last_synced_at":"2025-04-08T12:03:15.226Z","repository":{"id":43211166,"uuid":"407243045","full_name":"lxsmnsyc/solid-labels","owner":"lxsmnsyc","description":"Simple, reactive labels for SolidJS","archived":false,"fork":false,"pushed_at":"2024-10-25T17:48:05.000Z","size":4328,"stargazers_count":242,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-29T18:05:53.317Z","etag":null,"topics":["babel-plugin","solid-js"],"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/lxsmnsyc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"lxsmnsyc"}},"created_at":"2021-09-16T16:46:06.000Z","updated_at":"2024-10-21T07:01:36.000Z","dependencies_parsed_at":"2024-11-13T10:06:43.651Z","dependency_job_id":"a174f81d-99cb-41c6-9422-372a07621e30","html_url":"https://github.com/lxsmnsyc/solid-labels","commit_stats":{"total_commits":277,"total_committers":3,"mean_commits":92.33333333333333,"dds":"0.014440433212996373","last_synced_commit":"a2bd41a607f2db183e3683b49b95ea166d442957"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lxsmnsyc%2Fsolid-labels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lxsmnsyc%2Fsolid-labels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lxsmnsyc%2Fsolid-labels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lxsmnsyc%2Fsolid-labels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lxsmnsyc","download_url":"https://codeload.github.com/lxsmnsyc/solid-labels/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838421,"owners_count":21004578,"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":["babel-plugin","solid-js"],"created_at":"2024-08-01T07:01:16.883Z","updated_at":"2025-04-08T12:03:15.205Z","avatar_url":"https://github.com/lxsmnsyc.png","language":"TypeScript","readme":"\n# `solid-labels`\n\n[![NPM](https://img.shields.io/npm/v/solid-labels.svg)](https://www.npmjs.com/package/solid-labels) [![JavaScript Style Guide](https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb)](https://github.com/airbnb/javascript)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg\n    src=\"https://github.com/LXSMNSYC/solid-labels/blob/main/images/ctf.png?raw=true\"\n    alt=\"Example\"\n    style=\"width: 80%; height: auto;\"\n  /\u003e\n\u003c/p\u003e\n\n## Install\n\n```bash\nnpm install solid-labels\n```\n\n```bash\nyarn add solid-labels\n```\n\n```bash\npnpm add solid-labels\n```\n\n## Features\n\n- 🏷 Labels: Turn labels into SolidJS utility calls!\n- 💬 Comments: Turn comments into SolidJS utility calls, too!\n- ⏱ Compile-time Functions: Use functions that are evaluated during compile-time!\n- 📦 Auto Imports: No need to import SolidJS utilities, explicitly!\n- 🤝 JS and TS Friendly!\n\n## Usage\n\n- [Labels](https://github.com/LXSMNSYC/solid-labels/tree/main/docs/labels.md)\n[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=flat-square\u0026logo=codesandbox)](https://codesandbox.io/s/github/LXSMNSYC/solid-labels/tree/main/examples/labels)\n- [Comments](https://github.com/LXSMNSYC/solid-labels/tree/main/docs/comments.md)\n[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=flat-square\u0026logo=codesandbox)](https://codesandbox.io/s/github/LXSMNSYC/solid-labels/tree/main/examples/comments)\n- [Compile-Time Functions](https://github.com/LXSMNSYC/solid-labels/tree/main/docs/ctf.md)\n[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=flat-square\u0026logo=codesandbox)](https://codesandbox.io/s/github/LXSMNSYC/solid-labels/tree/main/examples/ctf)\n- [Solid Namespace](https://github.com/LXSMNSYC/solid-labels/tree/main/docs/namespace.md)\n\n### Typescript\n\n`\u003cany file\u003e.d.ts`\n\n```ts\n/// \u003creference types=\"solid-labels\" /\u003e\n```\n\n### Babel\n\n`.babelrc`\n\n```json\n{\n  \"plugins\": [\n    [\"solid-labels/babel\", { \"dev\": false }]\n  ]\n}\n```\n\n[!INFO]: You don't have to use this if you're using Vite or Rollup plugins\n\n## Integrations\n\n- [Vite](https://github.com/lxsmnsyc/solid-labels/tree/main/packages/vite)\n- [Rollup](https://github.com/lxsmnsyc/solid-labels/tree/main/packages/rollup)\n- [Unplugin](https://github.com/lxsmnsyc/solid-labels/tree/main/packages/unplugin)\n\n### Disabling features\n\nYou can disable some features by passing `disabled` option to the plugin options.\n\n```js\n{\n  disabled: {\n    labels: {\n      signal: true,\n    },\n    pragma: {\n      '@signal': true,\n    },\n    ctf: {\n      $signal: true,\n    },\n  }\n}\n```\n\n## Limitations\n\n- Detecting shadowed identifier for `signal` and `memo`.\n\n## Sponsors\n\n![Sponsors](https://github.com/lxsmnsyc/sponsors/blob/main/sponsors.svg?raw=true)\n\n## License\n\nMIT © [lxsmnsyc](https://github.com/lxsmnsyc)\n","funding_links":["https://github.com/sponsors/lxsmnsyc"],"categories":["📦 Components \u0026 Libraries","TypeScript"],"sub_categories":["DX"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flxsmnsyc%2Fsolid-labels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flxsmnsyc%2Fsolid-labels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flxsmnsyc%2Fsolid-labels/lists"}