{"id":18579816,"url":"https://github.com/pqml/ae-read-curves","last_synced_at":"2025-04-10T10:31:37.093Z","repository":{"id":57173830,"uuid":"124711222","full_name":"pqml/ae-read-curves","owner":"pqml","description":"Read After Effects curves exported by ae-export-curves","archived":false,"fork":false,"pushed_at":"2018-03-11T19:46:17.000Z","size":90,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T19:45:44.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pqml.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}},"created_at":"2018-03-11T00:52:52.000Z","updated_at":"2022-02-06T06:36:36.000Z","dependencies_parsed_at":"2022-08-24T14:40:46.797Z","dependency_job_id":null,"html_url":"https://github.com/pqml/ae-read-curves","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pqml%2Fae-read-curves","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pqml%2Fae-read-curves/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pqml%2Fae-read-curves/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pqml%2Fae-read-curves/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pqml","download_url":"https://codeload.github.com/pqml/ae-read-curves/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199136,"owners_count":21063641,"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":[],"created_at":"2024-11-06T23:42:11.348Z","updated_at":"2025-04-10T10:31:36.523Z","avatar_url":"https://github.com/pqml.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eae-read-curves\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eRead After Effects curves exported by \u003ca href=\"https://github.com/pqml/ae-export-curves\"\u003eae-export-curves\u003c/a\u003e\u003c/h3\u003e\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Example\nExample on [https://pqml.github.io/ae-read-curves](https://pqml.github.io/ae-read-curves)\n\n\u003cbr\u003e\u003cbr\u003e\n\n## Features\n- Read curves exported by [ae-export-curves](https://github.com/pqml/ae-export-curves)\n- Get property values at a precise time, with the `seek()` function\n- Tiny module, \u003c 1ko gziped\n\n\u003cbr\u003e\u003cbr\u003e\n\n## Module Installation \u0026 Usage\n\n##### Installation from npm\n```sh\n# using npm\n$ npm install --save ae-read-curves\n\n# or using yarn\n$ yarn add ae-read-curves\n```\n\n##### Usage with a module bundler\n```js\n// using ES6 module\nimport readCurves from 'ae-read-curves'\n\n// using CommonJS module\nconst readCurves = require('ae-read-curves')\n\nconst comp = readCurves(json)\n\nconsole.log(comp.duration) // get duration of the composition\nconsole.log(comp.width) // get width of the composition\nconsole.log(comp.height) // get height of the composition\n\ncomp.seek(0.5) // go to the middle of the composition timeline\nconsole.log(comp.values.translateX) // get translateX property value at 0.5 progress\n```\n\n##### Usage from a browser\n\n```html\n\u003cscript src=\"https://unpkg.com/ae-read-curves\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  var comp = window.AEReadCurves(json)\n  comp.seek(0.1)\n  console.log(comp.values.translateX)\n\u003c/script\u003e\n```\n\n\u003cbr\u003e\u003cbr\u003e\n\n## Development commands\n\n- `npm install` - Install all npm dependencies\n- `npm run start` - Start the dev server with livereload on the example folder\n- `npm run build` - Bundle your library in CJS / UMD / ESM\n- `npm run deploy` - Deploy your example folder on a gh-page branch\n- `npm run test` - Lint your js inside the src folder\n\n\u003cbr\u003e\u003cbr\u003e\n\n## License\nMIT.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpqml%2Fae-read-curves","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpqml%2Fae-read-curves","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpqml%2Fae-read-curves/lists"}