{"id":19623812,"url":"https://github.com/appleple/backpax","last_synced_at":"2025-12-11T19:11:54.334Z","repository":{"id":35055706,"uuid":"197561715","full_name":"appleple/backpax","owner":"appleple","description":"Simple JavaScript Library to add parallax image to background-image","archived":false,"fork":false,"pushed_at":"2024-02-13T07:03:44.000Z","size":3973,"stargazers_count":16,"open_issues_count":34,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-15T03:31:40.630Z","etag":null,"topics":["javascript","parallax","parallax-library","typescript"],"latest_commit_sha":null,"homepage":"https://appleple.github.io/backpax/","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/appleple.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}},"created_at":"2019-07-18T10:02:21.000Z","updated_at":"2024-05-21T08:31:59.000Z","dependencies_parsed_at":"2024-02-13T08:23:31.185Z","dependency_job_id":"3852c9de-7250-41dd-a81a-6996ad6bf10c","html_url":"https://github.com/appleple/backpax","commit_stats":{"total_commits":51,"total_committers":3,"mean_commits":17.0,"dds":0.3529411764705882,"last_synced_commit":"07f15f0a9d6941ee9eefb7142e8997608dd7582a"},"previous_names":["appleple/pax"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fbackpax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fbackpax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fbackpax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fbackpax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleple","download_url":"https://codeload.github.com/appleple/backpax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224096497,"owners_count":17255103,"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":["javascript","parallax","parallax-library","typescript"],"created_at":"2024-11-11T11:35:34.186Z","updated_at":"2025-12-11T19:11:49.279Z","avatar_url":"https://github.com/appleple.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backpax\n\n![](./screenshot.png)\nSimple JavaScript Library to add parallax image to `background-image`\n\n## Install\n\n```\n$ npm install backpax --save\n```\n\n## Demo\n\nDemo page is [here](https://appleple.github.io/backpax)\n\n## Usage\n\nIf you want to add parallax effect to element's background-image\n\n```html\n\u003cdiv class=\"js-parallax parallax\" \n  data-img=\"./path/to/default-image\"\n  data-img-768=\"./path/to/image-which-size-is-smaller-than-768\"\n  data-img-1024=\"./path/to/image-which-size-is-smaller-than-1024\"\n\u003e\n  \u003cp\u003eHello world!\u003c/p\u003e\n\u003c/div\u003e\n```\n\n```js\nimport Backpax from 'backpax';\n\nnew Backpax('.js-parallax');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fbackpax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleple%2Fbackpax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fbackpax/lists"}