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

stonkpunk

npm

Packages

Current Co-maintainers

Former Co-maintainers

131 packages

all-the-species

information about 1 million species, common names for 80K species, icons and categories for species. animals, plants, bacteria, etc.

ascii-data-image

produces ascii images/animations from 2D datasets [2d float arrays] - eg raw pixel data, histograms, signed distance functions etc - for use in CLI / terminal / console applications

ascii-raytracer

Explore infinite 3d worlds from the comfort of your terminal

backtester-simple

simple experimental back-testing util for quant trading

barycentric-coordinates

get barycentric coordinates for triangle and tetrahedron, convert to/from cartesian coordinates, interpolate vertex normals

bayes-tokens

get word counts / frequencies on a per-speaker or per-category basis, or as an aggregate

bitey

bitey the dog skull. public domain triangle mesh in the same format as 'bunny'

black-scholes-probability

Get the probability that the price of an asset will be above the strike price of an option at the time of expiration according to the Black-Scholes model.

blob-detection-mser

NPM version of Sylvain Foucher's Javascript implementation of Maximally Stable Extremal Regions (MSER) algorithm

boids-3d

simple 3d boids class

breeden-litzenberger

Breeden-Litzenberger formula with central differences

bvh-aabbs

bounding volume hierarchy for axis-aligned bounding boxes

candles-align

align 2 or more sets of OHLCV candles by date string or unix epoch seconds; discard candles without a matching partner

candles-convert

yet another util to convert the time-duration of OHLCV candles. results are either naively merged with n-candle chunks or can be time-aligned to the clock so that, ex: 15min candles start at 10:00, 10:15 etc

candles-sample-aapl

sample OHLCV candles for AAPL from late 2022

candles-sample-vix

sample OHLCV candles for VVIX from late 2022

conditional-entropy

utils for calculating conditional entropy given an array of objects with similar fields

dl-list-of-urls

request a list of urls, optionally load each result into jquery object

draw-pixel-text

print basic text directly onto a flat pixel buffer

ffmpeg-audio-chop

extract pcm audio data from a video based on start/end time, including spectrum and pitch

fibonacci-fit

find best-fit fibonacci price retracement levels [or arbitrary levels] for an array of prices

file-age-string

get a human-friendly string describing the age of a file [or time since last modified]

flatten-objects-array

flatten a list of objects into a flat typed / untyped array, or an untyped array of arrays, then un-flatten the result back into the original objects again.

float-array-to-string

convert/encode a float array as a hex string and back again.

fwd-server-websocket

http server that routes requested urls via websocket to client(s) that generates responses to the original requests