Module
Clipboardy
- Package
- purescript-clipboardy
- Repository
- hrajchert/purescript-clipboardy
This library provides bindings for clipboardy, which allows you to manage the clipboard in Mac, Windows and Linux machines using Node.
You can use the async version using Aff
main :: Effect Unit
main =
launchAff_ do
-- copy
write "🦄"
-- paste
val <- read
liftEffect $ log val
Or the sync version using Effect
main :: Effect Unit
main = do
-- copy
writeSync "🦄"
-- paste
val <- readSync
log val
- Modules
- Clipboardy