smallhelm
Compile css into js code that injects styles on the browser and server safe
published version 1.0.1, 9 years agoStore data as entity attribute values in memory. Fast queries and manipulation of state.
published version 0.1.1, 10 years agoGet text excerpt that points to a given line and column number
published version 1.0.0, 9 years agoMount an HTML5 canvas to the full width and height of the web page. When the page is resized the canvas resizes too.
published version 0.1.0, 10 years agoGenerate a unique css class or id name.
published version 1.0.0, 9 years agoDefine and insert CSS via javascript. This also generates unique class and id names automatically. Handy when using virtual-dom (or react) inline css as your primary styling.
published version 1.4.2, 9 years agoLightweight json logger. Works great with systemd, heroku, or lambda.
published version 3.0.1, 6 years agoTurn .less files into isomorphic (browser and node) .js - i.e. require('./somefile.less.js');
published version 2.0.0, 8 years agoStore immutable "facts" and query them with datalog.
published version 2.0.0, 2 years agoStore any string into level, and get a collision free hash of that value that you can use in an index or something.
published version 0.1.2, 10 years agoMinimal api for immutable (copy on write) datastructures in javascript.
published version 0.2.1, 10 years agoInject normalize.css into browser by require("normalize.css.js"). This also returns the css code and safe to run on the server.
published version 1.0.0, 9 years agoRun multiple package.json scripts in parallel (for development)
published version 1.1.1, 6 years agosimple-timeago wrapper that returns "???" instead of throwing up if you give it something truthy that is not a Date object.
published version 1.0.0, 9 years agosimply pass in two callbacks, one that get's called at a fixed time step i.e. 60 fps, the other is called on every animation frame
published version 0.1.0, 10 years agotokenize any text stream given some basic regex rules to match tokens
published version 2.0.1, 7 years agoEasy way to layout elements via absolute positioning
published version 1.0.0, 9 years agoMake virtual-dom widgets by using a function closure that persists it's local state between renders.
published version 1.0.0, 9 years agoEncode stringfacts into sortable keys. Decode keys. Make a matcher (partial encoder) to search through keys.
published version 0.0.0, 9 years ago