tvler / lazy-progressive-enhancement

A lazy image loader designed to enforce progressive enhancement and valid HTML.
http://tylerdeitz.co/lazy-progressive-enhancement/
MIT License
190 stars 10 forks source link

Adding package.json so I can do npm install on this package. #15

Closed dodozhang21 closed 4 years ago

dodozhang21 commented 7 years ago

Tyler, could you please accept this package.json so I can just pull your repo directly as my dependency?

Please also create a tag with 1.0.0 - matching the version number in package.json when you accept this PR.

Thanks

tvler commented 7 years ago

Hey!! I'd be happy to :)

tvler commented 7 years ago

I'll set this up after work today

tvler commented 7 years ago

@dodozhang21 @agarzola are you two interested in consuming this library as an es6 module? Something like:

import loadMedia from 'lazy-progressive-enhancement'

... or are you more interested in just having an easier way to install and use this library?

dodozhang21 commented 7 years ago

Not really. Just using it directly on the client side. Thanks

agarzola commented 4 years ago

@tvler Hi! 👋 Found this PR waaaay at the bottom of my global /pulls/mentioned and made me wonder what’s holding this up from being merged. Is there anything we can do to improve on this PR and get it into master?