Javascript PipeScript
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
;
or if you directly downloaded pipescript.js
:
Usage
Code:
pipescript
Output:
t:12334d:falset:12335d: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/pipescriptcd pipescript/main/javascript go get ./... npm installnpm run buildnpm run test
This will create the pipescript.js
file.
You can then try it in the browser by opening tryme.html