is-lrc

0.1.1 • Public • Published

is-lrc Build Status

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

Package Sidebar

Install

npm i is-lrc

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • chentsulin