Skip to content

Latest commit

 

History

History
109 lines (73 loc) · 2.26 KB

NodeNamespace.md

File metadata and controls

109 lines (73 loc) · 2.26 KB

Node.js Namespaces

Judgment calls on what to bind, what not to bind, why and how.

✋ Buffer

Since Elm does not have support for binary, using the methods on Buffer is not currently useful or advisable. So limited support for interacting with Buffers has been included as a part of Chunk. Complete

👎 C/C++ Addons

No plans to support this at the moment.

👍 Child Processes

TODO this is useful

👍 Cluster

TODO this is useful

🤘 Console

Logging is all wrappers on standards, so this should be written in pure Elm, based on Process.Streams.

👍 Crypto

TODO this is useful

👎 Debugger

Theoretically no runtime errors will exist. This might be handy once Elm has source maps

👍 DNS

TODO In progress

👎 Domain

Deprecated, will not bind

👎 Errors

Philosophical difference from Elm, no introducing new ways to throw and handle errors

👍 Events

This is a base class, helpers bindings are complete

👍 File System

Complete

👎 Globals

Specific to Node, will not bind

👍 HTTP

TODO May be doable in pure Elm, but impractical. In progress

👍 HTTPS

TODO Baking into Http under Http.TLS In progress

👎 Modules

Specific to Node, will not bind

👍 Net

May or may not end up including Http. Complete

👎 OS

Does not look particularly useful beyond overlap with Process

🤘 Path

No need to bind, this can be written in pure Elm

👍 Process

Complete

😟 Punycode

Not sure if there is value here

🤘 Query Strings

No need to bind, this can be written in pure Elm

👎 Readline

Weird, just weird

👎 REPL

Specific to Node, will not bind

👍 Stream

Complete

👎 String Decoder

Overlaps with Chunk, complete

👎 Timers

Elm has this one covered

👎 TLS/SSL

May or may not end up bound up in Network, low level is too cumbersome to be of value right now

👎 TTY

Not useful enough

😟 UDP/Datagram

Not sure if there is value here

🤘 URL

No need to bind, this can be written in pure Elm

👎 Utilities

Specific to Node, will not bind

👎 V8

Unstable

👎 VM

Basically eval, disallowed

👍 ZLIB

Complete this is useful for so many reasons