@@ -5,6 +5,10 @@ module JavaScript where
5the internal data structures of Elm to change and improve with no impact on JS
5the internal data structures of Elm to change and improve with no impact on JS
6integration.
6integration.
8+It is intended to be imported as `import JavaScript as JS`. That way functions
9+like `JS.toInt` convert JavaScript *to* Elm integers and functions like
10+`JS.fromString` gets JavaScript *from* Elm strings.
8# Javascript to Elm
12# Javascript to Elm
9@docs toString, toInt, toFloat, toBool, toList
13@docs toString, toInt, toFloat, toBool, toList