most popular

  • Download
    Download text and binary files to the client from javascript Strings and Blobs. danml.com/download.html - 10k -
  • dan's Snippet manger
    A code snippet organizer with javascript snippets. by dan davis. danml.com/snips.htm - 15k -
  • dan's GitHub Page
    Some of my more recent works have found their way onto GitHub. github.com/rndme - 22k -
  • pagedemos.com
    I Worked on this cool new HTML page Sharing, Editing, and Debugging tool for Web Developers. pagedemos.com/ - 420k -

new (2014/10)

  • live music
    An online music player made with ustache templates. danml.com/livemusic - 42k -
  • nostache
    A super-compact mustache-like templating engine using ES6 template strings danml.com/js/ustache.js - 2k -
  • intraHTML
    Makes HTML as easy to live-update as create using a virtual DOM and DIFF strategy to patch the live DOM with changes found in new HTML. danml.com/intrahtml - 29k -
  • MoFun
    Functional programming at it's most modular: hundreds of helper methods, the fastest array iteration in the business, an online compiler, and more. danml.com/mofun - 49k -
  • Veneer
    A tiny script to enable semantic HTML elements. Many new tags are included to build slide-shows, embed maps, format dates and file sizes, highlight syntax, embed external content, and much more. danml.com/veneer/ - 22k -
  • Mostache
    An upgraded version of Mustache.js: adding filters, seperators, index injection, and more. Still fast, and 100% backwards compat with existing mustache templates. danml.com/mostache - 12k -
  • CDN.js
    Simple access to hundreds of popular script libraries make this fast script loader and require() tool one-of-a-kind. Bundle depends via url instead of usign a command-line tool. danml.com/cdn - 12k -
  • Polls
    US Senate election polling charts, recent past and present (2014 race) powered by YQL and Google Charts danml.com/polls.html - 12k -

photos

  • Dan's Photo Gallery
    Photos i took displayed in a viewer i wrote. danml.com/pub/photos.htm - 2k -
  • Example Photo Gallery
    My Tornado Photo Gallery. (view source to see how simple making a photo gallery can be) danml.com/pub/photosample1.htm - 2k -
  • Photo Gallery Builder
    A simply tool for making your own slideshows like the other ones in this section using your own images. danml.com/pub/photofinder.htm - 2k -
  • dan's image editor 2
    Edit images in Firefox. Crop. Resize. Contrast. Filters. invert, b+w noise, color noise, median filter (!) blur, sharpen, flip, quick B+W, desaturate, ansel, max info danml.com/pub/photo2.htm -
  • Image Resizer
    A VERY simple way to resize a bunch of images without installing software. Perfect for making thumbnails. danml.com/resizer/ - 2k -

audio

  • WizAmp
    A full-featured media player for your MP3 files. Chrome gives best results. danml.com/wizamp/ - 16k -
  • live music
    A simple cross-browser live music player with a library of thousands of performances. danml.com/music/ - 3k -

fun

  • Dan's GPS
    a simple full-screen spedometer for biking, hiking, or just plain fun. Firefox mobile gives best results. danml.com/gps/ - 6k -
  • balls
    Have you seen how cool my balls are? danml.com/balls - 2k -
  • C4
    The classic two playter stacking game with a twist. danml.com/pub/connect4.html - 2k -
  • Memory
    The classic card flipping challenge. danml.com/pub/memory.htm - 2k -
  • Dan's Calculator
    a simple full-screen calculator for devices without one. a good demo of fastclick mobile touchscreen acceleration. danml.com/calc/ - 4k -
  • lil' Curves
    A small graphics demo for firefox. makes little images, some might be ok logos. danml.com/pub/curveslil.htm - 2k -
  • dan's chess timer
    A chess timer. mouse and keyboard can be used making for easy two-person operation. danml.com/pub/chess.htm - 5k -
  • ToDo HTML5 Platform Demo
    A simple persistent todo app made with HTML5, CSS3. There is no <script> tag in use, just clean markup. danml.com/todo.html - 2k -

demos

  • Temp Tracker
    A simple way monitor your temperature when you're sick using minimal human interaction. danml.com/temptracker.html - 2k -
  • 2Way - Legacy Free Data Binding
    Uses brand new methods to sync a model to an html form view... danml.com/2way/ - 7k -
  • resistors
    a calculator for resistor value using thier color coded bands danml.com/pub/resist.html - 1k -
  • wiki syntax for apps
    build nice acccesible forms using a simple text-based shorthand syntax danml.com/pub/appwiki.htm - 4k -
  • time
    A simple, highly efficient clock to embed. minimal CPU usage, smooth updates. danml.com/pub/clocktiny.htm - 533b -
  • notepad
    a simple way to keep notes in a wysiwyg editor. notes are saved on computer between visits in firefox and IE8. danml.com/pub/notepad.htm - 3k -
  • templ8 Test
    Demonstrates the tmpl8 utility. Turn a remote data source (json) into html using simple templates. danml.com/tmpl8.htm - 25k -
  • watchtower
    dan's media watchtower: a simple way to monitor breaking news across multiple outlets. danml.com/pub/bunker.htm - 5k -

utilities

  • DEV
    A fully online development enviroment. Edit and preview web folders from the browser. From 2013, but previously un-released and now abandoned. danml.com/dev - 112k -
  • Vapor
    An online text editor with autocomplete, shortcuts, spellcheck, selection processing, and many unique web-building features. danml.com/vapor/ - 114k -
  • Text Editor
    Edit js files (or any files really) in a nice augmented textarea editor with many advanced features like formatting, auto-complete, code cleanup tools, and more. danml.com/textedit/ - 114k -
  • crypto, by dandavis
    Type/Paste a message into the box to create an encrypted document that can be unloack in any browser without software. danml.com/pub/crypto.htm - 8k -
  • js unzip
    Opens a zip file on your computer, allowing you to download or open each file within. Pure JS, your zip never goes over the wire. danml.com/unzip - 37k -
  • Disk Report (for webkit)
    Scan local folders and view pie charts of deep folder size. Rank by size, types, and more. danml.com/diskreport/ - 6k -
  • Packager
    Turns a bunch of code into a safe JS module object. Choose your properties from a list, options to format or compress, and auto-cleanup of commom problems in JS code. danml.com/packager/ - 14k -
  • unzip
    Unvip a zip file from your device, browse contents, and extract specific files in the zip to download uncompressed to your device. danml.com/unzip/ - 14k -
  • dan's quick css maker
    Generate css using a menu and live preview. includes handy snips as well. embedable. danml.com/pub/fontform.html - 40k -
  • Slim
    Designed to provide maximum compression to small javavascrpt libraries. Can also compress text, html, and json. Includes a special CSS mode. danml.com/slim - 12k -
  • String Sandbox
    A javascript tespad. Also good for building HTML from javascript expressions. danml.com/pub/strings5.html - 50k -
  • Web 2.0 compressor
    Compresses and reformats javascript, and css. also automatically rewrites invalid html to validate. paste your code here. danml.com/pub/compressor.htm - 12k -
  • Decrapify
    Cleanup bad html like msword and other wysiwyg garbage. Ouputs clean simple code (P+H) based on font-sizes. Thrashes most tags, preserves Links. danml.com/pub/decrap.html - 12k -
  • Level (mobile)
    Use a smart phone as a level to hang pictures, shim televisions, etc... danml.com/level/ - 3k -

dialogs

Meant to be used with res=showModalDialog(url, value), see source of each one for details.

  • TextEdit
    A sleek and fast code editor with many devopler-friendly features. danml.com/textedit/ - 24k -
  • JS Hint
    Checks the syntax of javascript code for style, compatibility, errors, and readbility. danml.com/hint/ - 4k -
  • JS Lint
    Checks the syntax of javascript code for style, compatibility, errors, and readbility and some dogma. danml.com/lint/ - 4k -
  • Repp'r :: Fast Text Replacements
    A simple but powerful find-and-replace tool with live preview and RegExp support. danml.com/replace/ - 4k -
  • Slim
    Designed to provide maximum compression to small javavascrpt libraries. Can also compress text, html, and json. Includes a special CSS mode. danml.com/slim - 12k -

JSON

  • json browser
    Allows you to navigate though a json object using the ubiquitous two-pane explorer danml.com/pub/jsonBrowser.htm - 4k -
  • json viewer
    Allows you to navigate though a json object using a structural HTML view. danml.com/pub/json2html.htm - 4k -
  • json editor
    Allows you to edit a json object using a two-pane editor (code/forms) danml.com/pub/json2html2.htm - 20k -
  • json filter
    Allows you to edit an array (or Object) using simple functions to map/reduce a data-set. danml.com/filter - 2k -

libraries

  • Bind
    Turn raw data from RSS, CSV, or any API into pure HTML without coding any javascript. danml.com/bind/ - 14k -
  • Download
    Download text and binary files to the client from javascript Strings and Blobs. danml.com/download.html - 10k -
  • JS Archive
    a collection of librarys, frameworks, shims, and micro-libraries. A mix of common, favorite and personal selections. danml.com/js - 15k -
  • MINI
    mini javascript library: the only 10kb of javascript you need. danml.com/mini.htm - 5k -
  • MINI 2
    nex-gen mini javascript library: buildable and legacy free. now with late imports! danml.com/2/ - 5k -
  • dan's drag and drop (dnd)
    dan's drag and drop. Contents. About; Getting Started; API Reference; Custom Events; Compatibility; Compatibility; Custom Event Examples. danml.com/dnd/dndapi.htm - 13k -

micro libs

Grab compressed version by changing filename to the url search, removing ".js" (ex: /js/set.js becomes /js/?set)

Combine scripts by using many lib names separated by a comma. ex: /js/?set,weakmaps,enum,format

  • WeakMaps
    A firefox-compatible WeakMaps (associative arrays) implimentation for all browsers. danml.com/js/weakmaps.js - 2k -
  • Set
    A firefox-compatible Set (generic collections) implimentation for all browsers. danml.com/js/set.js - 1k -
  • ES6 String Methods
    Adds "".contains(), "".endsWith(), and "".startsWith() methods to any browser. danml.com/js/es6string.js - 1k -
  • Tiny DOM Lib
    Provides getById [id], [tags], querySelectors [q], array casting, and bind capabilities danml.com/js/tinydom.js - 1k -
  • FileName
    Gets the filename of the active script (must be defined in script to be detected) danml.com/js/filename.js - 1k -
  • CSV Parser
    Strong-typed parser for string of CSV format data, like from Excel. danml.com/js/csvparser.js - 1k -
  • Option Parser
    Like YAML, a simple way to code/pass nested options objects from human-readable indented strings danml.com/js/options.js - 2k -
  • JS Nodes
    A way to build XML/HTML using native JS methods to append and manipulate "tags" danml.com/js/jsnodes.js - 3k -
  • getpage
    Grabs info from another page using ajax via a url and some simple to/from CSS selectors. danml.com/js/getpage.js - 1k -
  • Format
    String formatting as proposed for ES6 by Doug Crockford. danml.com/js/format.js - 0.8k -
  • enum
    A simple but fail-safe (READ-ONLY) Enumeration maker for JS. danml.com/js/enum.js - 1k -
  • merge
    Adds 5 helper mthods onto Object: merge, update, common, without, and mutual. danml.com/js/merge.js - 1k -
  • oQuery
    use CSS3 attrib selectors on deep Objects. Great for searching and looping though json. danml.com/js/oQuery.js - 4k -
  • range
    Provides the boolean filter function Range(), and the mutli-range multi-response Ranges() function. danml.com/js/range.js - 1k -
  • Lambda
    A simple way to turn functions into uncalled expressions. danml.com/js/lambda.js - 1k -
  • Series
    A simple way to run an array of functions in series or parallel using callbacks. danml.com/js/series.js - 1k -
  • localStorage2
    expanded javascript string storage with a simple interface that abstracts built-in webSQL or IndexedDB technologies. danml.com/js/localstorage2.js - 18k -
  • strongbox
    a strong-typed interface to localStorage, allowing non-JSON values like null, functions, Dates, RegExps, and Elements. danml.com/js/strongbox.js - 3k -
  • blackbox recorder
    provides an object that contains extensive client machine info about performance, plugins, browser settings, the active page, etc. danml.com/js/blackbox.js - 4k -
  • razr templates
    Clean templating with @keyword syntax and the inverted FOR command that iterates values instead of keys. demo danml.com/js/razr.js - 1k -
  • adlib templates
    A powerful templater built for processing and displaying deep data structures with minimal code. danml.com/js/adlib.js - 4k -
  • taglr - JSON from XML Attribs
    A fast simple manner of grabbing an object of attribs from a string of XML danml.com/js/taglr.js - 4k -
  • Crumbs
    High-performance change logging. plays nice with other storage solutions. tracks when and what changes. Applications: revisioning, logging, debugging, and gaming. danml.com/js/crumbs.js - 2k -






































badass JavaScript since 1842