ninjatronic / angular-base64

Base64 conversion for AngularJS
Other
185 stars 113 forks source link

Make the module usable via npm / browserify #17

Closed lemmingworks closed 7 years ago

lemmingworks commented 8 years ago

Hi,

I've just added an index.js file to the package which can make the page available via npm and therefore browserify. Example shown in update to readme.

I just have my cloned version in my private npm repository at the moment, so to make the change work, the module would have to be made publicly available on the npm repository, but I didn't want to do that without your permission.

The package.json could do with updating with your details and version numbers as well. I'm happy to make the updates if you let me know what the details should be.

Thanks Joe

aaronbeall commented 8 years ago

@ninjatronic Please accept this pull request, I need to use angular-base64 in a Webpack project, and found that import base64 from "angular-base64" does not import anything meaningful (most angular libraries export the angular module name, ie "base64" in this case, or the entire angular.module object.)

ninjatronic commented 8 years ago

Hi @joelemmer,

Please check the comments on the package.json changes and change as appropriate. I'll accept the PR once done.

Thanks

jwanglof commented 8 years ago

@joelemmer How's the progress on making the changes @ninjatronic wants? Would really need this for my new project =)

lemmingworks commented 8 years ago

@ninjatronic @jwanglof I've made those amendments to the package.json. Sorry for the delay. You should be able to accept this now. Regards. Joe

jwanglof commented 8 years ago

@ninjatronic How about accepting this PR?

ninjatronic commented 7 years ago

Been away a long time. Thanks for the PR