0.0.8 • Published 11 years ago

gimme-deps v0.0.8

Weekly downloads
4
License
-
Repository
github
Last release
11 years ago

gimme-deps

If you want to know what files are required from npm package or some file, their absolute file pahts, their package names and another metadata from package.json`s just make:

npm install gimme-deps
info = gimme-deps 'path to some file or module'

info is the flat list of packages that were used in module sources :

packages:
[
	"package1":{                                  #  --- pacakge name
	"packagejson":                                #  --- package.json file
	"main":                                       #  --- absolute main filepath
	files:[                                       #  --- list of files that are resolved from require functions of package source files.
		"./file_name": "absolute file path"

		# ...
		]
	},

	# ...
]

And thats it, no wrapping, no bundling only required modules and their metadata.

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago