Shoestring is a lightweight, modular DOM framework intended for developers who need their code to download and run as fast as possible. It is intended to be "just enough" of a tool to efficently write maintainable cross-browser JavaScript. The API is modeled after jQuery but we intentionally implement a tiny subset of the API to cover only the methods we commonly need in our projects. Each feature is built as an optional extension to a minimal core so each can be removed from the production build (dependencies between extensions are rare). The selector engine delegates to modern browsers' native document.querySelectorAll (IE8) and addEventListener (IE9), which means it requires browsers that support those features. For projects that require deeper compatibility or a richer set of features, it is simple to swap in jQuery instead. As a rule, anything that works with Shoestring should work with jQuery, but not the converse.

Features

  • Shoestring's API is inspired by jQuery
  • Technically, shoestring.js is a very small, extendable core function
  • Using its shoestring.fn API, its core is easy to extend further, and many extensions are available for you to include in your build
  • The default build includes all extensions, but it's still very small (~3kb compressed)
  • If you are concerned about compatibility issues/pitfalls consider using the development build releases
  • There are three sets of extensions to the Shoestring core: DOM manipulation, events, and ajax

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Shoestring

Shoestring Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Shoestring!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2023-09-26