1.0.4-40 • Published 10 years ago

node-etp v1.0.4-40

Weekly downloads
148
License
-
Repository
bitbucket
Last release
10 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

10 years ago

1.0.4-39

10 years ago

1.0.4-38

10 years ago

1.0.4-37

10 years ago

1.0.4-36

10 years ago

1.0.4-35

10 years ago

1.0.4-34

10 years ago

1.0.4-33

10 years ago

1.0.4-32

10 years ago

1.0.4-31

10 years ago

1.0.4-30

10 years ago

1.0.4-29

10 years ago

1.0.4-28

10 years ago

1.0.4-27

10 years ago

1.0.4-26

10 years ago

1.0.4-24

10 years ago

1.0.4-23

10 years ago

1.0.4-22

10 years ago

1.0.4-21

10 years ago

1.0.4-20

10 years ago

1.0.4-19

10 years ago

1.0.4-18

10 years ago

1.0.4-16

10 years ago

1.0.4-15

10 years ago

1.0.4-14

10 years ago

1.0.4-13

10 years ago

1.0.4-12

10 years ago

1.0.4-11

10 years ago

1.0.4-3

10 years ago

1.0.4-2

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.9.0

10 years ago