# circle-of-trust

> Get info about a user's circle.

Latest version **1.3.0** (published 2018-04-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install circle-of-trust
pnpm add circle-of-trust
yarn add circle-of-trust
bun add circle-of-trust
```

## 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.3.0 |
| Published | 2018-04-05 |
| First published | 2018-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | haykam821 |
| Maintainers | haykam821 |
| Keywords | reddit, april, fools, circle, trust, subreddit, joke, experiment |

## Links

- npm: https://www.npmjs.com/package/circle-of-trust
- Repository: https://github.com/haykam821/Circle-of-Trust
- Homepage: https://github.com/haykam821/Circle-of-Trust#readme
- Issues: https://github.com/haykam821/Circle-of-Trust/issues
- npm.io page: https://npm.io/package/circle-of-trust

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.85.0
- [request-promise-native](https://npm.io/package/request-promise-native.md) ^1.0.5

## 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.3.0 (latest) — 2018-04-05
- 1.2.0 — 2018-04-02
- 1.1.0 — 2018-04-02
- 1.0.0 — 2018-04-02

## README

# Circle of Trust

Get info about a user's circle.

## Documentation

This package exports a function for getting a circle from a Reddit username (using ES6 Promises), like so:

```javascript
const circleOfTrust = require("circle-of-trust");
circleOfTrust("haykam821")
    .then(console.log) // Circle information (see below)
    .catch(console.error); // Failed to get circle info (e.g. no such user or circle)
```

The promise resolves with an object containing information about the circle:

Property | Type | Description
--- | --- | ---
`circle.name` | String | The name given to the circle
`circle.link` | String | A permalink to the circle
`circle.id` | String | The circle's identifier
`circle.owner` | String | The owner, good chance it'll be the person you specified.
`circle.betrayed` | Boolean | Whether the circle has been betrayed or not.
`circle.score` | Number | The score of the circle.
`circle.key` | Null | If key already used, that key as a String. Otherwise, Null.

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