Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Small API docs change to avoid confusion. (#317)
Browse files Browse the repository at this point in the history
The API is first assigned to `neutrino`, but the rest of the doc uses `api`, which was seeming to come from nowhere.
  • Loading branch information
trusktr authored and eliperelman committed Sep 15, 2017
1 parent 8237cda commit e994c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ Using `require`:
```js
const { Neutrino } = require('neutrino');

const neutrino = Neutrino(options);
const api = Neutrino(options);
```

Using ES imports:

```js
import { Neutrino } from 'neutrino';

const neutrino = Neutrino(options);
const api = Neutrino(options);
```

## API options
Expand Down

0 comments on commit e994c2d

Please sign in to comment.