π Release v1.0.0
First time for this project release, support CDN import, and ES6 import.
Installation
CDN
<script src="ttps://unpkg.com/musicgenres-json@latest/dist/index.js"></script>
NPM
npm install musicgenres-json --save
# Or use Yarn
yarn add musicgenres-json
Import and Usage
Browser
<script>
const genres = new MusicGenres()
console.log(genres.get())
</script>
ES6
import MusicGenres from 'musicgenres-json'
const genres = new MusicGenres()
console.log(genres.get())