{"id":16371362,"url":"https://github.com/mateonunez/orama-schema-resolver","last_synced_at":"2025-10-04T22:30:02.873Z","repository":{"id":61629777,"uuid":"552405264","full_name":"mateonunez/orama-schema-resolver","owner":"mateonunez","description":"Create your Lyra's schema following the official specification","archived":false,"fork":false,"pushed_at":"2024-12-06T02:08:20.000Z","size":2266,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-23T09:51:48.641Z","etag":null,"topics":["database","orama","plugin","resolver","schema"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/lyra-schema-resolver","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/mateonunez.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":"2022-10-16T14:20:04.000Z","updated_at":"2023-12-19T13:20:08.000Z","dependencies_parsed_at":"2023-02-09T19:15:20.050Z","dependency_job_id":"c931d8df-0449-442a-95a0-eaae93c4d45b","html_url":"https://github.com/mateonunez/orama-schema-resolver","commit_stats":null,"previous_names":["mateonunez/lyra-schema-resolver"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/mateonunez/orama-schema-resolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateonunez%2Forama-schema-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateonunez%2Forama-schema-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateonunez%2Forama-schema-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateonunez%2Forama-schema-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mateonunez","download_url":"https://codeload.github.com/mateonunez/orama-schema-resolver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateonunez%2Forama-schema-resolver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278385969,"owners_count":25978108,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["database","orama","plugin","resolver","schema"],"created_at":"2024-10-11T03:07:48.154Z","updated_at":"2025-10-04T22:30:02.834Z","avatar_url":"https://github.com/mateonunez.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🪄 Orama schema resolver\n\nCreate your [Orama](https://github.com/oramasearch/orama) schema following the official specification.\n\n[![Tests](https://github.com/mateonunez/orama-schema-resolver/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/mateonunez/orama-schema-resolver/actions/workflows/ci.yml)\n\n## Installation\n\nYou can install the package using `npm`, `yarn` or `pnpm`:\n\n```sh\nnpm i orama-schema-resolver\n```\n```sh\nyarn add orama-schema-resolver\n```\n```sh\npnpm add orama-schema-resolver\n```\n\n## Usage\n\n```js\nimport { create, insert, search } from '@oramasearch/orama';\nimport resolveSchema from 'orama-schema-resolver';\nimport * as fs from 'fs';\n\n// You can parse data from any source, but we'll use a local file for this example\nconst data = JSON.parse(fs.readFileSync('./package.json').toString());\nconst schema = resolveSchema(data);\nconst db = create({ schema })\n\ninsert(db, data);\n\nconst results = search(db, {\n  term: 'orama'\n});\n\nconsole.log(results)\n```\n\n# License\n\n[MIT](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateonunez%2Forama-schema-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateonunez%2Forama-schema-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateonunez%2Forama-schema-resolver/lists"}