From 1cead20a2054bd52ac0731514e98f6a6227c6151 Mon Sep 17 00:00:00 2001 From: "[Hidekazu]" Date: Sun, 7 Jan 2018 06:35:59 -0600 Subject: [PATCH] Slight change --- README.md | 4 ++-- package.json | 2 +- src/index.js | 6 ++---- 3 files changed, 5 insertions(+), 7 deletions(-) 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