Browse by Author: soldair

Page 1

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

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 buffe

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

canvasutil Pixel transformations and processing for canvas

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. Alterntives with node-canvas or an all js jpeg decoder could be used. The latterwith the same js color quantization algorthims that would be needed to reduce the colorspace of the former.'s options / defaults are seriously broken for cross domain.

find-git-repos this walks a path or paths, finds all of the git repositories, and their origins

floody combines floods of small stream writes while not delaying or buffering writes when not flooded. buffers only up to configure ammount and only keeps buffer around for at most configured interval.

forkfriend dead simple worker child process manager. respawn children. load balance work amongst children.

forwardho forward log data from a bunch of watched log files over the network with a simple json protocol

fs-backwards-stream stream a file backwards

gitconfiglocal parse the .git/config file into a useful data structure

hexip translates hex formatted ip addresses to long and dot decimal

highcharts-browserify Highcharts wrapper for browserify

highcharts-stream streaming interface to highcharts-browserify. stream.pipe(chart) === happy

iamhard simply manage aws iam users, groups, and policies. a task which is unusually hard and unpleasent

jsontoxml This is a library designed to render js objects as xml. Its not made to parse or otherwise edit existing xml/html structures.

jszlib deflate implemented in pure js.

kazoo streaming json parser with the interface of clarinet but streaming chunked value support. (the interface is extremely unstable right now)

level-incr add atomic increment/decrement to a level db

level-live-stream_issues_7 a test case for live stream stack overflow due to sublevel objects getting sent to stream serilizer.

level-partition-check return a sublevel that will error if you attrempt write outside of a specified range of keys.

line-stream simple line parsing string emitting stream. tired of implementing line delimited streams ;)

logtime-interval when you would like a timer callback to fire based on the timestamp of the data you are processing - the timestamp of the data when you created the timer

lru-halfexpired lru cache but get supports a fill callback

memcache-server-stream duplex stream implementation of memcache server protocol. pipe any net connection to add mc support to your node server

memcached-multiplex combine concurrent gets for the same keys into one get/multiget to the memcache server

mergesort-stream merge sorted data from multiple streams into one

multilevel-reconnected this is a reconnecting and stream resuming multilevel client wrapper.

npmish a proxy npm repository server that serves local tars and packs local repos when they are requested.

packagegitconfig find the git folder for your package and parse the .git/config file into a useful data structure. also adds the github web url for the repo.

packagenpmjson this creates a npm compatable json document. you can use it as a component for private npm registries that doont use couch.

packagereadme return the readme as a string for the current package based on closest package.json in the specified or parent directory

packageroot return the closest parent or current directory that contains a package.json

pad-date simply create padded date strings

pid-io-stats-stream get a stream of io stats for a running proces. linux

pinoccio pinoccio api client.

poll-stream poll a function on an interval emit data

pressure-stream call an async function for each data event into through stream. manage concurrency as back pressure

prettyuse format memory use for humans. uses prettysize

printastic-protocol a simple json wire protocol that supports binary file transfers. For talking with printastic servers.

procfs-stats get detailed information (more than ps, top etc) about running process on linux machines from node.

qrcode QRCode / 2d Barcode api with both server side and client side support using canvas

repipe reconnect/remake streams that are piped to a single output stream

rotator Emit rotate events and rotate files based on interval. Rotate event handlers are called "rotater-tots" or just tots. Tots get passed a readable stream the log file path and the data passed in when the log was asociated.

s3-service-registry use s3 to publish the hosts and ports of running services

s3npm publish packages to your own s3 bucket, install an resolve nested private or public deps without replacing or hacking npm

sentiment-multitool cli to scan piped text streams or start a web service for sentimint analysis. uses 'sentiment' by diy

shafile async sha file using built in crypto.

soldair-jsla-leveltalk about the levels!

sorted-key-buckets Map a key to a bucket where the keys assigned to each bucket must be sorted. Creates new buckets as needed. used to make sorted string tables.

sshey simple node wrapper for interactive ssh sessions.

stream-hint detect type of a stream based on match on first dataevent

subtract-stream subtract the values of the last object from the values of the current object and stream the diffs. also numbers

tailfd Tail a file. This will continue to work even if a file is unlinked rotated or truncated. It is also ok if the path doesnt exist before watching it

tailreceiver recieves data as newline delimited json {file:,line:,time} over tcp and commits it to log files.

termplot plot x,y, and hits to view in your terminal for much win

turtles adds stream passing support to dnode callbacks

ua-device-type user agent based device type sniffer tablet||phone||tv||desktop

uniquecache cache that you found some unique value and make sure you don't tell anyone else in this process that it is unique while you save it.

valuefiles Get/Set/Delete one value per file opening as few file descriptors as possible.

walkdir Find files simply. Walks a directory tree emitting events based on what it finds. Presents a familliar callback/emitter/a+sync interface. Walk a tree of any depth.

watchfd watch events open,change,unlink on all files that are refrenced or become refrenced by path. pause/resumeable

when-connected call an async method with configurable timeout and when connected if reconnect is used

xprop shells out to xprop to get X11 server properties (like resolution)

yunofast super light benchmarking tool designed to leave in long running server code.

Page 1

npm loves you