Module

Node.Platform

Package
purescript-node-process
Repository
purescript-node/purescript-node-process

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

#toString Source

toString :: Platform -> String

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

#fromString Source

fromString :: String -> Maybe Platform

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