Live data from Hacker News

Show HN: JohnnyDepp – A tiny dependency manager for modern browsers in 862 bytes

github.com

1–10 of 45 posts

Re: Show HN: JohnnyDepp – A tiny dependency manager for modern browsers in 862 bytes

#2
Hi Everyone - author here. I just wanted to give you some background on the project. JohnnyDepp came out of a feature request I got on another project called LoadJS (https://github.com/muicss/loadjs) which is an async loading library. The request was for a higher-level dependency manager that:

  1. lazy-loads files
  2. handles JS/CSS/images
  3. handles nested dependencies
  4. makes it easy to manage dependencies among team members
  5. is extremely lightweight
I realize that many teams use RequireJS to manage dependencies but I saw an opportunity to make a library that could accomplish many of the same things but with a much smaller footprint and a simpler API. I hope you'll give it a try and let me know what you think!

Re: Show HN: JohnnyDepp – A tiny dependency manager for modern browsers in 862 bytes

#3
post #2

Hi Everyone - author here. I just wanted to give you some background on the project. JohnnyDepp came out of a feature request I got on another project called LoadJS ( https://github.com/muicss/loadjs ) which is an async loading library. The request was for a higher-level dependency manager that: 1. lazy-loads files 2. handles JS/CSS/images 3. handles nested dependencies 4. makes it easy to manage dependencies among t…

Have you looked into ?

When you use that, you have dependency management supported by the browser natively.

In that light, are custom dependency loaders still needed?

Re: Show HN: JohnnyDepp – A tiny dependency manager for modern browsers in 862 bytes

#4
post #3
post #2

Hi Everyone - author here. I just wanted to give you some background on the project. JohnnyDepp came out of a feature request I got on another project called LoadJS ( https://github.com/muicss/loadjs ) which is an async loading library. The request was for a higher-level dependency manager that: 1. lazy-loads files 2. handles JS/CSS/images 3. handles nested dependencies 4. makes it easy to manage dependencies among t…

Have you looked into ? When you use that, you have dependency management supported by the browser natively. In that light, are custom dependency loaders still needed?

Thanks for the recommendation! I wasn't aware of the modules feature or that it was already supported in Chrome/Safari/Firefox/Edge. I'll take a closer look at modules but if you're only targeting edge browsers then maybe you can do dependency management purely natively.

Re: Show HN: JohnnyDepp – A tiny dependency manager for modern browsers in 862 bytes

#10
post #2

Hi Everyone - author here. I just wanted to give you some background on the project. JohnnyDepp came out of a feature request I got on another project called LoadJS ( https://github.com/muicss/loadjs ) which is an async loading library. The request was for a higher-level dependency manager that: 1. lazy-loads files 2. handles JS/CSS/images 3. handles nested dependencies 4. makes it easy to manage dependencies among t…

I remember using this 8 years ago. Lazy loading is awesome and way to go!
Post reply on HN