# cflare

> easy cloudflare management

Latest version **1.0.5** (published 2017-06-11) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2017-06-11 |
| First published | 2016-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lossless GmbH |
| Maintainers | lossless, philkunz |
| Keywords | Push.Rocks, cloudflare |

## Links

- npm: https://www.npmjs.com/package/cflare
- Repository: https://gitlab.com/pushrocks/cflare
- Homepage: https://gitlab.com/pushrocks/cflare#readme
- Issues: https://gitlab.com/pushrocks/cflare/issues
- npm.io page: https://npm.io/package/cflare

## Dependencies (7)

- [smartq](https://npm.io/package/smartq.md) ^1.1.1
- [tsclass](https://npm.io/package/tsclass.md) ^1.0.12
- [beautylog](https://npm.io/package/beautylog.md) ^6.1.10
- [smartdelay](https://npm.io/package/smartdelay.md) ^1.0.3
- [smartstring](https://npm.io/package/smartstring.md) ^2.0.24
- [smartrequest](https://npm.io/package/smartrequest.md) ^1.0.6
- [typings-global](https://npm.io/package/typings-global.md) ^1.0.17

## Recent versions

- 1.0.5 (latest) — 2017-06-11
- 1.0.4 — 2017-06-09
- 1.0.3 — 2017-06-05
- 1.0.2 — 2017-06-04
- 0.0.19 — 2017-02-12
- 0.0.18 — 2017-01-29
- 0.0.17 — 2017-01-29
- 0.0.11 — 2017-01-22
- 0.0.10 — 2016-07-31
- 0.0.9 — 2016-06-22
- 0.0.8 — 2016-06-22
- 0.0.7 — 2016-06-22
- 0.0.6 — 2016-06-21
- 0.0.5 — 2016-06-21
- 0.0.4 — 2016-06-21
- … 3 more at https://npm.io/package/cflare/versions

## README

# cflare
easy cloudflare management

## Availabililty
[![npm](https://mojoio.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/cflare)
[![git](https://mojoio.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/mojoio/cflare)
[![git](https://mojoio.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/mojoio/cflare)
[![docs](https://mojoio.gitlab.io/assets/repo-button-docs.svg)](https://mojoio.gitlab.io/cflare/)

## Status for master
[![build status](https://GitLab.com/mojoio/cflare/badges/master/build.svg)](https://GitLab.com/mojoio/cflare/commits/master)
[![coverage report](https://GitLab.com/mojoio/cflare/badges/master/coverage.svg)](https://GitLab.com/mojoio/cflare/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/cflare.svg)](https://www.npmjs.com/package/cflare)
[![Dependency Status](https://david-dm.org/mojoio/cflare.svg)](https://david-dm.org/mojoio/cflare)
[![bitHound Dependencies](https://www.bithound.io/github/mojoio/cflare/badges/dependencies.svg)](https://www.bithound.io/github/mojoio/cflare/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/mojoio/cflare/badges/code.svg)](https://www.bithound.io/github/mojoio/cflare)
[![TypeScript](https://img.shields.io/badge/TypeScript-2.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![node](https://img.shields.io/badge/node->=%206.x.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

## Usage
Use TypeScript for best in class instellisense.

```javascript
import * as cflare from 'cflare'

let myCflareAccount = new cflare.CflareAccount()
testCflareAccount.auth({
    email: 'someuser@example.com',
    key: 'someLongApiKey'
})

let myAsyncCflareManagement = async () => {
    // get things
    let myZones = await myCflareAccount.listZones() // zones are fully typed
    let myIdForADomain = await myCflareAccount.getZoneId('example.com') // type number
    let myRecordsForADomain = await myCflareAccount.listRecords('example.com') // records are fully typed

    // set things
    myCflareAccount.updateRecord(...)
    myCflareAccount.createRecord(...)
    myCflareAccount.deleteRecord(...)
}

```

For further information read the linked docs at the top of this README.

> MIT licensed | **&copy;** [Lossless GmbH](https://lossless.gmbh)

[![repo-footer](https://mojoio.gitlab.io/assets/repo-footer.svg)](https://mojo.io)

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