Navigation

Home
Search
Submit A Resource
Contact Us
About Functionn

Subscription Options


Subscribe By Email (265+)


Lists


Archives

Oct 23, 2012

Author: Hirvesh Posted At: 10/23/2012 Tags: , , , , , , , , , , , , , , ,

DownloadBuilder.js - A Library For Concatenated Single File BUIlds For Front-end Projects

Share:

DownloadBuilder.js is a JavaScript library that uses the HTML5 Filesystem API to create concatenated single file custom builds for front-end projects.

The library currently supports concatenating local files (supported in all major browsers) and/or files from Github (not supported in IE unless you use a window.atob polyfill). The library also uses Session Storage to provide an option to cache ajax/jsonp requests. If you are using a browser that does not support the HTML5 Filesystem, the text of the concatenated file will still be available to provide users with the custom build code, just not a separate file link to it.


Features

  • Supports Blob URL creation
  • Supports concatenating local files and/or files from Github
  • Supports caching ajax/jsonp requests via Session Storage
  • Library independent


Browser Support

Only Google Chrome fully supports the HTML5 Filesystem API. This means that only Google Chrome supports creating a custom build url.  All Major Browsers (IE8+, Firefox, Chrome, Safari) support retrieving local files and concatenating them.  Firefox, Chrome, and Safari all support retrieving Github files. If you include the window.atob polyfill, then IE8+ will also support retrieving Github files.

Requirements: HTML5 Filesystem API
Demo: http://gregfranko.com/DownloadBuilder.js/
License: MIT License

Daily Posts, Be Updated, Subscribe:

Want Free Web Resources? Enter Your Email And We'll Send It To You - Daily! (265+ Subscribers)

Yup, it's that straight forward! Enter your email address below and we'll send you the latest web resources to your inbox, everyday. We don't do spam. Ever.

Trending Posts On Functionn This Week

Share:

Other Interesting Resources:

0 comments:

Post a Comment

 


Recent Posts

Popular Categories



Popular Components



Popular Licenses