Skip to content

πŸ”– Release v1.0.0

Compare
Choose a tag to compare
@nekomeowww nekomeowww released this 08 Sep 12:52
· 6 commits to master since this release

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())