1.0.4-40 • Published 11 years ago

node-etp v1.0.4-40

Weekly downloads
148
License
-
Repository
bitbucket
Last release
11 years ago

#Node ETP

This is a javascript serialization implementation for the Energistics Transfer protocol (ETP).

ETP is a proposed specification for streaming real-time data from oil field drilling and production facilities. It uses websockets for transport and Apache Avro for serialization. This node package contains:

  1. A set of routines for serializing and deserialing binary Avro messages in javascript.
  2. An array of the all of the ETP protocol message schemas in javascript form (i.e. a parsed version of the JSON message schemas) which can be passed to the Avro serializer to parse an incoming message.

#Prerequisites

  • Install Node from nodejs.org - v0.10 min required.

#Installation

To install from npm

npm install node-etp

To install from source

Clone the node folder from bitbucket.

c:\energistics\src\node-etp git clone https://bitbucket.org/energistics/node-etp.git

Install into your project directory c:\ralfdemo>npm install c:\energistics\src\node-etp

#Using the library.

Create test.js

var avro = require("node-etp").Avro;
var schemas = require("node-etp").Schemas;

console.dir(schemas);

Run the file under node

c:\ralfdemo>node test
{ namespace: 'energistics',
  protocol: 'exp',
  version: '',
  types:
   [ { type: 'record',
       namespace: 'Energistics.Datatypes',
       name: 'ArrayOfDouble',
       fields: [Object],
       fullName: 'Energistics.Datatypes.ArrayOfDouble',
       depends: [] },
     { type: 'record',
       namespace: 'Energistics.Datatypes',
       name: 'DateTime',
       fields: [Object],
       fullName: 'Energistics.Datatypes.DateTime',
       depends: [] },
     { type: 'record',
       namespace: 'Energistics.Datatypes',
       name: 'DataValue',
       fields: [Object],
       fullName: 'Energistics.Datatypes.DataValue',
       depends: [Object] },
etc...
1.0.4-40

11 years ago

1.0.4-39

11 years ago

1.0.4-38

11 years ago

1.0.4-37

11 years ago

1.0.4-36

11 years ago

1.0.4-35

11 years ago

1.0.4-34

11 years ago

1.0.4-33

11 years ago

1.0.4-32

11 years ago

1.0.4-31

11 years ago

1.0.4-30

11 years ago

1.0.4-29

11 years ago

1.0.4-28

11 years ago

1.0.4-27

11 years ago

1.0.4-26

11 years ago

1.0.4-24

11 years ago

1.0.4-23

11 years ago

1.0.4-22

11 years ago

1.0.4-21

11 years ago

1.0.4-20

11 years ago

1.0.4-19

11 years ago

1.0.4-18

11 years ago

1.0.4-16

11 years ago

1.0.4-15

11 years ago

1.0.4-14

11 years ago

1.0.4-13

11 years ago

1.0.4-12

11 years ago

1.0.4-11

11 years ago

1.0.4-3

11 years ago

1.0.4-2

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.9.0

11 years ago