RATT
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