1.0.1 • Published 3 years ago

is-replit v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

is-replit

Detect if your code is currently running on Replit

import isReplit from "is-replit";

// true if ran in Replit, false otherwise
console.log(isReplit());

process.env.REPLIT = 1; // Manually set REPLIT

// true
console.log(isReplit());
1.0.1

3 years ago

1.0.0

3 years ago