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

realiqtest

v1.1.0

Published

Real IQ Test - Accurate online IQ testing platform with scientifically validated questions. Measure your intelligence quotient with free cognitive ability tests.

Readme

Real IQ Test

Accurate online IQ testing platform with scientifically validated questions. Measure your intelligence quotient with free cognitive ability tests.

About

Real IQ Test provides a free, scientifically designed IQ test that measures your cognitive abilities across multiple domains including logical reasoning, pattern recognition, numerical ability, verbal comprehension, and spatial awareness.

Whether you're curious about your IQ score or preparing for a professional cognitive assessment, Real IQ Test offers a reliable starting point with instant results and detailed analysis.

Features

  • Scientifically validated IQ questions
  • Instant IQ score calculation
  • Detailed cognitive analysis report
  • Free online IQ test — no registration required
  • Multiple question categories: numerical, logical, pattern, verbal, spatial
  • Three difficulty levels: easy, medium, hard
  • Compare your score with global averages
  • Mobile-friendly test interface
  • Available in multiple languages

Installation

npm install realiqtest

Quick Start

const realiq = require('realiqtest');

// Get platform info
console.log(realiq.getInfo());

// Get a random sample question
const question = realiq.getSampleQuestion();
console.log(question.question);
console.log(question.options);

API Reference

getInfo()

Returns detailed information about the Real IQ Test platform, including features, categories, and total available questions.

getSampleQuestion()

Returns a random sample IQ test question with multiple choice options, explanation, category, and difficulty level.

getAllQuestions()

Returns all available sample IQ test questions (10 questions across 5 categories).

getQuestionsByCategory(category)

Returns questions filtered by cognitive category.

  • category (string) — 'numerical', 'logical', 'pattern', 'verbal', or 'spatial'
const logicQuestions = realiq.getQuestionsByCategory('logical');

getQuestionsByDifficulty(difficulty)

Returns questions filtered by difficulty level.

  • difficulty (string) — 'easy', 'medium', or 'hard'
const hardQuestions = realiq.getQuestionsByDifficulty('hard');

calculateScore(correct, total)

Calculates an estimated IQ score based on the number of correct answers.

  • correct (number) — Number of correct answers
  • total (number) — Total number of questions
  • Returns an object with estimatedIQ, category, description, percentage, and more.
const result = realiq.calculateScore(8, 10);
console.log(result);
// {
//   estimatedIQ: 118,
//   category: 'High Average',
//   description: 'Above average cognitive ability, top 25% of the population',
//   correct: 8,
//   total: 10,
//   percentage: 80,
//   fullTestUrl: 'https://realiqtest.net'
// }

getIQScale()

Returns the full IQ classification table with ranges, labels, and descriptions.

const scale = realiq.getIQScale();
// [
//   { range: '145 - 160+', label: 'Genius or near genius', description: '...' },
//   { range: '130 - 144', label: 'Very Superior', description: '...' },
//   ...
// ]

checkAnswer(questionId, selectedOption)

Checks whether an answer is correct for a specific question.

  • questionId (number) — Question ID (1-10)
  • selectedOption (number) — Selected option index (0-3)
const result = realiq.checkAnswer(1, 1);
console.log(result);
// { questionId: 1, correct: true, yourAnswer: '30', correctAnswer: '30', explanation: '...' }

createMiniQuiz(count)

Creates a mini IQ quiz with random questions and a submit function.

  • count (number) — Number of questions (1-10, default 5)
const quiz = realiq.createMiniQuiz(5);

// Display questions
quiz.questions.forEach((q, i) => {
  console.log(`${i + 1}. ${q.question}`);
  q.options.forEach((opt, j) => console.log(`   ${j}) ${opt}`));
});

// Submit answers (array of option indices)
const results = quiz.submit([1, 0, 2, 2, 1]);
console.log('Your estimated IQ:', results.score.estimatedIQ);
console.log('Category:', results.score.category);

IQ Classification Scale

| IQ Range | Classification | |----------|---------------| | 145+ | Genius or near genius | | 130-144 | Very Superior | | 120-129 | Superior | | 110-119 | High Average | | 90-109 | Average | | 80-89 | Low Average | | 70-79 | Borderline | | Below 70 | Below Average |

Question Categories

| Category | Description | |----------|-------------| | Numerical | Number sequences, arithmetic reasoning, mathematical patterns | | Logical | Deductive reasoning, syllogisms, conditional logic | | Pattern | Visual and abstract pattern recognition, series completion | | Verbal | Vocabulary, word relationships, verbal analogies | | Spatial | Shapes, 3D visualization, spatial orientation |

Take the Full Real IQ Test

This npm package provides sample questions and basic scoring. For a complete and scientifically accurate IQ assessment with a detailed cognitive report, visit:

https://realiqtest.net — Real IQ Test

License

MIT