{"id":21109630,"url":"https://github.com/lyn-euler/mustache_recase","last_synced_at":"2025-03-14T09:41:24.501Z","repository":{"id":51198930,"uuid":"369155294","full_name":"lyn-euler/mustache_recase","owner":"lyn-euler","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-20T09:48:29.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T04:11:53.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lyn-euler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-05-20T09:37:21.000Z","updated_at":"2021-05-20T09:37:40.000Z","dependencies_parsed_at":"2022-09-13T08:02:01.879Z","dependency_job_id":null,"html_url":"https://github.com/lyn-euler/mustache_recase","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/lyn-euler%2Fmustache_recase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Fmustache_recase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Fmustache_recase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Fmustache_recase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyn-euler","download_url":"https://codeload.github.com/lyn-euler/mustache_recase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243558458,"owners_count":20310569,"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-20T00:54:58.050Z","updated_at":"2025-03-14T09:41:24.479Z","avatar_url":"https://github.com/lyn-euler.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mustache_recase\n\nA library for extending the functionality of [mustache](https://pub.dartlang.org/packages/mustache) package with [recase](https://pub.dartlang.org/packages/recase)\n\n## Usage\n\n```\nimport 'package:mustache/mustache.dart';\nimport 'package:mustache_recase/mustache_recase.dart' as mustache_recase;\n\nvoid main(){\n  Template template = new Template(\"{{#title_case}} {{hello}} {{/title_case}}\");\n  Map variables = {\"hello\": \"hello-world\"};\n  variables.addAll(mustache_recase.cases);\n  String output = template.renderString(variables);\n  print(output); // Hello World\n}\n```\n\nSee (or interact with) the [example](https://github.com/Rodsevich/mustache_recase/blob/master/example/cli_interactive_example.dart) and/or the [test](https://github.com/Rodsevich/mustache_recase/blob/master/test/mustache_recase_test.dart) of the package if you have doubts\n\n### List of usable cases\n - snake_case\n - dot.case\n - path/case\n - param-case\n - PascalCase\n - Header-Case\n - Title Case\n - camelCase\n - Sentence case\n - CONSTANT_CASE\n\n#### misc\n\nThis package was made with [Generator+](https://github.com/Rodsevich/generator-plus) package in an effort to have it tested and, at the same time, extended in it's mustache templates related features. I'm glad it worked as expected :smiley:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyn-euler%2Fmustache_recase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyn-euler%2Fmustache_recase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyn-euler%2Fmustache_recase/lists"}