# search-github-repos

> Get a list of Github repositories of specified username sorted by the last updated time

Latest version **1.0.2** (published 2020-09-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install search-github-repos
pnpm add search-github-repos
yarn add search-github-repos
bun add search-github-repos
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-09-10 |
| First published | 2020-09-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Amogh Dixit |
| Maintainers | fluorspar20 |
| Keywords | search, repos, github, repositories |

## Links

- npm: https://www.npmjs.com/package/search-github-repos
- Repository: https://github.com/fluorspar20/search-github-repos
- Issues: https://github.com/fluorspar20/search-github-repos/issues
- npm.io page: https://npm.io/package/search-github-repos

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.20.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-09-10
- 1.0.1 — 2020-09-10
- 1.0.0 — 2020-09-10

## README

# search-github-repos

Get a list of Github repositories of specified username sorted by the last updated time

## Installation

```js
# using npm
npm i search-github-repos

# using yarn
yarn add search-github-repos
```

## Usage

```js
# using require
const { getRepos } = require('search-github-repos');

# using import
import { getRepos } from 'search-github-repos';
```

## Example

### Using promises:

```js
getRepos({
  username: 'fluorspar20', // provide GitHub username here
  page: 1, // optional property: default value is 1
  per_page: 50 // optional property: default value is 40
}).then((repositories) => console.log(repositories));
```

### Using async/await:

```js
const getRepositories = async function () {
  const repositories = await getRepos({
    username: 'fluorspar20', // provide GitHub username here
    page: 1, // optional property: default value is 1
    per_page: 50 // optional property: default value is 40
  });
  console.log(repositories);
};

getRepositories();
```

---
_Source: https://npm.io/package/search-github-repos · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
