// package
type: "module"
// preferences
// replacements (1)
This package is no longer necessary. You can check if the current environment is Windows by checking if `process.platform` is equal to "win32".
// example
const isWindows = () =>
process.platform === 'win32';