Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including amf with all npm packages installed. Try it out:

var amf = require("amf")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

amf v0.1.0

"Action Message Format" read() and write() functions for Buffers


"Action Message Format" read() and write() functions for Buffers

Build Status

This module reads and writes AMF (Action Message Format, commonly used with Adobe products) data types with Buffer instances.


Install through npm:

$ npm install amf


var amf = require('amf');

// this is an AMF-encoded Object...
var data = new Buffer('03 00 03 66 6f 6f 02 00 03 62 61 72 00 00 09'.replace(/ /g, ''), 'hex');

// read the Object out from the Buffer
var obj =, 0);

// { foo: 'bar' }


Coming soon!


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free