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

sborniktestov-embed

v1.0.0

Published

Embed interactive quizzes from sborniktestov.ru into any website. Lightweight loader with 20+ customizable parameters: colors, fonts, border radius, and more.

Downloads

98

Readme

sborniktestov-embed

Embed interactive quizzes and tests from sborniktestov.ru into any website. 15,000+ quizzes: personality tests, knowledge checks, professional assessments, and more.

Lightweight loader — automatically creates responsive iframes with auto-resize via postMessage.

Install

npm install sborniktestov-embed

Or load directly via CDN:

<script async src="https://sborniktestov.ru/embed/loader.js"></script>

Quick Start

<div class="st-embed" data-quiz-id="12345">
  <a href="https://sborniktestov.ru">Sbornik Testov</a>
</div>
<script async src="https://sborniktestov.ru/embed/loader.js"></script>

Replace 12345 with your quiz ID. Find it in the quiz URL: sborniktestov.ru/quiz/12345

Customization

All parameters are passed as data- attributes on the container div:

<div class="st-embed"
     data-quiz-id="12345"
     data-comments="1"
     data-header="0"
     data-color-accent="4CAF50"
     data-color-bg="f5f5f5"
     data-font-question="18"
     data-radius="12">
  <a href="https://sborniktestov.ru">Sbornik Testov</a>
</div>

Display Options

| Attribute | Values | Default | Description | |---|---|---|---| | data-quiz-id | number | — | Quiz ID (required) | | data-comments | 1 / 0 | 0 | Show comments section | | data-related | 1 / 0 | 0 | Show related quizzes | | data-header | 1 / 0 | 1 | Show quiz title | | data-desc | 1 / 0 | 1 | Show quiz description | | data-stats | 1 / 0 | 1 | Show quiz statistics | | data-width | CSS value | 100% | iframe width | | data-min-height | px | 400 | Minimum iframe height |

Colors (hex without #)

| Attribute | Default | Description | |---|---|---| | data-color-accent | ffcc00 | Accent / button background | | data-color-bg | ffffff | Quiz background | | data-color-title | — | Title color | | data-color-text | 333333 | Text color | | data-color-btn-text | — | Button text color | | data-color-selected-bg | — | Selected answer background | | data-color-progress-bg | — | Progress bar background | | data-color-progress-fill | — | Progress bar fill | | data-color-border | — | Answer border | | data-color-border-selected | — | Selected answer border | | data-color-btn-prev | — | "Back" button color | | data-color-hover | — | Answer hover background |

Typography & Layout

| Attribute | Description | |---|---| | data-font-title | Title font size (px) | | data-font-desc | Description font size (px) | | data-font-stats | Stats font size (px) | | data-font-question | Question font size (px) | | data-font-answer | Answer font size (px) | | data-radius | Border radius (px) | | data-padding | Inner padding (px) | | data-max-width | Max content width (px) |

CMS Plugins

Ready-made plugins for popular CMS platforms:

  • WordPress — shortcode [sborniktestov id="12345"]
  • Joomla — shortcode {sborniktestov id=12345}
  • Moodle — auto-embed filter
  • Drupal — module

Embed Configurator

Use the visual embed configurator to customize colors, fonts, and layout with a live preview, then copy the generated code.

How It Works

The loader scans the page for div.st-embed[data-quiz-id] elements, builds an iframe URL with all parameters, and listens for postMessage events to auto-resize the iframe height as the user progresses through the quiz.

License

MIT — sborniktestov.ru