Skip to content

Commit

Permalink
Slight change
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsyuka committed Jan 7, 2018
1 parent 610f5ff commit 1cead20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ npm i osu-bpdpc
and require inside your javascript file

```javascript
const OsuBPDPC = require('osu-bpdpc');
const Beatmap = require('osu-bpdpc');
```

or for specific elements using selective require

```javascript
const {Beatmap} = require('osu-bpdpc');
const {Colour} = require('osu-bpdpc');
```

## License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "osu-bpdpc",
"version": "0.0.1",
"version": "0.0.2",
"description": "Osu beatmap parser, difficulty and performance calculator",
"main": "src/index.js",
"scripts": {
Expand Down
6 changes: 2 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const Beatmap = require('./Beatmap')
const Colour = require('./Colour')

module.exports = {
Beatmap,
Colour
}
module.exports = Beatmap
module.exports.Colour = Colour

0 comments on commit 1cead20

Please sign in to comment.