bagger-js icon indicating copy to clipboard operation
bagger-js copied to clipboard

npm package for node.js

Open nuest opened this issue 9 years ago • 7 comments

Hi! Have you considered or tested your code for server-side JavaScript, i.e. an npm package for node.js?

nuest avatar Jan 22 '16 14:01 nuest

I haven't – perhaps @edsu or @dbrunton might be familiar with any existing node.js implementations. I would want to reconsider some parts of the design because there would be far more straight-forward to do things like the crypto operations without having to work within the restricted browser environment, not to mention having things like high-performance hashing available directly without having to use asm.js in a web worker.

acdha avatar Jan 22 '16 15:01 acdha

Yeah, I'm not sure. I had thought it might be useful to provide an atom/electron package for bagger-js to run it as a desktop app. But it doesn't sound like that's the use case you are thinking of?

edsu avatar Jan 22 '16 17:01 edsu

@edsu: @eikeon and I talked about using Electron very casually but I think that would be a great way to deprecate the old Java desktop app and avoid needing to maintain two separate codebases for both light and heavy users.

acdha avatar Jan 22 '16 18:01 acdha

Yes, I was thinking the same thing :-D I guess that would be a separate issue. @nuest were you thinking of bagit library for node like bagit-js?

edsu avatar Jan 22 '16 18:01 edsu

Yes, @edsu that was what I was thinking of. However, the package bagit-js you link to is basically empty. I would like to develop a node application that handles bagit containers.

nuest avatar Feb 01 '16 09:02 nuest

My apologies for leaving this thread kind of open ended. So I'm involved in a research project that has just started, where we will look into using BagIt to package both source code and runtimes (via containers) of research analyses. Right now we're just starting, but I can imagine that we will implement our components with node.js, and if we do I'd really like to collaborate with you guys on this.

Until then: Are you aware of Google Summer of Code? Maybe you'd consider mentoring a student that could work on this topic. For information see https://summerofcode.withgoogle.com/

nuest avatar Feb 09 '16 13:02 nuest

It looks like there are now multiple projects on NPM. Given how much this depends on browser APIs which aren’t relevant to server apps does it seem like there is much reason to keep this issue open?

acdha avatar Jun 29 '18 21:06 acdha