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

@citolab/tspci-qti3

v3.1.0

Published

create a QTI 3 package zip for a PCI

Readme

@citolab/tspci-qti3

Builds a QTI 3 package zip that contains:

  • 1 assessment item with identifier ITM-PCI, with your PCI at its default settings
  • 1 assessment test with a single testPart, section, and the item reference
  • a QTI 3 manifest

The item is written by @citolab/pci-authoring, as the PCI Authoring Profile says an authoring system writes it: every setting as a data- attribute, the fixed media hidden in the markup (data-pci-media), further modules as qti-interaction-modules, and the scoring of config.tspci.scoring. It is the same item the tspci dev page downloads as "QTI 3 item" for the settings and media you choose there, which is why the dev page shows no separate button for this target. A required markup slot or setting cannot be filled from the command line: the build warns, and an authoring system asks the author.

Usage

  1. Add the target:
npm run tspci -- add --target qti3
  1. Build the QTI 3 package:
tspci --target qti3

The zip is created in qti3-dist/ and includes your PCI bundle from dist/index.js (or package.json main).

A CycloneDX SBOM of the bundle is included in the package as resources/pci/sbom.cdx.json, listed as a file of the PCI resource in the manifest. QTI has no resource type for a bill of materials, and a resource that nothing depends on is what manifest driven tooling drops first, so it is a <file> of the existing PCI resource. A copy is also written next to the zip as qti3-pci-<typeIdentifier>_<version>.sbom.cdx.json for your own technical documentation.

Use --no-include-sbom to keep it out of the package, or --no-sbom to skip generating one. See @citolab/tspci for the configuration.

Authoring systems

The item declares the response your PCI fills, from config.tspci.response in package.json ({ "cardinality": "single", "baseType": "integer" }, or a record with fields); without it, single / string. The authoring descriptor the build writes (dist/authoring.json) is included as resources/pci/authoring.json, a file of the PCI resource like the SBOM, so an authoring system that imports the package can offer typed settings for your config.json properties and set up scoring. Use --no-authoring to keep it out. See @citolab/tspci and the AUTHORING.md of your project.