Module

Npm.PackageJson

Package
purescript-npm-package-json
Repository
maxdeviant/purescript-npm-package-json

#PackageJsonContent Source

type PackageJsonContent = { author :: Maybe Author, bin :: Maybe Bin, contributors :: Maybe (Array Person), description :: Maybe String, homepage :: Maybe String, keywords :: Maybe (Array String), name :: String, private :: Maybe Boolean, version :: String }

#fromNameAndVersion Source

fromNameAndVersion :: String -> String -> PackageJson

Creates a new PackageJson from a name and a version.

#Person Source

data Person

Constructors

Instances