{"id":20023003,"url":"https://github.com/selenite-geos/commons","last_synced_at":"2026-05-12T11:31:01.014Z","repository":{"id":248101935,"uuid":"827766100","full_name":"Selenite-GEOS/commons","owner":"Selenite-GEOS","description":"A set of reusable classic utils, actions, datastructures.","archived":false,"fork":false,"pushed_at":"2025-05-01T17:15:39.000Z","size":1564,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-29T09:04:49.186Z","etag":null,"topics":["commons","selenite","svelte","svelte5","utils"],"latest_commit_sha":null,"homepage":"https://selenite-geos.github.io/commons/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Selenite-GEOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-12T10:25:37.000Z","updated_at":"2025-05-01T17:15:42.000Z","dependencies_parsed_at":"2024-07-29T17:02:10.516Z","dependency_job_id":"1f65de8b-158e-440b-9066-342ca6ca6172","html_url":"https://github.com/Selenite-GEOS/commons","commit_stats":null,"previous_names":["shaitanlyss/selenite-commons","selenite-geos/commons"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Selenite-GEOS/commons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selenite-GEOS%2Fcommons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selenite-GEOS%2Fcommons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selenite-GEOS%2Fcommons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selenite-GEOS%2Fcommons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Selenite-GEOS","download_url":"https://codeload.github.com/Selenite-GEOS/commons/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Selenite-GEOS%2Fcommons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32937104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["commons","selenite","svelte","svelte5","utils"],"created_at":"2024-11-13T08:43:59.392Z","updated_at":"2026-05-12T11:31:00.975Z","avatar_url":"https://github.com/Selenite-GEOS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Selenite Commons\n\nThis typescript package provides a set of frequently used utilities, types and svelte actions for building projects\nwith Typescript and Svelte.\n\nIt is part of the Selenite initiative.\n\n[Documentation](https://shaitanlyss.github.io/selenite-commons/modules.html)\n\n## Usage\n\nThis package can be installed in your project with any package manager :\n\n```bash\nnpm i @selenite/commons\nyarn add @selenite/commons\npnpm i @selenite/commons\nbun i @selenite/commons\n```\n\nBe careful that some of the functions use WASM code from an associated package : _selenite-commons-rs_.\nTherefore, if you use tools like Vite or Rollup, you need to add a plugin to the configuration.\n\nAn example of such a plugin is : https://github.com/nshen/vite-plugin-wasm-pack. It is used like this :\n\n```\n// vite.config.ts\nimport wasmPack from 'vite-plugin-wasm-pack'\nexport default defineConfig({\n\tplugins: [\n\t\twasmPack([], ['@selenite/commons-rs']),\n...\n```\n\n## Development\n\nThe project is developed with Typescript and uses vitest for testing. It uses [pnpm](https://pnpm.io/installation) as a package manager and builder.\n\nYou can start the dev server with :\n\n```bash\npnpm dev\n```\n\n## Documentation\n\nThe documentation is generated with TypeDoc and can be built with the following command :\n\n```bash\npnpm docgen\n```\n\nIt will then be accessible in the [docs folder](./docs).\n\n## Publishing\n\nThe package will automatically be built and published (if there's a version change) when pushed to the main branch.\n\nYou can manually publish it on npm with the following command :\n\n```bash\nnpm publish --access public\n# rust code (selenite-commons-rs)\npnpm wasm-pack publish --access public\n```\n\n## TODO\n\n- Document everything\n- Create action to use text content as title | and which adds truncate by default (with css)\n- Try removing newline at end of xml format\n- Add Portal Component\n- Make custom tailwind plugin regrouping all the tailwind plugins used and the configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselenite-geos%2Fcommons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselenite-geos%2Fcommons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselenite-geos%2Fcommons/lists"}