node
node copied to clipboard
Implementations of the node.js APIs for use with AssemblyScript.
Hey! I'm still working on the `as-buffer` implementation, but when I'm done, I'll submit a pull request!
The original command does not run because options should come after the entry file: ``` SYNTAX asc [entryFile ...] [options] ```
Another stab at a base64 implementation provided by https://github.com/lemire/fastbase64/blob/master/src/chromiumbase64.c Not sure what the right way to use this software is, but we should probably use their license, and their tests...
Todo: - [x] Implement decodeUnsafe - [ ] Test decodeUnsafe - [ ] Implement encode - [ ] Implement byteLength - [ ] implement stringLength
Let me start by saying I realize how entirely dangerous this is. Currently there's no good ergonomic way to do this, and in order to implement the backbone of the...
Notes: - this function works really nicely with `memory.compare()` - ~Currently, the compiler doesn't like using `static` functions as function parameters (Will open an issue in the AssemblyScript repo)~ ```...
Implements `Buffer.from(value: T)` and a few other convenience functions. There are lots of obvious problems with not having the function overloads, but there are different paths we can take. For...
~Current problems:~ - ~No good logging for that extend `ArrayBufferView` (opened issue with as-pect https://github.com/jtenner/as-pect/issues/132 )~ - ~No good way of comparing things that extend `ArrayBufferView` (opened issue with as-pect...