Ecosyste.ms: Awesome
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: 10 days ago
JSON representation
Tests if a string is in the format of a BBC programme identifier
- Host: GitHub
- URL: https://github.com/simongregory/is-programme-id
- Owner: simongregory
- License: isc
- Created: 2017-05-26T11:36:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T17:14:54.000Z (about 5 years ago)
- Last Synced: 2024-11-06T00:45:46.453Z (about 2 months ago)
- Topics: bbc, bbc-programmes, nodejs-modules, validator
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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```