New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

analytics-kit

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics-kit

Минималистичная TypeScript библиотека для статистического анализа

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

analytics-kit

Минималистичная TypeScript библиотека для статистического анализа.

Установка

npm install analytics-kit

Быстрый старт

import Analytics from 'analytics-kit';

// Комплексный анализ
const result = Analytics.analyze(data, {
    outliers: true, // Обнаружение выбросов
    normality: true, // Тест на нормальность
});

Типы

interface AnalyzeOptions {
    useInterpolation?: boolean;
    outliers?:
        | boolean
        | {
              method?: 'iqr' | 'zscore' | 'modified-zscore';
              threshold?: number;
          };
    normality?:
        | boolean
        | {
              threshold?: number;
              thresholdKurtosis?: number;
          };
}

API

Базовая статистика

mean median mode variance standardDeviation percentile quartiles iqr

Выбросы

zScoreOutliers iqrOutliers modifiedZScore

Распределение

skewness kurtosis testNormality

Тренды

percentageChange changeSign trend correlation

Утилиты

normalize standardize isValidArray

Комплексный анализ

analyze - полный статистический анализ с опциями

Лицензия

ISC

Keywords

typescript

FAQs

Package last updated on 12 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts