{"id":22974263,"url":"https://github.com/diversen/js-css-piano","last_synced_at":"2025-07-20T06:32:09.493Z","repository":{"id":57282977,"uuid":"107793612","full_name":"diversen/js-css-piano","owner":"diversen","description":"A simple piano keyboard built with js and css","archived":false,"fork":false,"pushed_at":"2017-10-23T16:03:08.000Z","size":22,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-23T18:15:14.903Z","etag":null,"topics":["css-piano","piano"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/diversen.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}},"created_at":"2017-10-21T15:52:09.000Z","updated_at":"2025-01-20T14:42:03.000Z","dependencies_parsed_at":"2022-09-19T23:10:34.084Z","dependency_job_id":null,"html_url":"https://github.com/diversen/js-css-piano","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diversen/js-css-piano","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fjs-css-piano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fjs-css-piano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fjs-css-piano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fjs-css-piano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/js-css-piano/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fjs-css-piano/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076350,"owners_count":23872741,"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","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":["css-piano","piano"],"created_at":"2024-12-15T00:00:30.526Z","updated_at":"2025-07-20T06:32:09.459Z","avatar_url":"https://github.com/diversen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-css-piano\n\nVery small module for drawing a piano using js and css\n\n## Install: \n\n    npm install --save js-css-piano\n\n## Usage\n\n~~~js\nvar p = require('js-css-piano');\nvar elemID = 'piano-container';\n\nvar p = new piano(elemID, {\n        octaves: 2,\n        octaveBegin: 3\n});\np.createPiano();\n~~~\n\nRemember to include the [css/piano.css](css/piano.css)\n\nYou can also see [index.html](index.html) which includes the bundle built from [test.js](test.js)\n\nYou can see this example here: \n\n[https://diversen.github.io/js-css-piano/](https://diversen.github.io/js-css-piano/)\n\n## Build and watch example\n\n    ./watch\n\n## Inspiration\n\n[https://codepen.io/zastrow/details/oDBki](https://codepen.io/zastrow/details/oDBki)\n\n## License\n\nMIT © [Dennis Iversen](https://github.com/diversen)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fjs-css-piano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fjs-css-piano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fjs-css-piano/lists"}