{"id":23510829,"url":"https://github.com/danielkov/modernist","last_synced_at":"2025-05-13T17:17:19.490Z","repository":{"id":36376203,"uuid":"223219502","full_name":"danielkov/modernist","owner":"danielkov","description":"Automagic 🦄 Project Scaffolding with Code Generation.","archived":false,"fork":false,"pushed_at":"2025-05-02T22:10:46.000Z","size":517,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-02T23:19:55.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/danielkov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-11-21T16:41:24.000Z","updated_at":"2021-05-15T23:36:45.000Z","dependencies_parsed_at":"2023-10-11T01:27:28.856Z","dependency_job_id":"0ee1f2f0-fb8a-465b-87ed-6db38a879a5b","html_url":"https://github.com/danielkov/modernist","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/danielkov%2Fmodernist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fmodernist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fmodernist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fmodernist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielkov","download_url":"https://codeload.github.com/danielkov/modernist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990503,"owners_count":21995776,"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-25T12:12:32.761Z","updated_at":"2025-05-13T17:17:19.408Z","avatar_url":"https://github.com/danielkov.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modernist - Automagic 🦄 Project Scaffolding with Code Generation.\n\nUse Modernist to build generate code for your projects or as a tool for more complex code generation needs.\n\nThe CLI requires a file named `.modernistrc.js` anywhere in the directory tree you're in, e.g.: next to `package.json`.\n\n```sh\nyarn add modernist\n```\n\n## Example\n\n```js\n// .modernistrc.js\nmodule.exports = {\n  example({ name }) {\n    return {\n      [name]: ({ name }) =\u003e `Hello, ${name}!`\n    };\n  }\n};\n```\n\nNow when you run\n\n```sh\nmodernist example --name World\n```\n\nThe following structure will be generated (relative to `.modernistrc.js`):\n\n```\n.modernistrc.js\n  └── World # with the contents: Hello, World!\n```\n\nIt also supports async functions for template and structure generation.\n\nMore complex example can be found in this repository in [`.modernistrc.js`](./.modernistrc.js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fmodernist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielkov%2Fmodernist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fmodernist/lists"}