0.2.7 • Published 7 years ago

pipescript v0.2.7

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Javascript PipeScript

npm version

Installing

You can either directly download pipescript.js from the github, or you can add it to your project:

npm install pipescript

you can then

import pipescript from 'pipescript';

or if you directly downloaded pipescript.js:

<script type="text/javascript" src="pipescript.js"></script>

Usage

Code:

pipescript.Script('$ > 5').Transform([{t: 123.34, d: 4},{t: 123.35, d: 6}])

Output:

[{t:123.34,d:false},{t:123.35,d:true}]

Building

This package requires golang 1.7. It uses gopherjs to create a javascript version of PipeScript.

To build:

git clone https://github.com/connectordb/pipescript
cd pipescript/main/javascript

go get ./...

npm install
npm run build
npm run test

This will create the pipescript.js file.

You can then try it in the browser by opening tryme.html

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.2.0-a2

8 years ago

0.2.0-a1

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago