<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    In the Node policy[1], point 5, it says<br>
    <br>
    "<strong>should</strong> generate a <strong>libjs-foo</strong>
    binary package if the script is usable also for web-broser (see <a
      href="https://wiki.debian.org/Javascript/Policy">Javascript/Policy</a>
    for more info) "<br>
    <br>
    Many Node packages specify something like a "browser" variation of
    their script in package.json.  E.g. node-debug has this browser.js
    file:<br>
<a class="moz-txt-link-freetext" href="http://anonscm.debian.org/cgit/pkg-javascript/node-debug.git/tree/browser.js">http://anonscm.debian.org/cgit/pkg-javascript/node-debug.git/tree/browser.js</a><br>
    <br>
    Should that file go as-is into a libjs-foo package (e.g.
    libjs-debug)?<br>
    <br>
    Or should it first be passed through browserify(-lite)?<br>
    <br>
    Or is the libjs-foo concept only for things which are completely
    standalone, e.g. not containing any require() directives?<br>
    <br>
    1. <a class="moz-txt-link-freetext" href="https://wiki.debian.org/Javascript/Nodejs/Manual">https://wiki.debian.org/Javascript/Nodejs/Manual</a><br>
    <br>
    <br>
  </body>
</html>