{"id":44975944,"url":"https://github.com/k-l-lambda/web-widgets","last_synced_at":"2026-02-18T17:04:47.304Z","repository":{"id":57123599,"uuid":"242926224","full_name":"k-l-lambda/web-widgets","owner":"k-l-lambda","description":"A package contains some utility vue.js components.","archived":false,"fork":false,"pushed_at":"2026-02-11T07:47:11.000Z","size":2113,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T15:13:51.635Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k-l-lambda.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2020-02-25T06:22:44.000Z","updated_at":"2026-01-26T11:48:43.000Z","dependencies_parsed_at":"2022-08-29T15:50:53.988Z","dependency_job_id":"b0d0f23c-a99c-4620-b34e-6b8b9ad085ce","html_url":"https://github.com/k-l-lambda/web-widgets","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/k-l-lambda/web-widgets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-l-lambda%2Fweb-widgets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-l-lambda%2Fweb-widgets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-l-lambda%2Fweb-widgets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-l-lambda%2Fweb-widgets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-l-lambda","download_url":"https://codeload.github.com/k-l-lambda/web-widgets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-l-lambda%2Fweb-widgets/sbom","scorecard":{"id":546119,"data":{"date":"2025-08-11","repo":{"name":"github.com/k-l-lambda/web-widgets","commit":"1814fa05b0b4506c057251d6354c64c295c3c3ce"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}}]},"last_synced_at":"2025-08-20T09:33:32.330Z","repository_id":57123599,"created_at":"2025-08-20T09:33:32.330Z","updated_at":"2025-08-20T09:33:32.330Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29587066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"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":[],"created_at":"2026-02-18T17:04:38.781Z","updated_at":"2026-02-18T17:04:47.297Z","avatar_url":"https://github.com/k-l-lambda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Music Widgets\n\nA package contains some music utility modules.\n\n\n## Modules\n\n* MIDI\n* MusicNotation\n* MidiPlayer\n* MidiAudio\n\n\n## Usage\n\nInstall (via GitHub Packages registry):\n\n1) Authenticate npm to GitHub registry (once per machine):\n\n```\n// ~/.npmrc\n@k-l-lambda:registry=https://npm.pkg.github.com\n//npm.pkg.github.com/:_authToken=${NPM_TOKEN}\nalways-auth=true\n\n# Alternatively (npm \u003e= 6)\n# npm login --registry=https://npm.pkg.github.com --scope=@k-l-lambda\n```\n\n2) Install the package:\n\n```\nyarn add @k-l-lambda/music-widgets\n# or\nnpm install @k-l-lambda/music-widgets\n```\n\nIn Node:\n\n```\nimport { MIDI, MusicNotation, MidiPlayer, MidiUtils } from \"@k-l-lambda/music-widgets\";\n\n// Parse a MIDI ArrayBuffer\nconst midi = MIDI.parseMidiData(arrayBuffer);\nconst notation = MusicNotation.Notation.parseMidi(midi);\n\nconst player = new MidiPlayer(midi, {\n\tonMidi: (event, when) =\u003e {/* route to synth */},\n});\n\nplayer.play();\n```\n\nIn Browser (UMD):\n\n```\n\u003cscript src=\"/dist/musicWidgetsBrowser.umd.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  const { MIDI, MusicNotation, MidiPlayer, MidiAudio } = window.musicWidgetsBrowser;\n  // ...\n\u003c/script\u003e\n```\n\nVue component (piano roll):\n\n```\nimport { MidiRoll } from \"@k-l-lambda/music-widgets\";\n\nexport default { components: { MidiRoll } };\n```\n\n\n## Development\n\nPrerequisites:\n\n- Node.js (LTS)\n- Yarn\n\nInstall deps:\n\n```\nyarn\n```\n\nBuild library and browser bundle:\n\n```\nyarn build\n```\n\nWatch mode (TS + bundle):\n\n```\nyarn watch\n```\n\nTest app (midi-visualizer):\n\n```\ncd tests/midi-visualizer\nyarn\nyarn serve\n# optional: in another terminal, sync parent outputs into node_modules\nyarn watch\n```\n\n\n## Publish to GitHub Packages\n\nThe package publishes to the GitHub Packages registry at `https://npm.pkg.github.com`.\n\n1) Ensure you are authenticated (create a Personal Access Token with `read:packages`, `write:packages` (and `delete:packages` if needed)):\n\n```\n// ~/.npmrc\n@k-l-lambda:registry=https://npm.pkg.github.com\n//npm.pkg.github.com/:_authToken=${NPM_TOKEN}\nalways-auth=true\n```\n\n2) Update version in `package.json`.\n\n3) Build the package (includes TS compile, lib sync, UMD bundle):\n\n```\nyarn build\n```\n\n4) Publish:\n\n```\nnpm publish\n# or (yarn classic delegates to npm publish)\nyarn publish --new-version \u003csemver\u003e\n```\n\nNotes:\n- The build will emit `lib/` (compiled TS + MidiAudio) and `dist/` (UMD bundle).\n- Ensure `.npmrc` points the `@k-l-lambda` scope to the GitHub registry and `always-auth=true`.\n- Package name must be scoped to the owner (`@k-l-lambda/music-widgets`) and you must have permission in that org/owner.\n- In CI, prefer `NODE_AUTH_TOKEN`/`NPM_TOKEN` env var matching the `_authToken` used in `.npmrc`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-l-lambda%2Fweb-widgets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-l-lambda%2Fweb-widgets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-l-lambda%2Fweb-widgets/lists"}