Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

podcast-categories

bcomnes1.5kMIT2.0.0

An export of all iTunes Podcast Connect categories

apple, categories, category, itunes, podcast

readme

podcast-categories stability

npm version build status downloads js-standard-style

Exports and object of Apple Podcasts Connect categories.

Installation

$ npm install podcast-categories

Usage

const podcastCategories = require('podcast-categories')
const get = require('lodash.get')

function isValidCategory(category, subcategory) {
  return !!get(podcastCategories, `${category}.${subcategory}`)
}

API

Literally exports an object of all valid Apple podcast categories.

// https://help.apple.com/itc/podcasts_connect/?lang=en#/itc9267a2f12

module.exports = {
  'Arts': {
    'Design': true,
    'Fashion & Beauty': true,
    'Food': true,
    'Literature': true,
    'Performing Arts': true,
    'Visual Arts': true
  },
  'Business': {
    'Business News': true,
    'Careers': true,
    'Investing': true,
    'Management & Marketing': true,
    'Shopping': true
  },
  'Comedy': {},
  'Education': {
    'Educational Technology': true,
    'Higher Education': true,
    'K-12': true,
    'Language Courses': true,
    'Training': true
  },
  'Games & Hobbies': {
    'Automotive': true,
    'Aviation': true,
    'Hobbies': true,
    'Other Games': true,
    'Video Games': true
  },
  'Government & Organizations': {
    'Local': true,
    'National': true,
    'Non-Profit': true,
    'Regional': true
  },
  'Health': {
    'Alternative Health': true,
    'Fitness & Nutrition': true,
    'Self-Help': true,
    'Sexuality': true
  },
  'Kids & Family': {},
  'Music': {},
  'News & Politics': {},
  'Religion & Spirituality': {
    'Buddhism': true,
    'Christianity': true,
    'Hinduism': true,
    'Islam': true,
    'Judaism': true,
    'Other': true,
    'Spirituality': true
  },
  'Science & Medicine': {
    'Medicine': true,
    'Natural Sciences': true,
    'Social Sciences': true
  },
  'Society & Culture': {
    'History': true,
    'Personal Journals': true,
    'Philosophy': true,
    'Places & Travel': true
  },
  'Sports & Recreation': {
    'Amateur': true,
    'College & High School': true,
    'Outdoor': true,
    'Professional': true
  },
  'Technology': {
    'Gadgets': true,
    'Tech News': true,
    'Podcasting': true,
    'Software How-To': true
  },
  'TV & Film': {}
}

License

MIT

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Generated by auto-changelog.

v2.0.0 - 2020-02-19

Merged

  • Update standard to the latest version 🚀 #13
  • chore(package): update dependency-check to version 4.1.0 #11
  • Update snazzy to the latest version 🚀 #7
  • Update standard to the latest version 🚀 #8
  • Update dependencies to enable Greenkeeper 🌴 #6

Fixed

  • chore(package): update dependency-check to version 4.1.0 #10
  • chore(package): update standard to version 13.1.0 #9

Commits

  • Breaking change: chore: Update categories to the August 9, 2019 Enhanced Categories. ba9bbaf
  • standard fixes 3f65d43
  • Travis file 7bcc152

v1.0.0 - 2018-06-01

Commits