# 🌕 Mercury Examples & Tutorials

This is a package with examples and tutorials for the Mercury live coding language that can be included via npm to easily access the files from a json file. This Package does not generate any sound or visuals. This is used in the [Mercury](https://github.com/tmhglnd/mercury) environment and the [Mercury-Playground](https://github.com/tmhglnd/mercury-playground), the browser based version of the environment.

## 📟 Mercury? 

**Mercury is a minimal and human-readable language for the live coding of algorithmic electronic music.** 

[**🚀 Go to the full Mercury Project**](https://github.com/tmhglnd/mercury)

[**👾 Start sketching in the browser:**](https://mercury.timohoogland.com)

[**🙏 Support Mercury by becoming a Patron**](https://www.patreon.com/bePatron?u=9649817) 

[**💬 Join the Discord Community!**](https://discord.gg/vt59NYU)

## Install

```
$ npm install mercury-examples
```

```js
const Examples = require('mercury-examples').Examples;
const Tutorials = require('mercury-examples').Tutorials;
```

## 📝 Contribute

Contributions to the Mercury examples and tutorials are much appreciated in whatever form they come!

```
$ git clone http://github.com/tmhglnd/mercury-examples
$ cd mercury-examples
$ npm install
```

<!-- ## Include in html

Include latest or specific version of bundled minified es5 through url in index.html 

```html
<script src="https://unpkg.com/mercury-lang@1.0.0/build/mercury.es5.min.js"></script>
```

Use in a html `<script>` like so:

```js
// entire package
const Mercury = MercuryParser;
``` -->

# License

The GNU GPL-v.3