@triply/ratt
TypeScript icon, indicating that this package has built-in type declarations

3.4.67 • Public • Published

RATT

RDF all the things

RDF all the things

For users of RATT

Installing

You can install ratt as a dependency of your typescript or javascript project using yarn:

yarn add @triply/ratt

Running

You can execute your ratt script like this:

$ yarn exec ratt <compiled ratt-file.json>

For developers of RATT

Installation

$ yarn install
$ yarn run build

Running the RATT CLI locally

$ node ./lib/runner/cli.js <ratt-file>

To publish a new version:

  • Run npm version [patch|minor|major]
yarn's new version plugin does more than we want. We just want to modify the package.json file. I.e., just use npm
- The CI will automatically publish the NPM package

Increasing memory usage

To increase the memory usage of RATT, export the following environment variable before calling the RATT runner:

export NODE_OPTIONS=--max-old-space-size=8192  # increase max memory to 8GB

/@triply/ratt/

    Package Sidebar

    Install

    npm i @triply/ratt

    Weekly Downloads

    0

    Version

    3.4.67

    License

    UNLICENSED

    Unpacked Size

    12 MB

    Total Files

    663

    Last publish

    Collaborators

    • laurens.rietveld
    • gerwinbosch