# srvup

> srvup api client

Latest version **0.1.11** (published 2018-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install srvup
pnpm add srvup
yarn add srvup
bun add srvup
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2018-09-10 |
| First published | 2018-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 9 |
| Unpacked size | 117 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Justin Mitchel |
| Maintainers | srvup |
| Keywords | srvup, srvup-api, srvup ui elements, srvup api |

## Links

- npm: https://www.npmjs.com/package/srvup
- Repository: https://github.com/srvup/srvup.js
- Homepage: https://github.com/srvup/srvup.js#readme
- Issues: https://github.com/srvup/srvup.js/issues
- npm.io page: https://npm.io/package/srvup

## Dependencies (9)

- [moment](https://npm.io/package/moment.md) ^2.22.2
- [remark](https://npm.io/package/remark.md) ^9.0.0
- [jwt-decode](https://npm.io/package/jwt-decode.md) ^2.2.0
- [remark-react](https://npm.io/package/remark-react.md) ^4.0.3
- [react-markdown](https://npm.io/package/react-markdown.md) ^3.4.1
- [remark-iframes](https://npm.io/package/remark-iframes.md) ^3.0.4
- [emoji-dictionary](https://npm.io/package/emoji-dictionary.md) ^1.0.9
- [remark-shortcodes](https://npm.io/package/remark-shortcodes.md) ^0.2.1
- [react-syntax-highlighter](https://npm.io/package/react-syntax-highlighter.md) ^8.0.1

## Recent versions

- 0.1.11 (latest) — 2018-09-10
- 0.1.1 — 2018-09-09
- 0.1.0 — 2018-09-09
- 0.0.775 — 2018-08-29
- 0.0.774 — 2018-08-20
- 0.0.773 — 2018-08-20
- 0.0.772 — 2018-08-20
- 0.0.771 — 2018-08-20
- 0.0.770 — 2018-08-20
- 0.0.769 — 2018-08-20
- 0.0.768 — 2018-08-20
- 0.0.767 — 2018-08-20
- 0.0.766 — 2018-08-19
- 0.0.765 — 2018-08-19
- 0.0.764 — 2018-08-18
- … 18 more at https://npm.io/package/srvup/versions

## README

# srvup.js

The official srvup javascript client. Useful for API calls and UI elements.

[![NPM](https://img.shields.io/npm/v/srvup.svg)](https://www.npmjs.com/package/srvup) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save srvup
```
## [Docs](https://docs.srvup.com)

## Basic Usage
Read the [docs](https://docs.srvup.com) for more.

#### `GET` requests
```jsx
import React, { Component } from 'react'

import srvup from 'srvup'
srvup.api(API_PUBLIC_KEY)

class Example extends Component {
    handleResponse = (responseData, status) =>{
        console.log(responseData, status)
        // set your state here
    }


    componentDidMount(){
        const includeUserAuthToken = false
        srvup.get('/posts/', this.handleResponse, includeUserAuthToken)
    }

    render () {
        return (
          <h1>Srvup Client<h1>
        )
    }
}
```


## License

MIT © [srvup](https://github.com/srvup)

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