open-index/open-npm huggingface dataset:
npm package: @skolplattformen/curriculum
Description: Swedish curriculum codes to plain text
Author: Johan Öbrink
Latest version: 1.4.2

# curriculum

Translations of curriculum codes to clear text descriptions

## Installing

`npm i -S @skolplattformen/embedded-api` or `yarn add @skolplattformen/embedded-api`

## Calling

```javascript
import parse from '@skolplattformen/curriculum'

// Swedish
parse('MU', 'sv') // { code: 'MU', category: '', name: 'Musik' }
parse('M1SP', 'sv') // { code: 'M1SP', category: 'Moderna språk, elevens val', name: 'Spanska' }
parse('M2TY', 'sv') // { code: 'M2TY', category: 'Moderna språk, språkval', name: 'Tyska' }
parse('MLSMI', 'sv') // { code: 'M2TY', category: 'Modersmål', name: 'Samiska' }

// English
parse('MU', 'en') // { code: 'MU', category: '', name: 'Music' }
```