{"id":13483386,"url":"https://github.com/amovah/enpeem-search","last_synced_at":"2025-06-16T16:11:56.649Z","repository":{"id":34622075,"uuid":"38571300","full_name":"amovah/enpeem-search","owner":"amovah","description":"Search npm packages by web scraping and without indexing all npm packages","archived":false,"fork":false,"pushed_at":"2016-01-17T15:37:04.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T14:32:48.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/amovah.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":"2015-07-05T14:08:57.000Z","updated_at":"2019-02-11T10:34:17.000Z","dependencies_parsed_at":"2022-08-24T11:00:27.372Z","dependency_job_id":null,"html_url":"https://github.com/amovah/enpeem-search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amovah/enpeem-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amovah%2Fenpeem-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amovah%2Fenpeem-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amovah%2Fenpeem-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amovah%2Fenpeem-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amovah","download_url":"https://codeload.github.com/amovah/enpeem-search/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amovah%2Fenpeem-search/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260194771,"owners_count":22972639,"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-07-31T17:01:10.672Z","updated_at":"2025-06-16T16:11:56.621Z","avatar_url":"https://github.com/amovah.png","language":"JavaScript","funding_links":[],"categories":["Packages"],"sub_categories":["Other"],"readme":"# enpeem-search\n\nSearch npm packages by web scraping and without indexing all npm packages\n\n## Why should we use this module?\n\nIt's good question. I used npm module to search packages, but npm first must indexing all packages then search. some of developers have problem with npm search. So I made a decision to create a module to search package without indexing all package. I use web scraping and site search to search packages.\n\n\n\n\n## Example\n\nFirst install the module : `npm install enpeem-search`. then :\n\n```javascript\nimport search from 'eneepm-search';\n\nsearch('yo', 1, 2).then((result) =\u003e {\n  console.log(result);\n});\n\n/* result\n[ { name: 'yo-api-wrapper',\n    author: 'hinderberg',\n    description: 'Yo api wrapper for nodejs',\n    stars: '1',\n    version: '0.0.1',\n    url: 'https://www.npmjs.com/package/yo-api-wrapper' } ]\n*/\n\nsearch('some-thing-every-thing', 2).catch(() =\u003e {\n  console.log('Not found'); //'Not found'\n})\n\n```\n## Usage\n\n`search(query [,limit] [,skip])`\n\n### query\n\ntype: `String`\n\nrequired: Yes\n\nThe search query.\n\n### limit\n\ntype: `Number`\n\nrequired: No\n\ndefault: `1`\n\nLimit result from 1 to 20.\n\n### skip\n\ntype: `Number`\n\nrequired: No\n\ndefault: `0`\n\nSkip the first `n` results.\n\n### result\n\nenpeem-search returns a [Promise](https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/Promise.jsm/Promise).\n\nresult is a `Array` that includes result as `Object`.\n\nObject has:\n\n1. `name`: name of the package\n2. `author`: author of the package\n3. `description`: description of the package\n4. `stars`: stars of the package\n5. `version`: version of the package\n6. `url`: URL of the package\n\n## Contributing, Idea, Issue\n\nFeel free to fill an issue or create a pull request, I'll check it ASAP.\n\nJust don't forgot build your code:\n\n`gulp build`\n\n## LICENSE\n\n[MIT](http://mit-license.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famovah%2Fenpeem-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famovah%2Fenpeem-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famovah%2Fenpeem-search/lists"}