Commit fd222689 authored by sudodoki's avatar sudodoki Committed by Chris Dickinson
Browse files

doc: note ability to require files within packages

Adding note to api/modules.markdown about ability to
load arbitrary path from modules from node_module path
by adding reference to path after module name in call
to require()

PR-URL: https://github.com/joyent/node/pull/7794


Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
Reviewed-by: default avatarFedor Indutny <fedor@indutny.com>
Reviewed-by: default avatarTimothy J Fontaine <tjfontaine@gmail.com>
parent d8a3c4ab
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment