{"id":36498204,"url":"https://github.com/digabi/node-packages","last_synced_at":"2026-01-15T02:57:01.419Z","repository":{"id":308508622,"uuid":"1028195184","full_name":"digabi/node-packages","owner":"digabi","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-09T15:07:07.000Z","size":809,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T04:29:26.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digabi.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,"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":"2025-07-29T07:03:47.000Z","updated_at":"2026-01-07T08:24:54.000Z","dependencies_parsed_at":"2025-08-06T10:34:32.796Z","dependency_job_id":"72c0d831-8126-4a90-9fac-4b615626e77c","html_url":"https://github.com/digabi/node-packages","commit_stats":null,"previous_names":["digabi/node-packages"],"tags_count":87,"template":false,"template_full_name":null,"purl":"pkg:github/digabi/node-packages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digabi%2Fnode-packages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digabi%2Fnode-packages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digabi%2Fnode-packages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digabi%2Fnode-packages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digabi","download_url":"https://codeload.github.com/digabi/node-packages/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digabi%2Fnode-packages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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-01-12T02:05:39.386Z","updated_at":"2026-01-15T02:57:01.408Z","avatar_url":"https://github.com/digabi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digabi Node Packages\n\nThis repository contains utility packages for Digabi codebase.\n\n### Package guidelines\n\n- Typescript only\n- Good unit test coverage\n- If a devDependency is needed in all packages, add it to the root level package.json. Otherwise it should go in the packages own package.json\n- Let’s keep dependencies to a minimum and only add them when they’re truly needed. Try to avoid pulling in a large library just for a single function.\n\n#### Naming convention\n\nNo strict naming conventions. Package name should reflect the context and functionality. Feel free to add `-utils` ending if you feel like the package\nis only an extension/helper and it could be confusing to name it only based on the context.\n\n### Package structure\n\n- `__tests__` contains unit tests for package. Each package should have unit tests that cover the usage.\n- `src` contains actual code\n\n### Creating a new package\n\n1. Copy an existing package under `packages/` as a template and modify relevant parts.\n   - Try `crypto-utils` or `2fa` as pretty minimal examples.\n2. Add an entry for your package to `.github/workflows/publish.yml`.\n3. Run `just new-package foobar` where `foobar` is the package's name.\n   - The prefix `@digabi/` will be added automatically.\n4. Sign into npmjs.com and navigate to the new package's settings.\n5. Setup \"Trusted publisher\".\n   - Set \"publishing access\" to \"require two-factor authentication and disallow tokens\".\n6. Ensure connection works by creating a new version with `publish.yml`.\n\n### Updating a package\n\nPublishing should be done only via github actions by triggering the `Publish new version` workflow.\n\n1. Go to https://github.com/digabi/node-packages/actions/workflows/publish.yml and choose `Run workflow`.\n2. If you want to create a pre release from a feature branch, select that as the branch to run workflow from.\n3. Select package to update\n4. Select what kind of version bump would you like to do. If doing a `pre` type release, the version will be\n   tagged with the branch name for example `feature-add-sort-function`. If normal release then it will be tagged as `latest`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigabi%2Fnode-packages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigabi%2Fnode-packages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigabi%2Fnode-packages/lists"}