{"id":22706795,"url":"https://github.com/bigbinary/babel-preset-neeto","last_synced_at":"2025-04-13T12:12:59.273Z","repository":{"id":183859406,"uuid":"622924427","full_name":"bigbinary/babel-preset-neeto","owner":"bigbinary","description":"A babel preset to transform short code to boilerplate at compile time","archived":false,"fork":false,"pushed_at":"2025-02-17T14:58:19.000Z","size":144,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-04-13T12:12:48.433Z","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/bigbinary.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-03T10:44:46.000Z","updated_at":"2025-02-17T14:58:22.000Z","dependencies_parsed_at":"2023-07-26T06:09:11.071Z","dependency_job_id":"898af6e9-e816-43bc-97e9-6fceceb29ffe","html_url":"https://github.com/bigbinary/babel-preset-neeto","commit_stats":null,"previous_names":["bigbinary/babel-preset-neeto"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fbabel-preset-neeto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fbabel-preset-neeto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fbabel-preset-neeto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fbabel-preset-neeto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigbinary","download_url":"https://codeload.github.com/bigbinary/babel-preset-neeto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710448,"owners_count":21149191,"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-12-10T10:09:45.395Z","updated_at":"2025-04-13T12:12:59.243Z","avatar_url":"https://github.com/bigbinary.png","language":"JavaScript","readme":"# babel-preset-neeto\n\nA babel transformer to minimize boilerplate code in neeto products.\n\n## Usage\n\nbabel-preset-neeto is designed in an assumption that it will be run before all\nother presets or plugins. To make that possible, you need to add\n`@bigbinary/neeto` towards the end of your `presets` array in `babel.config.js`\nas shown below. Babel presets will run in last-to-first order.\n\n```js\nmodule.exports = {\n  presets: [\n    // ...all other presets\n    \"@bigbinary/neeto\",\n  ];\n}\n```\n\nBabel runs the plugins before presets. But usually plugins do minor code\ntransformations which won't affect babel-preset-neeto. But if any of them\ninterfere with babel-preset-neeto, add plugins directly to the top of the\n`plugins` array as shown below. Babel plugins are run in first-to-last order.\n\n```js\nconst zustandPickPlugin = require(\"@bigbinary/babel-preset-neeto/src/plugins/zustand-pick\");\nconst anyOtherPluginFromNeeto = require(\"@bigbinary/babel-preset-neeto/src/plugins/other-plugin-name\");\n\nmodule.exports = {\n  plugins: [\n    zustandPickPlugin,\n    anyOtherPluginFromNeeto,\n    // ...all your plugins\n  ],\n  presets: [\n    // ...all your presets\n  ];\n}\n```\n\n## Available plugins\n\n- [zustand-pick](https://github.com/bigbinary/babel-preset-neeto/blob/main/docs/zustand-pick.md)\n- [zustand-pick-from](https://github.com/bigbinary/babel-preset-neeto/blob/main/docs/zustand-pick-from.md)\n\n## Other links\n\n- [Development instructions](./docs/development-instructions.md)\n- [References and learning materials](./docs/references.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbinary%2Fbabel-preset-neeto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigbinary%2Fbabel-preset-neeto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbinary%2Fbabel-preset-neeto/lists"}