# pyrite-connect

> Pyrite Connect

Latest version **0.4.1** (published 2017-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install pyrite-connect
pnpm add pyrite-connect
yarn add pyrite-connect
bun add pyrite-connect
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2017-10-31 |
| First published | 2017-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Fabio Garcia |
| Maintainers | fagarbal |

## Links

- npm: https://www.npmjs.com/package/pyrite-connect
- Repository: https://github.com/pyrite-framework/pyrite-connect
- Homepage: https://github.com/pyrite-framework/pyrite-connect#readme
- Issues: https://github.com/pyrite-framework/pyrite-connect/issues
- npm.io page: https://npm.io/package/pyrite-connect

## Dependencies (2)

- [mithril](https://npm.io/package/mithril.md) ^1.1.5
- [@types/mithril](https://npm.io/package/@types/mithril.md) ^1.1.10

## Recent versions

- 0.4.1 (latest) — 2017-10-31
- 0.4.0 — 2017-10-31
- 0.3.1 — 2017-10-30
- 0.3.0 — 2017-10-26
- 0.2.0 — 2017-10-22
- 0.1.1 — 2017-10-22
- 0.1.0 — 2017-10-18
- 0.0.7 — 2017-10-18
- 0.0.6 — 2017-10-18
- 0.0.5 — 2017-10-18
- 0.0.4 — 2017-10-18
- 0.0.3 — 2017-10-18
- 0.0.1 — 2017-10-10

## README

# pyrite-connect

## Install

```
npm install pyrite-connect
```

## Example

```typescript
import { PyriteConnect } from "pyrite-connect";

const connect = new PyriteConnect({
  url: 'http://localhost:8080'
});

connect.getRoutes()
.then((routes) => {
  routes.Users.createUser({
    name: "Foo",
    lastName: "Bar"
  })
  .then((user) => {
    console.log(user);
  });

  routes.Users.getUser(1)
  .then((user) => {
    console.log(user);
  });

  routes.Users.getUsers()
  .then((users) => {
    console.log(users);
  });
});
```

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