[Pkg-javascript-commits] [node-module-deps] 292/444: package event docs

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:06 UTC 2017


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

rouca pushed a commit to branch master
in repository node-module-deps.

commit dd163f9d3e0dd66828b50094f0787f975d61e852
Author: James Halliday <mail at substack.net>
Date:   Thu Jul 24 21:15:38 2014 -0700

    package event docs
---
 readme.markdown | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/readme.markdown b/readme.markdown
index 991bfb7..b8e72f7 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -119,6 +119,11 @@ Every time a file is read, this event fires with the file path.
 
 When `opts.ignoreMissing` is enabled, this event fires for each missing package.
 
+## d.on('package', function (pkg) {})
+
+Every time a package is read, this event fires. The directory name of the
+package is available in `pkg.__dirname`.
+
 # transforms
 
 module-deps can be configured to run source transformations on files before

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



More information about the Pkg-javascript-commits mailing list