How to distribute chrome extension with NodeJS library?

980 views
Skip to first unread message

Alexey Solovey

unread,
Sep 3, 2015, 8:32:51 AM9/3/15
to Chromium-dev
Hello. I want pack chrome extension and NodeJS library, that commincate with chrome extension. How to I can distribute chrome extension with NodeJS plugin? Also need to distribution add libwebp binaries (cwebp, dwebp).

Anton Vayvod

unread,
Sep 3, 2015, 8:45:31 AM9/3/15
to Alexey Solovey, chromium-...@chromium.org
cc:chromium-extensions
bcc:chromium-dev

On Thu, Sep 3, 2015 at 1:32 PM, Alexey Solovey <act...@gmail.com> wrote:
Hello. I want pack chrome extension and NodeJS library, that commincate with chrome extension. How to I can distribute chrome extension with NodeJS plugin? Also need to distribution add libwebp binaries (cwebp, dwebp).

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

PhistucK

unread,
Sep 3, 2015, 8:54:37 AM9/3/15
to Alexey Solovey, Chromium-dev
What do you intend to do with that Node library? How do you plan to use it?
Chrome extensions cannot run node libraries (unless they use regular JavaScript features only, without require/export/anything ECMAScript 6 module-like) without some sort of a shim.


PhistucK

On Thu, Sep 3, 2015 at 3:32 PM, Alexey Solovey <act...@gmail.com> wrote:
Hello. I want pack chrome extension and NodeJS library, that commincate with chrome extension. How to I can distribute chrome extension with NodeJS plugin? Also need to distribution add libwebp binaries (cwebp, dwebp).

--

Alexey Solovey

unread,
Sep 3, 2015, 10:12:06 AM9/3/15
to Chromium-dev, act...@gmail.com
Need to use libwebp for lossless encoder. But I can do it only with node.js through messaging (socket.io). NaCL ports unavailable for windows. There is no possible to port completely libwebp to JavaScript.

Now, I used native messaging for run worker. And socket.io for messaging (stdio method not simple).

четверг, 3 сентября 2015 г., 20:54:37 UTC+8 пользователь PhistucK написал:
Reply all
Reply to author
Forward
0 new messages