Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 55c49d0

Browse files
author
Dorus Janssens
committed
Easy example
1 parent 83b526f commit 55c49d0

File tree

3 files changed

+45
-5
lines changed

3 files changed

+45
-5
lines changed

package-lock.json

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
{
2-
"name": "rxjs-demo",
2+
"name": "code",
33
"version": "1.0.0",
4-
"description": "",
5-
"main": "index.js",
4+
"description": "PCP Reactive Project",
5+
"main": "./src/index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
9-
"author": "",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/code-inflation/pcp-reactive.git"
12+
},
13+
"keywords": [
14+
"PCP",
15+
"ReactiveX",
16+
"RxJS"
17+
],
18+
"author": "Dorus Janssens, Robin Bürgi",
1019
"license": "ISC",
20+
"bugs": {
21+
"url": "https://github.com/code-inflation/pcp-reactive/issues"
22+
},
23+
"homepage": "https://github.com/code-inflation/pcp-reactive#readme",
1124
"dependencies": {
12-
"rxjs": "^5.5.2"
25+
"rxjs": "^5.5.5"
1326
}
1427
}

src/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var Rx = require('rxjs/Rx');
2+
3+
test$ = Rx.Observable.of(1,2,3);
4+
5+
test$.subscribe(x => console.log(x))
6+

0 commit comments

Comments
 (0)