Skip to content

Latest commit

 

History

History
64 lines (57 loc) · 1.82 KB

File metadata and controls

64 lines (57 loc) · 1.82 KB

Scriptify

Scriptify is a library to evaluate scripts written in JavaScript with ability to add global functions and variables.

What is it for?

This library is designed to execute JavaScript scripts and has the ability to register global functions and constants. It also allows you to configure security for executing scripts.

Other scripts support

Maven

Adding repository:

<repositories>
    <repository>
        <id>densy-repository-snapshots</id>
        <url>https://repo.densy.org/snapshots</url>
    </repository>
</repositories>

For adding a library only:

<dependency>
    <groupId>org.densy.scriptify</groupId>
    <artifactId>core</artifactId>
    <version>1.4.4-SNAPSHOT</version>
</dependency>

For adding a library with JS for Rhino or GraalVM:

<dependency>
    <groupId>org.densy.scriptify</groupId>
    <artifactId>script-js-rhino</artifactId>
    <version>1.4.4-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.densy.scriptify</groupId>
    <artifactId>script-js-graalvm</artifactId>
    <version>1.4.4-SNAPSHOT</version>
</dependency>

Gradle

Adding repository:

maven {
    name "densyRepositorySnapshots"
    url "https://repo.densy.org/snapshots"
}

For adding a library only:

implementation "org.densy.scriptify:core:1.4.4-SNAPSHOT"

For adding a library with JS for Rhino or GraalVM:

implementation "org.densy.scriptify:script-js-rhino:1.4.4-SNAPSHOT"
implementation "org.densy.scriptify:script-js-graalvm:1.4.4-SNAPSHOT"