{"id":23421192,"url":"https://github.com/nhsdigital/ee-utils","last_synced_at":"2025-08-25T11:31:12.121Z","repository":{"id":195037432,"uuid":"678443972","full_name":"NHSDigital/ee-utils","owner":"NHSDigital","description":null,"archived":true,"fork":false,"pushed_at":"2024-10-04T08:27:51.000Z","size":1222,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T09:41:50.632Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NHSDigital.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}},"created_at":"2023-08-14T15:07:38.000Z","updated_at":"2024-10-23T09:05:54.000Z","dependencies_parsed_at":"2024-01-04T10:23:49.294Z","dependency_job_id":"98ac245b-a323-45c1-a5be-bcb23838e333","html_url":"https://github.com/NHSDigital/ee-utils","commit_stats":null,"previous_names":["nhsdigital/ee-utils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NHSDigital/ee-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fee-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fee-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fee-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fee-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHSDigital","download_url":"https://codeload.github.com/NHSDigital/ee-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fee-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272055055,"owners_count":24865292,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":"2024-12-23T02:14:22.344Z","updated_at":"2025-08-25T11:31:11.711Z","avatar_url":"https://github.com/NHSDigital.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ee-utils\n\nThis is a collection of util functions for the Engineering Experience team.\n\n## Usage\n\nIn order to use this package locally, you must authenticate with GitHub Packages. A number of options are given [here](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages).\n\nThe preferred method is to use a PAT token and sign in via `npm login`. You must use the legacy `auth-type` option as below.\n\n**This command should be run in your home directory.**\n\n```bash\nnpm login --scope=@NHSDigital --auth-type=legacy --registry=https://npm.pkg.github.com\n```\n\nYou will be prompted to enter a Username and Password. The Username is your GitHub username and the Password is your PAT token.\n\n**_NOTE:_** This PAT only needs the `read:packages` scope to install packages and should be [authorised via SSO to access the organisation](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on).\n\n## GitHub Actions\n\nTo use this package in a GitHub Action, you must ensure the action has the `packages: read` permission and add a few extra steps to the usual `setup-node` workflow.\n\nThe `registry-url`, `scope` and `NODE_AUTH_TOKEN` variables must be set as below. The action uses the repository's `GITHUB_TOKEN` secret to authenticate with GitHub Packages. This is automatically generated by GitHub and does not need to be set manually.\n\nYou will also need to create a `.npmrc` file in the root of your repository with the following contents:\n\n```text\n@NHSDigital:registry=https://npm.pkg.github.com\n```\n\n**_NOTE:_** This package is currently set to private, so the repo using it must be given read access in the [package settings](https://github.com/orgs/NHSDigital/packages/npm/ee-utils/settings).\n\n```yaml\n- name: Install dependencies\n  run: make install\n  env:\n    NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fee-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhsdigital%2Fee-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fee-utils/lists"}