{"id":15141817,"url":"https://github.com/nativescript/npm-user","last_synced_at":"2025-09-29T10:31:04.374Z","repository":{"id":141979593,"uuid":"179237628","full_name":"NativeScript/npm-user","owner":"NativeScript","description":"Get user info of an npm user","archived":false,"fork":true,"pushed_at":"2019-04-03T13:31:58.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-23T10:01:06.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sindresorhus/npm-user","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NativeScript.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}},"created_at":"2019-04-03T07:46:53.000Z","updated_at":"2019-04-03T13:31:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0f07efa-b968-401a-a83c-7b1cf9ffb8f0","html_url":"https://github.com/NativeScript/npm-user","commit_stats":{"total_commits":32,"total_committers":9,"mean_commits":"3.5555555555555554","dds":0.40625,"last_synced_commit":"794e74c29e5a2a6a446ed3824c224186dfff18a2"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fnpm-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fnpm-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fnpm-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Fnpm-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NativeScript","download_url":"https://codeload.github.com/NativeScript/npm-user/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234609323,"owners_count":18859849,"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-09-26T09:02:18.346Z","updated_at":"2025-09-29T10:31:04.078Z","avatar_url":"https://github.com/NativeScript.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-user [![Build Status](https://travis-ci.org/sindresorhus/npm-user.svg?branch=master)](https://travis-ci.org/sindresorhus/npm-user)\n\n\u003e Get user info of an npm user\n\nSince npm has no API for this we're forced to scrape the [profile page](https://www.npmjs.com/~sindresorhus).\n\n*Use the faster [npm-email](https://github.com/sindresorhus/npm-email) package if you only need the email.*\n\n\n## Install\n\n```\n$ npm install npm-user\n```\n\n\n## Usage\n\n```js\nconst npmUser = require('npm-user');\n\n(async () =\u003e {\n\tconsole.log(await npmUser('sindresorhus'));\n\t/*\n\t{\n\t\tname: 'Sindre Sorhus',\n\t\tavatar: 'https://gravatar.com/avatar/d36a92237c75c5337c17b60d90686bf9?size=496',\n\t\temail: 'sindresorhus@gmail.com',\n\t\tgithub: 'sindresorhus',\n\t\ttwitter: 'sindresorhus'\n\t}\n\t*/\n})()\n```\n\n*Values will be `null` if they're not set in the npm profile.*\n\n\n## Related\n\n- [npm-user-cli](https://github.com/sindresorhus/npm-user-cli) - CLI for this module\n- [npm-email](https://github.com/sindresorhus/npm-email) - Get the email of an npm user\n- [npm-keyword](https://github.com/sindresorhus/npm-keyword) - Get a list of npm packages with a certain keyword\n- [package-json](https://github.com/sindresorhus/package-json) - Get the package.json of a package from the npm registry\n- [npm-user-packages](https://github.com/kevva/npm-user-packages) - Get packages by an npm user\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Fnpm-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnativescript%2Fnpm-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Fnpm-user/lists"}