# amflib

> AMF library for NodeJS

Latest version **1.0.1** (published 2013-07-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install amflib
pnpm add amflib
yarn add amflib
bun add amflib
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2013-07-03 |
| First published | 2013-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 136 |
| Author | Tim Whitlock |
| Maintainers | timwhitlock |
| Keywords | flash, AMF |

## Links

- npm: https://www.npmjs.com/package/amflib
- Repository: http://github.com/timwhitlock/node-amf
- npm.io page: https://npm.io/package/amflib

## Recent versions

- 1.0.1 (latest) — 2013-07-03
- 1.0.0 — 2013-03-06

## README

# node-amf 

AMF module for NodeJS by [Tim Whitlock](http://twitter.com/timwhitlock)

## About

A pure JavaScript implementation of [AMF](http://en.wikipedia.org/wiki/Action_Message_Format) designed for NodeJS.
Can be used to create an AMF web services gateway over HTTP allowing a Flash Player client to communicate with a remote server.

Run "node test.js" to perform a simple serialize & deserialize test. Check that the output matches the variables show in the script.

To test a simple AMF gateway: configure and run the HTTP server in examples/http-server, then configure and run the Flash client in example/http-client.

Also in this project is some experimental work implementing RTMP. This should probably be split into its own project.


## Status

* The AMF library is largely complete and working, but not thoroughly tested.
* The RTMP work is experimental and not ready for use.


## Known issues

NodeJS has a habit of changing and depreciating function names. 
If you get missing function errors, then you need to upgrade NodeJS.
See http://github.com/timwhitlock/node-amf/commit/62a85b8531307c86ff27daa21e48012a7558552a

AMF0 is only partially supported, due to it being depreciated. AMF3 should be used by all clients.


## License

node-amf is dual licensed under the MIT and GPL licenses, See LICENSE.

---
_Source: https://npm.io/package/amflib · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
