Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siddhi-io/siddhi-script-js

Extension that allows to include JavaScript functions within the Siddhi Query Language
https://github.com/siddhi-io/siddhi-script-js

extension javascript js script siddhi utility

Last synced: 2 months ago
JSON representation

Extension that allows to include JavaScript functions within the Siddhi Query Language

Awesome Lists containing this project

README

        

Siddhi Script JS
===================

[![Jenkins Build Status](https://wso2.org/jenkins/job/siddhi/job/siddhi-script-js/badge/icon)](https://wso2.org/jenkins/job/siddhi/job/siddhi-script-js/)
[![GitHub Release](https://img.shields.io/github/release/siddhi-io/siddhi-script-js.svg)](https://github.com/siddhi-io/siddhi-script-js/releases)
[![GitHub Release Date](https://img.shields.io/github/release-date/siddhi-io/siddhi-script-js.svg)](https://github.com/siddhi-io/siddhi-script-js/releases)
[![GitHub Open Issues](https://img.shields.io/github/issues-raw/siddhi-io/siddhi-script-js.svg)](https://github.com/siddhi-io/siddhi-script-js/issues)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-script-js.svg)](https://github.com/siddhi-io/siddhi-script-js/commits/master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

The **siddhi-script-js extension** is an extension to Siddhi that allows writing user defined JavaScript functions within Siddhi Applications to process events.

For information on Siddhi and it's features refer Siddhi Documentation.

## Download

* Versions 5.x and above with group id `io.siddhi.extension.*` from here.
* Versions 4.x and lower with group id `org.wso2.extension.siddhi.*` from here.

## Latest API Docs

Latest API Docs is 5.0.4.

## Features

* eval *(Function)*



This extension evaluates a given string and return the output according to the user specified data type.



* javascript *(Script)*


This extension allows you to include JavaScript functions within the Siddhi Query Language.


## Dependencies

There are no other dependencies needed for this extension.

## Installation

For installing this extension on various siddhi execution environments refer Siddhi documentation section on adding extensions.

## Support and Contribution

* We encourage users to ask questions and get support via StackOverflow, make sure to add the `siddhi` tag to the issue for better response.

* If you find any issues related to the extension please report them on the issue tracker.

* For production support and other contribution related information refer Siddhi Community documentation.