An open API service indexing awesome lists of open source software.

https://github.com/simongregory/is-programme-id

Tests if a string is in the format of a BBC programme identifier
https://github.com/simongregory/is-programme-id

bbc bbc-programmes nodejs-modules validator

Last synced: 11 months ago
JSON representation

Tests if a string is in the format of a BBC programme identifier

Awesome Lists containing this project

README

          

# is-programme-id

Tests if a string is in the format of a BBC programme identifier. It does not check if it represents a known programme.

## Install

```
$ yarn add is-programme-id
```

## Usage

```js
const isProgrammeID = require('isProgrammeID');

isProgrammeID('p050hssx'); // true
isProgrammeID('abc'); // false

```