🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@triply/ratt

Package Overview
Dependencies
Maintainers
2
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@triply/ratt

RDF all the things

latest
npmnpm
Version
3.4.67
Version published
Maintainers
2
Created
Source

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

FAQs

Package last updated on 10 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts