is-travis
v3.0.0
Published
Check if your code is running on Travis
Downloads
456
Maintainers
Readme
is-travis
Check if your code is running on Travis
Install
npm install is-travis
Usage
import isTravis from 'is-travis';
// On your local computer
console.log(isTravis);
//=> false
// On Travis
console.log(isTravis);
//=> true