diff --git a/README.md b/README.md index 1f1fcb0..1314d86 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 8039c91..55958b4 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/index.js b/src/index.js index 28e204d..87a1ca3 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,5 @@ const Beatmap = require('./Beatmap') const Colour = require('./Colour') -module.exports = { - Beatmap, - Colour -} +module.exports = Beatmap +module.exports.Colour = Colour