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

ask-kit

v0.0.7

Published

A comprehensive gamification engine for Telegram mini-apps that enables rapid development of engaging social applications.

Downloads

23

Readme

ASK Kit (AppSolution Social Kit)

npm version npm downloads npm downloads total TypeScript Tests Coverage

A comprehensive npm package containing reusable modules, templates, guides, and scripts for rapid development of Telegram mini-apps with gamification features.

Overview

ASK Kit is a unified npm package that accelerates development of Telegram mini-apps by providing ready-to-use modules for gamification, social features, and engagement mechanics. Contains reusable code, templates, development guides, and automation scripts to help you launch your MVP in 30 days.

Package Contents

Reusable Modules

  • Quest and task management systems
  • Streak tracking and rewards
  • Referral system components
  • Internal currency and economy
  • Notification services
  • Analytics and metrics
  • User engagement features

Templates & Guides

  • Project structure templates
  • Development best practices
  • Integration guides
  • Configuration examples

Development Tools

  • Build and deployment scripts
  • Type definitions
  • Utility functions
  • Testing frameworks

Installation

npm

npm install ask-kit

yarn

yarn add ask-kit

pnpm

pnpm add ask-kit

Package Info:

  • 📦 Size: 5.7 kB (gzipped)
  • 📁 Unpacked: 16.5 kB
  • 🔧 TypeScript: Built-in type declarations
  • 📋 Files: 13 total files
  • 🌐 npm: ask-kit

Quick Start

TypeScript/ES Modules

import { dump, VERSION } from 'ask-kit'

console.log('ASK Kit Version:', VERSION)
dump() // Example utility function

CommonJS

const { dump, VERSION } = require('ask-kit')

console.log('ASK Kit Version:', VERSION)
dump() // Example utility function

Real-world Usage

In a Telegram Mini App

import { dump, VERSION } from 'ask-kit'

// Initialize your Telegram mini app
function initTelegramApp() {
  console.log(`Powered by ASK Kit v${VERSION}`)
  
  // Use ASK Kit utilities
  dump() // Debug information
  
  // Your app logic here
  setupGameification()
  initializeRewards()
}

// Call on app start
initTelegramApp()

In a Node.js Project

const { dump, VERSION } = require('ask-kit')

console.log('Starting server with ASK Kit', VERSION)
dump()

// Your server logic

Complete Examples

See the examples/ directory for complete TypeScript examples:

Testing the Package

# Clone the repository to test examples
git clone https://github.com/socaseinpoint/ask-kit.git
cd ask-kit

# Test ESM example
cd examples/basic-usage
npm install
npm start

# Test CommonJS example  
cd ../commonjs-usage
npm install
npm start

Technical Features

  • Scalable modular architecture
  • Full TypeScript support
  • Cross-platform compatibility
  • Real-time features
  • High-load ready components
  • Automated testing and quality control

Tests

Comprehensive test coverage with Vitest - modern, fast testing framework.

npm test              # Run all tests
npm run test:coverage # Run with coverage
npm run test:ui       # Open test UI
  • 9 tests with 100% coverage
  • Automated testing on every commit
  • CI/CD integration in release workflow

API Reference

Current Exports (v0.0.6)

// Available imports
import { 
  dump,     // Debug utility function
  VERSION   // Package version string
} from 'ask-kit'

// Usage
dump()              // Logs: "I have no mouth but I must scream"
console.log(VERSION) // Logs: "0.0.6"

Coming Soon

Future versions will include:

  • QuestSystem - Quest and task management
  • RewardSystem - Rewards and achievements
  • Analytics - User engagement tracking
  • ReferralSystem - Referral program management
  • NotificationSystem - Push notifications
  • And more gamification modules!

Documentation

Browser Support

ASK Kit supports all modern browsers and Node.js environments:

  • Node.js: 16+
  • Browsers: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
  • TypeScript: 4.3+ (built-in types)
  • Module Systems: ESM, CommonJS, UMD

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make changes and test: npm run prepublishOnly
  4. Commit and push: git commit -m 'Add feature'
  5. Open a Pull Request
# Development setup
git clone https://github.com/socaseinpoint/ask-kit.git
cd ask-kit && npm install && npm run dev

Contact

License

Proprietary. Contact for licensing options.