Skip to content

Commit

Permalink
add using example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed May 5, 2017
1 parent 94ab24c commit 7da0b38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -11,6 +11,16 @@ the code is a messy state machine based on douglas crockford's

thanks everybody

## using
```js
const plist = `{
"~f" = "moveWordForward:",
"~b" = "moveWordBackward:"
}`
const {parse} = require('nextstep-plist')
parse(plist) // {'~f': 'moveWordForward:', '~b': 'moveWordBackward:'}
```

## todo
* clean up this code
* support `<binary>` syntax
Expand Down

0 comments on commit 7da0b38

Please sign in to comment.