atl
v2.0.0
Published
Version At Least x.x.x
Downloads
7
Readme
ATL
Version At Least x.x.x
Usage
npm install atl --save
var atl = require('atl');
//atl('acture version', 'expect at least version');
// Below
atl('1.2.3','1.4.4'); // false
// Ahead
atl('v1.6.6','V1.2.2'); // true
// Same
atl('V1.2.3','v1.2.3'); // true
Benchmark
ATL (After v1.0.1)
if > (true) .................................... 4,752,967 op/s
if = (true) .................................... 4,653,896 op/s
if < (false) ................................... 4,612,560 op/s
Left Shift (ATL v1.0.0)
<< > (true) .................................... 2,562,098 op/s
<< = (true) .................................... 2,473,787 op/s
<< < (false) ................................... 2,458,286 op/s
License
MIT