[Pkg-javascript-commits] [node-umd] 13/18: Add manpages

Bastien Roucariès rouca at moszumanska.debian.org
Mon Apr 17 07:38:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to tag debian-3.0.1+ds-1
in repository node-umd.

commit d5d0fc9f94826408218295f92e7f9553c65a676f
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Apr 14 15:18:21 2017 +0200

    Add manpages
---
 debian/manpages |  1 +
 debian/umd.1    | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..927cdef
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/umd.1
\ No newline at end of file
diff --git a/debian/umd.1 b/debian/umd.1
new file mode 100644
index 0000000..2ca7056
--- /dev/null
+++ b/debian/umd.1
@@ -0,0 +1,33 @@
+.Dd 10/4/17
+.Dt umd 1
+.Sh NAME
+.Nm umd
+.Nd Universal Module Definition for use in automated build systems
+.Sh SYNOPSIS
+.Nm
+.Op Fl c
+name
+.Sh DESCRIPTION
+.Nm
+(Universal Module Definition) is a common pattern used in javascript
+programming allowing one to write once a loader working in different
+context (server, browser). This loader is compatible with different
+API like RequireJS, AMD  or CommonJs.
+.
+This command provides simple synchronous wrapping of a string, return style module support, CommonJS support
+and support preventing internal UMDs from conflicting.
+.
+Requiered parameter name is used for exporting module.
+.Sh OPTIONS
+.Bl -tag -width -indent
+.It Fl c, Fl Fl commonJS
+Use CommonJS module format
+.El
+.Pp
+.Sh EXAMPLES
+.nf
+umd -c my-module < my-module.js > my-module.umd
+cat my-module.js | umd my-module | uglifyjs > my-module.umd.min.js
+.fi
+.Sh SEE ALSO
+.Xr nodejs 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-umd.git



More information about the Pkg-javascript-commits mailing list