UNPKG
@railzai/bottleneck
Version:
beta (2.19.7-beta.2)
latest (2.19.7)
2.19.7
2.19.7-beta.2
2.19.7-beta.1
2.19.6
Distributed task scheduler and rate limiter
github.com/SGrondin/bottleneck
SGrondin/bottleneck
@railzai/bottleneck
/
test
/
bottleneck.js
8 lines
(7 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
if
(process.env.
BUILD
===
'es5'
) {
module
.exports =
require
(
'../es5.js'
) }
else
if
(process.env.
BUILD
===
'light'
) {
module
.exports =
require
(
'../light.js'
) }
else
{
module
.exports =
require
(
'../lib/index.js'
) }