[Pkg-javascript-devel] twemoji: Only node.js library?

Felix Natter fnatter at gmx.net
Sat Sep 26 12:05:04 BST 2020


hello Debian-js,

I have a question regarding [1]: It contains emoji SVGs and a javascript
module twemoji.js for generating emoji code/images.

After a discussion on #debian-js, I was under the impression that this
was a browser module (libjs-twemoji) only. However, since the central
build module [2] that seems to to build twemoji.js is a node.js module,
I am rethinking this.

I am packaging the js stuff because it was only requested by the
original RFP #878875 ("Will be needed by php-emoji and in turn
movim-pod."), and Debian-js requested it. php-emoji [3] does not say
anything about a dependency to twemoji (and twemoji is fairly young).
(I need only the SVGs for a java package)

Shall I build libjs-twemoji? If so, how to I build the "twemoji.min.js"?
Do I take the one that --with nodejs builds for node (sorry, I don't
know much about node)?

Shall I build node-twemoji?

So could someone please have a look at [1] and tell me what is needed /
makes sense?

Many Thanks and Best Regards,
Felix

[1] https://github.com/twitter/twemoji
[2] https://github.com/twitter/twemoji/blob/master/scripts/build.js
[3] https://github.com/iamcal/php-emoji
--
Felix Natter




More information about the Pkg-javascript-devel mailing list