New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
d

davidfig

npm

329.70K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

54 packages

bezierpoints

Generate PIXI.js bezier curves that touch a list of points

calc-fontsize

calculate font-size

clicked

Configurable vanilla handler for clicks, double-clicks, and/or long-clicks that works with both mouse and touch

console-counter

In-browser console to watch changeable values like counters or FPS

cordova-allow-background-audio

Allow background audio from other apps to keep playing while a Cordova iOS app plays its own sounds.

@davidfig/json-depth

Prettify JSON for output with a number of options, including inlining after a set depth

dirty-semicolons

Quick and stupid in-place semicolon remover for javascript. WARNING: Does not use a real parser!

dom-ease

a DOM animation library using easing functions

easyedit

inline editing of a single line of text

falldown

a vanilla javascript dropdown box replacement without required external stylesheet

file-older-than

node.js: checks if a file modify date is older than a duration (useful for cache checks)

fork-me-github

Programatically add fork me on github ribbon from javascript without making changes to CSS, HTML, or adding image files

intersects

a simple collection of 2d collision/intersects functions, supporting points, circles, circle outlines (circumference), lines, axis-aligned boxes, and polygons (convex)

json-bump

bumps the "version" entry for a JSON file

local-files

A local file server to allow webapps to access local directories and files

markdown-api

Add an API section to a markdown document for a simple project

pixi-cull

a library to visibly cull objects designed to work with pixi.js

pixi-dashed-line

A pixi.js implementation to support dashed lines in PIXI.Graphics.

pixi-ease

an animation library using easing functions

pixi-pixelate

draw proper pixelated graphic primitives for pixi.js (i.e., point, line, circle, ellipse, arc, and filled versions)

pixi-scrollbox

a scrollbox built for pixi.js using a masked box that scrolls vertically and/or horizontally with optional scrollbars

pixi-viewport

A highly configurable viewport/2D camera designed to work with pixi.js. Features include dragging, pinch-to-zoom, mouse wheel zooming, decelerated dragging, follow target, snap to point, snap to zoom, clamping, bouncing on edges, and move on mouse edges.

settingspanel

hideable UI to change game settings during runtime

shape-points

Generate points for simple shapes and curves: arcs, rectangles, rounded rectangles, circles, ellipses, bezierCurveTo, bezierCurveThrough (i.e., bezier curves through specific points)

simple-intersect

a simple collection of 2d collision/intersects functions, supporting points, circles, lines, axis-aligned boxes, and polygons