1.0.4 • Published 5 years ago

node-amf0 v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

node-amf0

Build Status

NPM Version

Introduction

This is an AMF0 library supporting writing and reading for Node.js. It's written to be as accurate as possible to AMF0 in Actionscript. This library also fully supports AMF0 packets.

Installation

npm install node-amf0

Test & Usage

You can find tests in /spec/ using tape.

A simple usage example:

const AMF0 = require("node-amf0")
const amf = new AMF0()

amf.writeData({ id: 1 })

amf.readData() // { id: 1 }

Supported types

TypeWriteReadReason for exclusion
Number-
Boolean-
String-
Object-
MovieclipReserved
Null-
Undefined-
Reference-
ECMA array-
Strict arrayAMF0 standards to ECMA array for writing, supported anyway
Date-
Long string-
UnsupportedNo type in JS
RecordsetReserved
XML documentWho needs XML?
Typed object-
Packet-
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago