Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket
g

grabantot

npm

Packages

Current Co-maintainers

Former Co-maintainers

30 packages

auto-dec-counter

cache-linked-list

Cache items from list where the next/prev item is obtained through last/first item.

clear-ws

Route websocket messages. Reconnect and resubscribe.

data-net

Serializable (JSON.stringifiable) graph data structure (nodes connected by edges)

datatransfer-files-promise

Get a promise for a flat array of files from the 'drop' event, like `<input type="file"/>.files`.

date-pattern

Format/parse dates using string patterns in nodejs/browser.

duration-pattern

Format/parse time durations using string patterns in nodejs or browser. Time duration is simply a number of milliseconds, it has no start or end.

eventfull-data-net

Wrapper around data-net that adds 'events' field (EventEmitter) to nodes, edges and graph

events-awaiter

``` const eventsAwaiter = new EventsAwaiter() eventsAwaiter.addEvent(someEventEmitter, 'done') eventsAwaiter.addEvent(writeStream, 'finish') // maker sure all of the events are added before awaitEvents const results = await eventsAwaiter.awaitEvents() //

express-basic-jwt

This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.

express-comments

Express middleware that adds commenting/chatting capabilities to the app.

express-cookie-token

Authentication by json web token in cookie. Supports basic and bearer but main focus is on cookieToken.

express-fileserver

Check in example folder.

gaussian-elimination

Solve systems of linear equations using gaussian elimination method.

@grabantot/react-cli

Automate components management routine

include-exclude-match

Verify that a string matches one of include-regexps and doesn't match any of exclude-regexps

incstr

Increment string or generate sequential string ids

kraken-safe-wrapper

measure-acc

path-join-safe

Join pathes, return undefined if resulting path is not inside of the first path.

perfect-di

Simple alternative to many angular like DI tools

redirect-form-data-files

Example: ``` const express = require('express') const { asyncExpress } = require('../async-express') const formidable = require('formidable') const { parseFormData, redirectFileParts } = require('../../util/handle-form-data')

rk4-mech

Fourth order Runge-Kutta method implementation for mechanical systems simulation (physics engines).

runbg

A script to run node modules windowless. Doesn't use daemons/services.

tiny-cmd

Set handlers for a spawned process, await result.