Skip to content
ES:Harmony compliant module loader and module maker that fits nicely with each and every JS file you can have to work with. http://xcambar.github.com/shepherd-js/
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
build
examples
lib
src
test
.gitignore
.gitmodules
LICENSE
README.md
build.js

README.md

Shepherd

What is it ?

Shepherd is a polyfill for the new module syntax coming in ECMAScript:Harmony.

In this branch, Shepherd removes backward-compatibility. Shepherd enables the Harmony modules syntax in browsers that don't support it. ES:Harmony:modules compatible files can not be parsed on non ES6-enabled engines, unless using a polyfill such as Shepherd.

Quick features list

Shepherd:

  • is cross-side, which means it works well in the browser and in the server
  • has a ECMAScript Harmony compatible syntax
  • Ennables files/libraries you can not modify (eg, jQuery from a CDN) to be declared as modules

Want more ?

You may want to check out the home page (which indeed uses Shepherd itself) or maybe even the tests.

Enjoy!

Have fun with Shepherd! Once it is in use, take a chair and enjoy the view, your valley is really gorgeous!

Roadmap

Something went wrong with that request. Please try again.