{"id":20604816,"url":"https://github.com/themost-framework/schemer","last_synced_at":"2026-02-04T08:01:46.993Z","repository":{"id":257813347,"uuid":"868419904","full_name":"themost-framework/schemer","owner":"themost-framework","description":"A collection of utilities for working with database schemas across environments with different naming conventions","archived":false,"fork":false,"pushed_at":"2024-10-07T07:53:42.000Z","size":2399,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-16T19:51:44.520Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themost-framework.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-06T10:45:09.000Z","updated_at":"2024-10-06T16:48:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4718f63-30d5-4cdc-be34-36277ce41d90","html_url":"https://github.com/themost-framework/schemer","commit_stats":null,"previous_names":["themost-framework/schemer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fschemer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fschemer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fschemer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fschemer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themost-framework","download_url":"https://codeload.github.com/themost-framework/schemer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234231449,"owners_count":18799993,"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-16T09:24:57.085Z","updated_at":"2026-02-04T08:01:46.941Z","avatar_url":"https://github.com/themost-framework.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @themost/schemer\n\nA collection of utilities for working with database schemas across environments with different naming conventions.\n\n## Installation\n\n```bash\nnpm install @themost/schemer\n```\n\n## Usage\n\nUse FieldNaming class to format field names according to a specific naming convention.\n\n```javascript\n\nconst { FieldNaming } = require('@themost/schemer');\nconst naming = new FieldNaming();\nconst fieldName = naming.format('first_name');\nconsole.log(fieldName); // Output: 'firstName'\n\n```\n\nWe can customize the naming convention by passing a configuration object to the FieldNaming constructor.\n\n```javascript\nconst { FieldNaming } = require('@themost/schemer');\nconst naming = new FieldNaming({\n    camelCase: false,\n    separator: '_',\n});\nconst fieldName = naming.format('firstname');\nconsole.log(fieldName); // Output: 'first_name'\n```\n\n`camelCase` property is used to specify whether the naming convention is camel case or not. Default value is `true`.\n\n`separator` property is used to specify the separator character. Default value is `''`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fschemer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemost-framework%2Fschemer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fschemer/lists"}