Socket
Book a DemoInstallSign in
Socket

amf

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amf

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

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

node-amf

"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.

Installation

Install through npm:

$ npm install amf

Example

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 = amf.read(data, 0);

console.log(obj);
// { foo: 'bar' }

API

Coming soon!

FAQs

Package last updated on 24 Feb 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts