1.0.1 • Published 1 year ago

is-replit v1.0.1

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

1 year ago

1.0.0

1 year ago