{"id":15435909,"url":"https://github.com/uetchy/babel-plugin-transform-object-literals","last_synced_at":"2025-04-19T18:23:27.291Z","repository":{"id":34985297,"uuid":"194380956","full_name":"uetchy/babel-plugin-transform-object-literals","owner":"uetchy","description":"Replace serializable object literals with JSON.parse().","archived":false,"fork":false,"pushed_at":"2023-01-04T02:27:22.000Z","size":1184,"stargazers_count":12,"open_issues_count":20,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T05:39:30.248Z","etag":null,"topics":["babel","babel-plugin"],"latest_commit_sha":null,"homepage":"","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/uetchy.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":"2019-06-29T08:08:23.000Z","updated_at":"2024-03-29T10:04:37.000Z","dependencies_parsed_at":"2023-01-15T11:30:17.650Z","dependency_job_id":null,"html_url":"https://github.com/uetchy/babel-plugin-transform-object-literals","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fbabel-plugin-transform-object-literals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fbabel-plugin-transform-object-literals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fbabel-plugin-transform-object-literals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uetchy%2Fbabel-plugin-transform-object-literals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uetchy","download_url":"https://codeload.github.com/uetchy/babel-plugin-transform-object-literals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249762130,"owners_count":21321890,"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":["babel","babel-plugin"],"created_at":"2024-10-01T18:46:55.850Z","updated_at":"2025-04-19T18:23:27.264Z","avatar_url":"https://github.com/uetchy.png","language":"JavaScript","readme":"# Babel Plugin Transform Object Literals\n\nReplace serializable object literals with JSON.parse().\n\n\u003e 🚀 Perf tip: if your web app ships large JSON-like configuration as JavaScript object literals, consider using JSON.parse instead. It’s much faster, especially for cold loads!\n\u003e https://twitter.com/mathias/status/1143551692732030979?s=20\n\n## Install\n\n```js\nnpm install --save-dev babel-plugin-transform-object-literals\n```\n\nThen add `transform-object-literals` to your `.babelrc`:\n\n```json\n{\n  \"plugins\": [\"transform-object-literals\"]\n}\n```\n\n## Try\n\n```\ncd examples\nnpm install\nnpm run build\nnode ./output.js\n```\n\n## Contribute\n\nPRs welcome! Make sure `npm test` before making pull-request.\n\n```\ngit clone https://github.com/uetchy/babel-plugin-transform-object-literals\ncd babel-plugin-transform-object-literals\nnpm install\nnpm test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuetchy%2Fbabel-plugin-transform-object-literals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuetchy%2Fbabel-plugin-transform-object-literals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuetchy%2Fbabel-plugin-transform-object-literals/lists"}