Module

Node.Platform

This module defines data type for the different platforms supported by Node.js

#toString

toString :: Platform -> String

The String representation for a platform, recognised by Node.js.

#fromString

fromString :: String -> Maybe Platform

Attempt to parse a Platform value from a string, in the format returned by Node.js' process.platform.

Modules