Skip to content

developit/hazelnut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hazelnut NPM Version Bower Version

Join the chat at https://gitter.im/developit/hazelnut

What's smaller than an almond? This AMD shim.

nuts


Why

  • Well, because Hazelnut is 322 bytes gzipped.
  • Almond is bigger than it needs to be if you're just using it as a shim.
  • The name hazelnut was available on npm
  • Now we can all compete to see who can come up with the smallest implementation (submit a pull request)

Usage

Instead of passing { almond:true } to Require Optimizer or adding almond to your concatenated source, just prepend hazelnut.


License

BSD