0.1.1 • Published 9 years ago
is-lrc v0.1.1
is-lrc
Check if a string is LRC format
Install
$ npm install is-lrc
Usage
var isLrc = require('is-lrc');
isLrc('[01:15.30]Some more lyrics ...');
//=> true
isLrc('[ti:Gangnam Style]');
//=> true
isLrc('<div></div>');
//=> false
isLrc('↑ ↑ ↓ ↓ ← → ← → B A');
//=> false
License
MIT © C. T. Lin