{"id":17236278,"url":"https://github.com/leungwensen/doc-indexer","last_synced_at":"2025-03-26T01:40:27.652Z","repository":{"id":57213864,"uuid":"84303100","full_name":"leungwensen/doc-indexer","owner":"leungwensen","description":"built for static page full-text search","archived":false,"fork":false,"pushed_at":"2017-03-08T10:22:56.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T22:56:26.942Z","etag":null,"topics":["documentation","full-text-search","indexing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/leungwensen.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}},"created_at":"2017-03-08T09:30:31.000Z","updated_at":"2019-02-21T20:54:18.000Z","dependencies_parsed_at":"2022-09-06T13:40:36.077Z","dependency_job_id":null,"html_url":"https://github.com/leungwensen/doc-indexer","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/leungwensen%2Fdoc-indexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungwensen%2Fdoc-indexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungwensen%2Fdoc-indexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leungwensen%2Fdoc-indexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leungwensen","download_url":"https://codeload.github.com/leungwensen/doc-indexer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245573837,"owners_count":20637670,"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":["documentation","full-text-search","indexing"],"created_at":"2024-10-15T05:35:49.257Z","updated_at":"2025-03-26T01:40:27.622Z","avatar_url":"https://github.com/leungwensen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"doc-indexer\n===========\n\nbuilt for static page full-text search\n\n![structure](./assets/structure.png)\n\n## install\n\n```shell\n$ npm i doc-indexer --save\n```\n\n## DocSet\n\nhtml, markdown, etc.\n\n## tokens\n\n```javascript\n{\n    docs: {\n        a: 'uri/to/a-file',\n        b: 'uri/to/b-file',\n    },\n    tokens: {\n        'someToken': {\n            stem: 'someToken',\n            minSize: 8,\n            maxSize: 9,\n            count: 10,\n            indices: [\n                {\n                    ranking: 0,\n                    link: '#xxx',\n                    doc: 'a',\n                    index: 0\n                }\n            ]\n        }\n    }\n}\n```\n\n## use in terminal\n\nTODO\n\n## use in browser\n\nTODO\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleungwensen%2Fdoc-indexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleungwensen%2Fdoc-indexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleungwensen%2Fdoc-indexer/lists"}