{"id":21189028,"url":"https://github.com/sackrin/schemaly","last_synced_at":"2025-03-14T20:42:00.169Z","repository":{"id":65493393,"uuid":"130957755","full_name":"sackrin/schemaly","owner":"sackrin","description":"Quick and easy library for creating permission based javascript data schemas.","archived":false,"fork":false,"pushed_at":"2020-06-28T01:12:14.000Z","size":2297,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T05:33:43.580Z","etag":null,"topics":["es6","nodejs","sanitization","schema","security","typescript","validation"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sackrin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-25T05:59:37.000Z","updated_at":"2020-06-28T01:12:18.000Z","dependencies_parsed_at":"2023-01-26T02:32:05.398Z","dependency_job_id":null,"html_url":"https://github.com/sackrin/schemaly","commit_stats":null,"previous_names":["sackrin/fissionjs"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sackrin%2Fschemaly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sackrin%2Fschemaly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sackrin%2Fschemaly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sackrin%2Fschemaly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sackrin","download_url":"https://codeload.github.com/sackrin/schemaly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242940015,"owners_count":20209883,"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":["es6","nodejs","sanitization","schema","security","typescript","validation"],"created_at":"2024-11-20T18:49:35.886Z","updated_at":"2025-03-14T20:42:00.141Z","avatar_url":"https://github.com/sackrin.png","language":"TypeScript","readme":"# Schemaly\n\nThis library is designed to help work with data objects by providing structure, validation, sanitization and policy driven access control. Situations where you may need this functionality include retrieving data from a database and restricting what the output should contain using user roles and scope. Processing request data from an unknown source and stripping out unexpected or unauthorised values. Creating universal data models to share on your client and server side projects to allow for shared sanitization + validation. A mixture of the previous examples to lock down and regulate data for serving, receiving and storing data.\n\nPretty much you can use this library to provide client side model and validation functionality and/or as a middleware to your node api REST or GraphQL endpoints.\n\n\n## Installation\nInstall by using npm\n\n```javascript\nnpm install --save @schemaly/async\nnpm install --save @schemaly/sync\n```\n\nor by using yarn\n```javascript\nyarn add @schemaly/async\nyarn add @schemaly/sync\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsackrin%2Fschemaly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsackrin%2Fschemaly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsackrin%2Fschemaly/lists"}