Skip to content

Commit

Permalink
rename module
Browse files Browse the repository at this point in the history
  • Loading branch information
mstdokumaci committed Sep 16, 2016
1 parent aa273e7 commit 5afaf20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
@@ -1,26 +1,26 @@
# ploy-observe-now
# observe-now
<!-- VDOC.badges travis; standard; npm; coveralls -->
<!-- DON'T EDIT THIS SECTION (including comments), INSTEAD RE-RUN `vdoc` TO UPDATE -->
[![Build Status](https://travis-ci.org/vigour-io/ploy-observe-now.svg?branch=master)](https://travis-ci.org/vigour-io/ploy-observe-now)
[![Build Status](https://travis-ci.org/vigour-io/observe-now.svg?branch=master)](https://travis-ci.org/vigour-io/observe-now)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![npm version](https://badge.fury.io/js/ploy-observe-now.svg)](https://badge.fury.io/js/ploy-observe-now)
[![Coverage Status](https://coveralls.io/repos/github/vigour-io/ploy-observe-now/badge.svg?branch=master)](https://coveralls.io/github/vigour-io/ploy-observe-now?branch=master)
[![npm version](https://badge.fury.io/js/observe-now.svg)](https://badge.fury.io/js/observe-now)
[![Coverage Status](https://coveralls.io/repos/github/vigour-io/observe-now/badge.svg?branch=master)](https://coveralls.io/github/vigour-io/observe-now?branch=master)
<!-- VDOC END -->

GET only Now API client, streams the results as events.

## Installing

```bash
npm install ploy-observe-now --save
npm install observe-now --save
```

## Usage

It's a single method with 3 parameters. Returns a vigour-observable.

```js
const observeNow = require('ploy-observe-now')
const observeNow = require('observe-now')

const request = observeNow('deployments', 'API-TOKEN', 'deployments.*')

Expand Down
8 changes: 4 additions & 4 deletions package.json
@@ -1,5 +1,5 @@
{
"name": "ploy-observe-now",
"name": "observe-now",
"version": "0.1.0",
"description": "Now API Client in form of viogur-observable",
"main": "./lib/index.js",
Expand All @@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vigour-io/ploy-observe-now.git"
"url": "git+https://github.com/vigour-io/observe-now.git"
},
"keywords": [
"ploy",
Expand All @@ -23,9 +23,9 @@
"author": "Mustafa Dokumacı",
"license": "ISC",
"bugs": {
"url": "https://github.com/vigour-io/ploy-observe-now/issues"
"url": "https://github.com/vigour-io/observe-now/issues"
},
"homepage": "https://github.com/vigour-io/ploy-observe-now#readme",
"homepage": "https://github.com/vigour-io/observe-now#readme",
"dependencies": {
"JSONStream": "^1.0.0",
"vigour-observable": "^3.0.0"
Expand Down

0 comments on commit 5afaf20

Please sign in to comment.