iRule LX (Node.js) development environment

Problem this snippet solves:

Write iRulesLX (Node.js) on your own system and save them into some source control repo (git).

How to use this snippet:

Download VSCode (Visual Studio Code) and install

Download Node.js v6.9.1 (used by TMOS 13.1.0 and above)


Create a new folder for your project and run the following npm commands to setup the environment


You will get a file names package.json will all your project details in it.

Code :

npm init
npm install --save-dev typescript
npm install --save-dev jest
npm install --save-dev ts-jest
npm install --save-dev nock
npm install --save-dev debug
npm install --save-dev @types/jest
npm install --save-dev @types/node

Tested this on version:

13.0
Published May 24, 2019
Version 1.0

Was this article helpful?

No CommentsBe the first to comment