npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@itentialopensource/generate-query-jst-from-object

v0.0.7-2023.1.0

Published

Generate a query JST for the object provided

Readme

Generate Query JST from Object

Table of Contents

Overview

This pre-built allows IAP users to pass in an object and generate a JST that queries out individual items in the object which can then be used in IAP as a replacement for query tasks. At the time of publishing, only items in the first level of the object are exposed by the generated JST.

Installation Prerequisites

Users must satisfy the following prerequisites:

  • Itential Automation Platform: ^2022.1

How to Install

To install the pre-built:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Prerequisites section.
  • The pre-built can be installed from within App-Admin_Essential. Simply search for the name of your desired pre-built and click the install button (as shown below).

How to Run

Use the following to run the pre-built:

  1. Once the pre-built is installed as outlined in the How to Install section above, go to Automation Catalog and run the Generate Query JST automation. In the Enter name for the JST field, enter the name for the generated JST and in the Enter the Object, enter the object for which you want to create the JST and click on VIEW JOB.

Here's an example for what a user might send in:

  1. In the job, click on the WORK TASK button that would have popped up, to view the generated JST and copy/save it to a file on your local system.
  1. Now navigate to the workflow where you would like to query the items out of the object, add a JSON Transformation task and import the saved JST into IAP.
  1. Each of the items in original object should be accessible in all of the subsequent tasks of the workflow

Attributes

Attributes for the pre-built are outlined in the following tables.

  1. Input:
  1. Output:

Examples

Examples describing how the pre-built will work for different inputs.

Example 1. Input:

{
  "data": {
    "fruit": "apple",
    "price": "42.2",
    "type": "fruit"
  },
  "jstName": "details"
}

Example 1. Output (If imported into the JST designer, the JST will look like this):

Example 2. Input - Showing support for only the first level of items:

{
  "data": {
    "healthcheckVariables": {
      "numberOfRetries": 10,
      "numberOfRetriesStability": 10,
      "secondsBetweenRetry": 60
    },
    "mode": "Verbose",
    "iosDeviceHostname": "csr100v-03.10.03S",
    "release": "csr1000v-universalk9.03.10.03.S.153-3.S3-ext.SPA.bin"
  },
  "jstName": "device"
}

Example 2. Output (If imported into the JST designer, the JST will look like this):

Additional Information

Please use your Itential Customer Success account if you need support when using this Pre-Built Transformation.