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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@instructure/quiz-interactions

v22.17.0

Published

A React UI component Library for quiz interaction types.

Readme


id: quiz-interactions

Instructure Quiz Interactions [WIP]

A React UI component library currently under development by Instructure Inc.

Installation

Instructure Quiz Interactions prefers to use pnpm for javascript dependency management. Before going further, make sure you have pnpm installed and available on your $PATH!

pnpm add quiz-interactions

Development

Copy the repo:

git clone ssh://<username>@gerrit.instructure.com:29418/quiz_interactions

Run

pnpm

Additionally, we currently have peer dependencies with quiz_interactions and you may need to manually run pnpm adds on those.

Current peer dependencies:

pnpm add react-dnd@^2.2.4

And then run

pnpm run start:watch

to get an http server up and running, then go to http://localhost:8080 to pull up the demo and development site. You will need to be running the following versions of node/pnpm/npm for the library to work correctly:

pnpm version == 9.x.x
npm version == 3.10.x
node version == 6.3.x

If things aren't going your way and you just aren't sure why, we have a handy tool to oulet your frustration. Run the following command:

./bin/table-flip

and watch as your node_modules gets blown and a clean slate is established. If that fails, try something else?

Publishing

See docs/06-releases.md

Testing

To run tests:

pnpm test

or to have tests running while in active development:

pnpm run test:watch

Linting

Run pnpm run lint to lint the src dir.

We are using ESLint.

As a convenience, you can install a pre-push hook for git to prevent pushing eslint failing code to gerrit.

cp hooks/pre-push.example .git/hooks/pre-push

You might need to globally install a few eslint packages, depending on your environment. Here's a start:

npm install -g eslint babel-eslint eslint-plugin-{format-message,react,mocha,standard,promise} eslint-config-standard{,-react}

NOTE: Lint errors will fail the build, so be sure to lint.

Debugging

To debug tests, place a debugger inside your test. Run pnpm run test:debug to bring up Karma's test runner. Debug in the browser as you normally would using the browser's developer tools.

Usage

import React from 'react'
import Edit from 'instructure-qi/lib/components/essay/Edit'

export default MyTabList = function () {
    return <Edit />
}

For the default theme you'll also need to include the 'Lato' font in your application.

Customization

Coming soon. For now see the ApplyTheme component docs.

Browser Support

  • Internet Explorer 11 and Edge
  • Chrome, Safari, Firefox (last two versions)

Contribute

See the contributing guidelines for details.

License

MIT