Socket
Book a DemoInstallSign in
Socket
s

soldair

npm

Packages

Current Co-maintainers

Former Co-maintainers

430 packages

2fa-server

a server for implementing 2fa for actions

alpine-heapdump

this has a tarball of a precompiled binary of heapdump to be used in alpine linux

arduino-preferences

parse and return object of global arduino preferences

avg-stream

average the last n samples and emit the result as a stream

batch-flood-stream

emits batches of data events. grouped based on rate they are emitted and a max batch size.

batching-fs-writestream

writes files faster by writing data to disk in chunks rather then one syscall for each call to write as in `fs.createWriteStream` except buffers chunks of data while other writes are pending to batch them to dis

batch-update-nginx-etag

set file mtime to content based etag value with nginx-etag

binarysearch

pure js binary search for sorted javascript arrays||array like objects. returns any || last || first || closest matched key for value, or slice between 2 values where values need not exist.

block-reader

read specific chunks of files by offset

buffer-compare

Lexicographically compare two buffers.

buffer-indexof

find the index of a buffer in a buffer

buffer-split

split a buffer by another buffer. think String.split()

canvasutil

Pixel transformations and processing for canvas

changes-feed-diff

generate diffs of old documents to new in changes from a couch style changes feed

chash

hash a value to a consistent number within a specified range. in goes key out goes number that's it.

colormatch

A module for extracting colors from images and for generating lookup ranges that accept rgb and outputs ranges of rgb values for db lookups. Right now it uses ImageMagik in a child process to reduce the colorspace and return the top colors of an image. Al

concurrent-couch-follower

a couch follower wrapper that you can use to be sure you don't miss any documents even if you process them asynchronously.

concurrent-seq-file

makes it safe to work on multiple jobs identified by a sequence at the same time.

cpu-percent

use procfs to return % cpu use for the whole system

deep-property-counter

traverse and object. count all of its properties. generate a key to count map. useful for tracking memory leaks

emitter-trace

log all events from this emitter and emitters it emits

engine.io-options-from-url

engine.io-cleint's options / defaults are seriously broken for cross domain.

etcetera

read service config from etcd

etc-services

Parse `/etc/services` and export a mapping of protocols to ports

file-should-change

check to see if a file has changed since another file has been changed. useful for refreshing cache files.