Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #143

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 0.12
- node # latest stable Node.js release

sudo: false

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ Citation.find("that term in section 5362(5) of title 31, United States Code.", {
}]
```

### `Citation.fromId(id, options)`

Returns the same information as `Citation.find`, but instead of passing a textual citation, an identifier
in the format of the `id` given in the output of `Citation.find` (see above) is given.

## HTTP API

Start the API on a given port (defaults to 3000):
Expand Down
Loading