{"id":51430416,"url":"https://github.com/linksplatform/doublets-web","last_synced_at":"2026-07-05T03:30:33.522Z","repository":{"id":138063416,"uuid":"436701033","full_name":"linksplatform/doublets-web","owner":"linksplatform","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-08T12:07:00.000Z","size":1234,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-08T12:33:54.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://linksplatform.github.io/doublets-web/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linksplatform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-09T17:19:56.000Z","updated_at":"2026-05-08T10:43:56.000Z","dependencies_parsed_at":"2024-03-26T11:31:55.412Z","dependency_job_id":null,"html_url":"https://github.com/linksplatform/doublets-web","commit_stats":null,"previous_names":["linksplatform/doublets-web"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/linksplatform/doublets-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2Fdoublets-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2Fdoublets-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2Fdoublets-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2Fdoublets-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linksplatform","download_url":"https://codeload.github.com/linksplatform/doublets-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2Fdoublets-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35142824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"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":[],"created_at":"2026-07-05T03:30:32.823Z","updated_at":"2026-07-05T03:30:33.500Z","avatar_url":"https://github.com/linksplatform.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# doublets-web\n\n[![CI/CD Pipeline](https://github.com/linksplatform/doublets-web/actions/workflows/release.yml/badge.svg?branch=master)](https://github.com/linksplatform/doublets-web/actions/workflows/release.yml?query=branch%3Amaster)\n[![npm package](https://img.shields.io/npm/v/doublets-web.svg)](https://www.npmjs.com/package/doublets-web)\n[![GitHub Release](https://img.shields.io/github/v/release/linksplatform/doublets-web.svg)](https://github.com/linksplatform/doublets-web/releases)\n[![License](https://img.shields.io/badge/license-Unlicense-blue.svg)](https://github.com/linksplatform/doublets-web#license)\n\nWebAssembly bindings for the LinksPlatform [doublets](https://github.com/linksplatform/doublets-rs) associative storage library.\n\n## Live Demo\n\nTry the hosted JavaScript playground and documentation:\n\nhttps://linksplatform.github.io/doublets-web/\n\nThe demo runs `doublets-web` in the browser with a Monaco-powered JavaScript editor, captured console output, and a live doublets graph view. It is deployed by GitHub Pages from this repository.\n\n## Installation\n\n```sh\nnpm install doublets-web\n```\n\n## Usage\n\n```js\nimport { Link, LinksConstants, UnitedLinks } from \"doublets-web\";\n\nconst constants = new LinksConstants();\nconst links = new UnitedLinks(constants);\n\nconst link = links.create();\nlinks.update(link, link, link);\n\nconst any = links.constants.any;\nconst count = links.count(new Link(any, link, link));\n\nconsole.log(`Stored links: ${count}`);\n```\n\n## Development\n\nThis package is built with stable Rust and `wasm-pack`.\n\n```sh\nrustup target add wasm32-unknown-unknown\ncargo check --locked --tests --all-features\ncargo clippy --locked --tests --all-features -- -D warnings\nwasm-pack build --release --target bundler --out-dir pkg\nwasm-pack test --node\n```\n\nTo run the documentation playground locally:\n\n```sh\nwasm-pack build --release --target web --out-dir site/public/pkg --out-name doublets_web\nnpm ci --prefix site\nnpm run dev --prefix site\n```\n\nTo check the production GitHub Pages bundle:\n\n```sh\nnpm run build --prefix site\n```\n\n## Publishing\n\nThe release workflow publishes the generated `pkg` package to npm from `.github/workflows/release.yml` using npm trusted publishing.\n\nThe npm package trusted publisher should be configured with:\n\n- Organization/user: `linksplatform`\n- Repository: `doublets-web`\n- Workflow filename: `release.yml`\n\nThe workflow uses GitHub Actions OIDC (`id-token: write`) and `npm publish` from the generated package directory. npm trusted publishing automatically adds provenance for supported public packages.\n\n## License\n\nReleased into the public domain under [The Unlicense](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinksplatform%2Fdoublets-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinksplatform%2Fdoublets-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinksplatform%2Fdoublets-web/lists"}