is-programme-id
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

const isProgrammeID = require('isProgrammeID');
 
isProgrammeID('p050hssx');   // true
isProgrammeID('abc');   // false
 

Readme

Keywords

none

Package Sidebar

Install

npm i is-programme-id

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

1.74 kB

Total Files

5

Last publish

Collaborators

  • simongregory