Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ erl_crash.dump
*.ez

## VSCode
.vscode
.vscode
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Erlpack
# Erlpack But Better

Erlpack is a fast encoder and decoder for the Erlang Term Format (version 131) for Python and JavaScript.
It appears that the main project has been abandoned, so this is a fork that will be actively maintained.

## Installing
`npm i gingkathfox/erlpack`

# JavaScript

Expand Down Expand Up @@ -152,5 +156,4 @@ packed = pack(u)

# Go (golang)

Discord has moved away from Go internally and so we do not maintain a version of erlpack in Go ourselves. However, all is
not lost!, please check out: https://github.com/JakeMakesStuff/go-erlpack
Discord has moved away from Go internally and so we do not maintain a version of erlpack in Go ourselves. However, all is not lost!, please check out: https://github.com/JakeMakesStuff/go-erlpack
3 changes: 0 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
'include_dirs': [
'<!(node -e \"require(\'nan\')\")',
],
'cflags_cc': [
'-std=c++11',
],
'sources': [
'js/encoder.h',
'js/erlpack.cc',
Expand Down
2 changes: 1 addition & 1 deletion js/erlpack.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ NAN_MODULE_INIT(Init) {
// target->Set(Nan::New("unpack").ToLocalChecked(), Nan::New<FunctionTemplate>(Unpack)->GetFunction());
}

NODE_MODULE(erlpack, Init);
NODE_MODULE(erlpack, Init)
Loading