JSPM

Found 120 results for sampling

inspector-api

A simple node module to access V8 inspector + some tools to export and read the data.

  • v1.4.11
  • 81.87
  • Published

colorthief

Get the dominant color or color palette from an image.

  • v2.6.0
  • 76.26
  • Published

@keystonehq/alias-sampling

A Node.js module for efficient sampling from a discrete probability distribution using the alias method.

    • v0.1.2
    • 74.93
    • Published

    reservoir

    Fast random sampling using reservoir sampling

    • v0.1.2
    • 69.50
    • Published

    @nearform/heap-profiler

    Heap dump, sample profiler and allocation timeline generator for Node.

    • v2.0.0
    • 69.47
    • Published

    @apocentre/alias-sampling

    Library for sampling of random values from a discrete probability distribution, using the Walker-Vose alias method.

    • v0.5.3
    • 62.67
    • Published

    pick-item

    Given an array, pick a random element and return it.

    • v1.0.4
    • 59.30
    • Published

    @cschear/color-thief

    Get the dominant color or color palette from an image.

    • v2.0.4
    • 53.26
    • Published

    color-thief-browser

    Get the dominant color or color palette from an image (Browser version).

    • v2.0.2
    • 53.02
    • Published

    @pioug/colorthief

    Get the dominant color or color palette from an image.

    • v3.0.1
    • 51.05
    • Published

    interp1

    MATLAB-inspired 1-dimensional data interpolation.

    • v1.0.20
    • 50.54
    • Published

    exact-linspace

    MATLAB-inspired function to create linearly spaced vectors.

    • v1.0.15
    • 38.81
    • Published

    @neutrixs/colorthief

    Get the dominant color or color palette from an image.

    • v2.5.0
    • 37.34
    • Published

    xml-introspect

    Analyze large XML files and generate representative samples with identical structure.

      • v0.8.2
      • 37.03
      • Published

      dropdeck-colorthief

      Get the dominant color or color palette from an image.

      • v2.3.2-a
      • 36.31
      • Published

      mirror-mcp

      A Model Context Protocol (MCP) server that provides a reflect tool, enabling LLMs to engage in self-reflection and introspection through recursive questioning and MCP sampling.

      • v0.0.8
      • 36.01
      • Published

      color-thief-jimp

      Get the dominant color or color palette from an image with NodeJs and Jimp.

      • v2.0.2
      • 35.33
      • Published

      unirand

      Random numbers and Distributions generation

      • v2.12.2
      • 35.14
      • Published

      color-extraction

      Gets the dominant color or color palette in the image and the color name in English and Chinese.

        • v1.0.8
        • 31.32
        • Published

        @immobiliarelabs/dats

        Minimalistic zero-dependencies UDP/TCP statsd client for Node.js

        • v5.1.1
        • 29.21
        • Published

        pick-prop

        Given an object, pick a random property and return it.

        • v1.0.3
        • 27.54
        • Published

        calculator-mcp

        A creative calculator MCP server that performs arithmetic calculations and generates storytelling prompts using AI sampling capabilities.

        • v1.0.18
        • 27.34
        • Published

        traceperf

        High-performance function execution tracking and monitoring for Node.js

        • v0.2.1
        • 27.34
        • Published

        jsbayes

        Simple Bayesian Belief Network (BBN) library in JavaScript.

        • v0.1.0
        • 27.26
        • Published

        pick-key

        Given an object, pick a random key and return it.

        • v1.0.3
        • 26.80
        • Published

        grosso-modo

        random number generator for specified confidence interval

        • v4.3.0
        • 25.47
        • Published

        some

        Randomize functions for arrays and strings

        • v0.1.1
        • 24.49
        • Published

        @fastmcp-me/mirror-mcp

        A Model Context Protocol (MCP) server that provides a reflect tool, enabling LLMs to engage in self-reflection and introspection through recursive questioning and MCP sampling.

        • v0.0.1
        • 22.70
        • Published

        bluegen

        blue noise mask generator

        • v0.0.8
        • 21.70
        • Published

        pick-keys

        Given an object, pick a random key and return it.

        • v1.0.3
        • 21.39
        • Published

        random-utility

        Javascript utilities for generating random data.

        • v1.0.1
        • 21.02
        • Published

        panopticon

        Data acquisition for applications that use the cluster module.

        • v0.3.0
        • 20.85
        • Published

        yagnus

        JavaScript stats library containing parallel distributed streaming algorithms to compute important frequently used statistics on big data. The library calculates commonly used univariate, multivariate and discrete statistics. It can be used alone in a webpage, or server-side in nodejs (or both since mss's can be merged), or within a big-data no-sql engines such as hadoop, mongodb.

        • v0.0.17
        • 20.76
        • Published

        pick-items

        Given an array, pick some random elements and return them in a new array.

        • v1.0.4
        • 20.65
        • Published

        pick-props

        Given an object, pick some random properties and return them in an array.

        • v1.0.3
        • 20.62
        • Published

        mcp-sampling-service

        Sampling service and strategy registry for Model Context Protocol

          • v0.6.1
          • 20.23
          • Published

          cvm-lib

          Estimate the number of distinct values in a set using the simple and space-efficient CVM algorithm

          • v0.1.2
          • 19.82
          • Published

          @janishutz/colorthief

          Get the dominant color or color palette from an image. Now including TypeScript

          • v3.0.2
          • 18.22
          • Published

          ember-audio

          An Ember addon that makes working with the Web Audio API super EZ

          • v1.0.0
          • 18.08
          • Published

          jsbayes-lcg

          Simple Linear Conditional Gaussian (LCG) Bayesian Belief Network (BBN) inference library in JavaScript.

          • v0.0.5
          • 17.78
          • Published

          color-thief-make

          Get the dominant color or color palette from an image.

          • v1.0.4
          • 17.60
          • Published

          pendaq

          An interface library to Smart-Tech's PenDAq(r)

          • v0.2.3
          • 17.59
          • Published

          sampling

          linear and nearest-neighbour sampling utility

          • v1.0.1
          • 16.95
          • Published

          cyclon.p2p

          A Javascript implementation of the Cyclon peer sampling protocol

          • v1.0.0
          • 15.98
          • Published

          hemisphere-sample

          Uniform and cosinus hemisphere sampling using hammersley point set

          • v1.0.0
          • 15.53
          • Published

          pointcloud-3d

          Reduce 3d point clouds using voxel grid sampling or random subsampling

          • v1.0.3
          • 14.96
          • Published

          weighted-random-item-sampler

          A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, with replacement allowed between samples. In other words, an item can be sampled more than once. The sampling method utilizes a binary sea

          • v1.0.2
          • 14.94
          • Published

          non-replacement-weighted-random-item-sampler

          A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, mak

          • v1.0.1
          • 14.79
          • Published

          @hugov/metanorm

          random number generator for specified confidence interval

          • v0.5.2
          • 14.71
          • Published

          himm

          Histrogramic In-Motion Mapping module framework for NodeJS.

          • v0.0.2
          • 14.09
          • Published

          hexash

          A hexagonal hashing utility

          • v0.4.0
          • 13.79
          • Published

          rle-sample

          Methods for sampling narrowband level sets

          • v0.0.2
          • 13.72
          • Published

          @deepzua/inspector-api

          A simple node module to access V8 inspector + some tools to export and read the data.

          • v1.5.0
          • 13.62
          • Published

          jsbayes-viz

          Simple Bayesian Belief Network (BBN) visualization and interaction library.

          • v0.0.8
          • 13.31
          • Published

          jshuffle

          Random shuffling and sampling

          • v0.3.0
          • 12.89
          • Published

          getimagepalette

          Get the dominant color or color palette from an image.

          • v2.4.0
          • 12.65
          • Published

          vitter-sample

          An implementation of J. S. Vitter's Method D for sequential random sampling.

          • v2.0.1
          • 12.61
          • Published

          colorthief_dev123

          Get the dominant color or color palette from an image.

          • v2.3.2
          • 12.15
          • Published

          cf-colorthief

          colorthief for cloudflare workers

            • v0.0.3
            • 11.92
            • Published

            poisson-disk

            A fast Poisson Disk sampling algorithm for random 2D points generation

            • v1.1.1
            • 11.79
            • Published

            reservoir-stream

            A streaming interface to reservoir sampling

            • v0.0.2
            • 11.79
            • Published

            alias-sampling

            Library for sampling of random values from a discrete probability distribution, using the Walker-Vose alias method.

            • v0.5.2
            • 11.21
            • Published

            @nitedani/inspector-api

            A simple node module to access V8 inspector + some tools to export and read the data.

            • v0.0.2
            • 11.19
            • Published

            @moezx/colorthief

            Get the dominant color or color palette from an image.

            • v2.3.2-1
            • 11.19
            • Published

            color-extr-thief

            Get the dominant color or color palette from an image.

            • v2.3.4
            • 11.19
            • Published

            range-group

            Data structure to hold a collection of ranges. It has builtin support for numbers, dates, and strings, fast O(log(log(N))) bounds, and provides comprehensive set operations.

            • v1.1.0
            • 11.19
            • Published

            color-thief-next

            Get the dominant color or color palette from an image.

            • v3.0.0
            • 10.10
            • Published

            @os33/color-thief

            Get the dominant color or color palette from an image.

            • v2.0.2
            • 10.09
            • Published

            fukubiki

            sampling without replacement.

            • v1.0.2
            • 10.09
            • Published

            sunzi-color-thief

            Get the dominant color or color palette from an image.

            • v2.3.0
            • 10.07
            • Published

            sample-population

            Returns sample size for population numbers

            • v1.0.4
            • 9.77
            • Published

            @blatayue/color-thief

            Get the dominant color or color palette from an image. Forked by @blatayue, originally by @lokesh

            • v2.0.3
            • 9.44
            • Published

            warden

            A wrapper for Panopticon that makes adding measurements to your codebase simple and efficient.

            • v0.1.1
            • 9.11
            • Published

            pick-pair

            Given an object, pick a random key-value and return it in a new object.

            • v1.0.1
            • 9.11
            • Published

            smorgasbord

            smorgasbord ===========

            • v0.0.1
            • 8.20
            • Published

            colorthief-async

            Get the dominant color or color palette from an image. Forked from color-thief.

            • v2.3.0
            • 7.59
            • Published

            gmat-js

            js library to generate graphically constrained matrices

            • v0.3.0
            • 6.81
            • Published

            get-palette

            Get the dominant color or color palette from an image.

            • v0.1.2
            • 5.75
            • Published

            color-thief-jayrj

            Get the dominant color or color palette from an image.

            • v3.1.1
            • 5.75
            • Published

            square-sample-grid

            creates a square sampling grid that fits within a given polygon

            • v0.1.0
            • 5.55
            • Published

            es6tween-plugin-transform

            CSS and SVG Transform Plugin with CSS Transform Origin support for es6-tween

              • v0.0.9-deprecated
              • 5.42
              • Published

              reservoir-sample-stdin

              Reservoir sample stdin: randomly sample a fixed number of lines

              • v1.0.1
              • 5.42
              • Published

              array-sampling

              some sampling function for array

              • v0.1.0
              • 4.35
              • Published

              random-mock

              Random mock is a random variable generator that can generate multidimensional variables with specified distribution or correlation.

              • v0.1.16
              • 4.20
              • Published

              colorthief-with-memory-get-pixels

              Get the dominant color or color palette from an image. Updated By Beny Peña to use getPixels with memory usage updated. Credits by author Lokesh Dhakar

              • v2.3.3
              • 4.20
              • Published

              pick-pairs

              Given an object, pick some random key-values and return it in a new object.

              • v1.0.1
              • 2.54
              • Published

              better-jsbayes-viz

              Better implementation of vangj's viz library - Simple Bayesian Belief Network (BBN) visualization and interaction library.

              • v0.0.12
              • 2.54
              • Published

              sondaj

              Enables the sampling operation to be executed on an array based on the given element count.

              • v1.0.0
              • 2.46
              • Published

              olor-thief

              Get the dominant color or color palette from an image. Forked by @blatayue, originally by @lokesh

              • v2.0.3
              • 2.46
              • Published

              tsbbn

              TypeScript Bayesian Belief Network using Probability Propagation in Tree Cluster (PPTC) for Exact Inference

              • v0.0.3
              • 0.00
              • Published

              poissonsamples

              A small module to get samples from lambda distribution

                • v1.0.1
                • 0.00
                • Published