JSPM

Found 117 results for sampling

inspector-api

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

  • v1.4.11
  • 80.54
  • Published

colorthief

Get the dominant color or color palette from an image.

  • v2.6.0
  • 76.03
  • Published

@keystonehq/alias-sampling

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

    • v0.1.2
    • 70.35
    • Published

    @nearform/heap-profiler

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

    • v2.0.0
    • 69.93
    • Published

    reservoir

    Fast random sampling using reservoir sampling

    • v0.1.2
    • 68.00
    • Published

    @apocentre/alias-sampling

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

    • v0.5.3
    • 61.18
    • Published

    pick-item

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

    • v1.0.4
    • 59.67
    • Published

    @cschear/color-thief

    Get the dominant color or color palette from an image.

    • v2.0.4
    • 53.32
    • Published

    @pioug/colorthief

    Get the dominant color or color palette from an image.

    • v3.0.1
    • 53.08
    • Published

    color-thief-browser

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

    • v2.0.2
    • 52.75
    • Published

    interp1

    MATLAB-inspired 1-dimensional data interpolation.

    • v1.0.20
    • 48.24
    • Published

    dropdeck-colorthief

    Get the dominant color or color palette from an image.

    • v2.3.2-a
    • 38.19
    • Published

    calculator-mcp

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

    • v1.0.18
    • 37.30
    • Published

    @neutrixs/colorthief

    Get the dominant color or color palette from an image.

    • v2.5.0
    • 34.31
    • Published

    @immobiliarelabs/dats

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

    • v5.1.1
    • 32.46
    • Published

    pick-key

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

    • v1.0.3
    • 32.11
    • Published

    pick-prop

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

    • v1.0.3
    • 31.22
    • Published

    grosso-modo

    random number generator for specified confidence interval

    • v4.3.0
    • 31.10
    • Published

    unirand

    Random numbers and Distributions generation

    • v2.12.2
    • 30.09
    • Published

    exact-linspace

    MATLAB-inspired function to create linearly spaced vectors.

    • v1.0.15
    • 29.82
    • Published

    traceperf

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

    • v0.2.1
    • 27.67
    • Published

    color-thief-jimp

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

    • v2.0.2
    • 26.78
    • Published

    jsbayes

    Simple Bayesian Belief Network (BBN) library in JavaScript.

    • v0.1.0
    • 26.45
    • 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.1
    • 23.69
    • Published

    cvm-lib

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

    • v0.1.2
    • 22.86
    • Published

    some

    Randomize functions for arrays and strings

    • v0.1.1
    • 22.48
    • Published

    mcp-sampling-service

    Sampling service and strategy registry for Model Context Protocol

      • v0.6.1
      • 20.33
      • Published

      cyclon.p2p

      A Javascript implementation of the Cyclon peer sampling protocol

      • v1.0.0
      • 18.22
      • Published

      ember-audio

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

      • v1.0.0
      • 18.20
      • Published

      color-thief-make

      Get the dominant color or color palette from an image.

      • v1.0.4
      • 17.00
      • Published

      pick-keys

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

      • v1.0.3
      • 16.57
      • Published

      random-utility

      Javascript utilities for generating random data.

      • v1.0.1
      • 16.37
      • Published

      color-extraction

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

        • v1.0.8
        • 15.90
        • Published

        pointcloud-3d

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

        • v1.0.3
        • 15.89
        • Published

        pick-items

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

        • v1.0.4
        • 15.80
        • Published

        jsbayes-lcg

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

        • v0.0.5
        • 15.66
        • Published

        pick-props

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

        • v1.0.3
        • 15.34
        • Published

        cf-colorthief

        colorthief for cloudflare workers

          • v0.0.3
          • 14.88
          • 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.88
          • Published

          pendaq

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

          • v0.2.3
          • 14.87
          • Published

          panopticon

          Data acquisition for applications that use the cluster module.

          • v0.3.0
          • 14.77
          • Published

          colorthief_dev123

          Get the dominant color or color palette from an image.

          • v2.3.2
          • 13.30
          • 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
          • 13.22
          • Published

          alias-sampling

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

          • v0.5.2
          • 12.95
          • Published

          hemisphere-sample

          Uniform and cosinus hemisphere sampling using hammersley point set

          • v1.0.0
          • 12.91
          • Published

          color-thief-next

          Get the dominant color or color palette from an image.

          • v3.0.0
          • 12.49
          • Published

          better-jsbayes-viz

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

          • v0.0.12
          • 12.11
          • Published

          es6tween-plugin-transform

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

            • v0.0.9-deprecated
            • 11.69
            • Published

            @blatayue/color-thief

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

            • v2.0.3
            • 11.61
            • Published

            @os33/color-thief

            Get the dominant color or color palette from an image.

            • v2.0.2
            • 11.29
            • Published

            @deepzua/inspector-api

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

            • v1.5.0
            • 10.86
            • Published

            @moezx/colorthief

            Get the dominant color or color palette from an image.

            • v2.3.2-1
            • 10.60
            • Published

            jsbayes-viz

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

            • v0.0.8
            • 10.28
            • Published

            bluegen

            blue noise mask generator

            • v0.0.8
            • 10.28
            • Published

            array-sampling

            some sampling function for array

            • v0.1.0
            • 9.33
            • Published

            getimagepalette

            Get the dominant color or color palette from an image.

            • v2.4.0
            • 9.19
            • Published

            himm

            Histrogramic In-Motion Mapping module framework for NodeJS.

            • v0.0.2
            • 8.71
            • Published

            sampling

            linear and nearest-neighbour sampling utility

            • v1.0.1
            • 8.71
            • Published

            @nitedani/inspector-api

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

            • v0.0.2
            • 8.62
            • Published

            reservoir-stream

            A streaming interface to reservoir sampling

            • v0.0.2
            • 8.36
            • Published

            colorthief-async

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

            • v2.3.0
            • 8.36
            • 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
            • 8.36
            • Published

            @hugov/metanorm

            random number generator for specified confidence interval

            • v0.5.2
            • 7.80
            • Published

            pick-pair

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

            • v1.0.1
            • 7.56
            • Published

            fukubiki

            sampling without replacement.

            • v1.0.2
            • 7.27
            • Published

            square-sample-grid

            creates a square sampling grid that fits within a given polygon

            • v0.1.0
            • 6.63
            • Published

            poissonsamples

            A small module to get samples from lambda distribution

              • v1.0.1
              • 5.83
              • Published

              color-thief-jayrj

              Get the dominant color or color palette from an image.

              • v3.1.1
              • 5.68
              • Published

              get-palette

              Get the dominant color or color palette from an image.

              • v0.1.2
              • 5.68
              • Published

              warden

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

              • v0.1.1
              • 5.53
              • Published

              jshuffle

              Random shuffling and sampling

              • v0.3.0
              • 4.41
              • Published

              pick-pairs

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

              • v1.0.1
              • 4.35
              • Published

              color-extr-thief

              Get the dominant color or color palette from an image.

              • v2.3.4
              • 4.31
              • Published

              rle-sample

              Methods for sampling narrowband level sets

              • v0.0.2
              • 4.31
              • Published

              poisson-disk

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

              • v1.1.1
              • 4.18
              • Published

              sample-population

              Returns sample size for population numbers

              • v1.0.4
              • 2.69
              • Published

              sunzi-color-thief

              Get the dominant color or color palette from an image.

              • v2.3.0
              • 2.55
              • 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
              • 2.52
              • Published

              @janishutz/colorthief

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

              • v3.0.2
              • 2.52
              • Published

              olor-thief

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

              • v2.0.3
              • 2.45
              • 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
              • 2.45
              • Published

              random-mock

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

              • v0.1.16
              • 2.45
              • Published

              smorgasbord

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

              • v0.0.1
              • 2.35
              • Published

              hexash

              A hexagonal hashing utility

              • v0.4.0
              • 0.00
              • Published

              sondaj

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

              • v1.0.0
              • 0.00
              • Published

              reservoir-sample-stdin

              Reservoir sample stdin: randomly sample a fixed number of lines

              • v1.0.1
              • 0.00
              • Published

              tsbbn

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

              • v0.0.3
              • 0.00
              • Published

              gmat-js

              js library to generate graphically constrained matrices

              • v0.3.0
              • 0.00
              • Published

              vitter-sample

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

              • v2.0.1
              • 0.00
              • Published