open-index/open-npm huggingface dataset:
npm package: @sourcebin/fonts
Description: A collection of free monospace programming fonts.
Latest version: 0.0.2

# Fonts

A collection of free monospace programming fonts.

## Usage

Simply import `@sourcebin/fonts/dist/index.css` in your site and use one of the fonts listed in `@sourcebin/fonts`. Fonts are loaded through `@font-face` definitions.

```js
import fonts from '@sourcebin/fonts';

function setFont(el, font) {
  if (fonts.includes(font)) {
    el.style.fontFamily = font;
  }

  throw new Error('Invalid font');
}
```
npm package: @sourcebin/linguist
Description: Small package that turns `github/linguist` [languages.yml](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml) into a JSON format that can easily be used.
Latest version: 0.0.3

# linguist

Small package that turns `github/linguist` [languages.yml](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml) into a JSON format that can easily be used.

## Structure

`linguist.json`

```json
{
  "183": {
    "name": "JavaScript",
    "color": "f1e05a",
    "extension": "js",
    "aliases": [
      "js",
      "node"
    ],
    "aceMode": "javascript"
  }
}
```

`languages.json`

```json
{
  "JavaScript": 183
}
```