Skip to content

Commit c13b6b6

Browse files
committed
updated version / readme
1 parent 48b8937 commit c13b6b6

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
A simple library that wraps around [immutable](https://facebook.github.io/immutable-js). Tired of doing `Map.get('item')`? With proxy support, you can do `Map.item`, like accessing regular objects!
44

5-
This is just the start. Only `Map`s are supported right now.
5+
This is just the start. Only `Map` is supported right now. You can import any features that Immutable exposes through this package.
6+
7+
###Install
8+
9+
```
10+
npm install immutable-proxy --save
11+
```
612

713
###Example
814

@@ -11,4 +17,6 @@ import Immutable from 'immutable-proxy'
1117

1218
const data = Immutable.Map({first: 'yo'})
1319
expect(data.first).to.equal('yo')
20+
21+
//data.get('first') still works
1422
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "immutable-proxy",
3-
"version": "1.0.0",
3+
"version": "0.0.1",
44
"description": "access immutable values more easily",
55
"main": "index.js",
66
"peerDependencies": {

0 commit comments

Comments
 (0)