1.0.1 • Published 2 years ago

is-replit v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.0.0

2 years ago