package
a simple package manager
npm install packinGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
All you need a package manager to do is download your dependencies and stick them in a folder. Packin does just this and understands several meta data formats including package.json and component.json so you can consume a wider selection of dependencies.
Here is a few interesting design decisions:
First install node. Then run: npm install packin --global
Packin provides an executable designed primarily to be used via make but also provides a few nice commands to help you manage your dependencies.
packin-add deps... [-d]The add command helps you add dependencies to you ./deps.json file. It takes a list of dependencies in their shorthand form. If the dependecy is just a plain word it is assumed to come from npm.org. If it has one slash its assumed to come from github. If it starts with a . or a / then its assumed to be in the local filesystem. All three cases are demonstrated below:

packin-install [-tpdmfRc]The install command will recursively walk through all dependencies downloading them if necessary as it goes then add symlinks between all of them under the alias each package expects. Thats right you get to deside the names of the packages you consume not the person who wrote it. Also dependency cycles are fine unlike with npm-install(1). A further difference from npm-install(1) is that it does have some important configuration options so if you project depends on packin-install(1) and is going to be published you should document your configuration in a Makefile.

Notice how the second call returns almost immediatly. This is thanks to packins caching mechanism. Also this cache is global, so the first time install of your projects gets faster the more projects you have previously installed with packin.
packin-updateIterate through each dependency and query their respective registries for the latest release tag. If the latest one is different from the current one the dep is swapped for the new one.

packin-rm deps... [-d]This is the undo for packin-add

install all dependecies of directory
var install = require('packin');
install(__dirname, {
files: [
'package.json',
'component.json',
'deps.json'
], // files to check for dependency data
folder: 'node_modules' // install to __dirname/node_modules
development: false, // don't install development deps
production: true, // install production deps
retrace: true // update cached deps
}); // => Promise<Package>The returned Package gives you access to your whole dependency graph.
Estimated unpacked size across 45 packages.
2.3 MB
Includes dependencies.
jkroso/forEach#0.8.10
2.0.6
0.0.9
1.0.3
~0.4.8
0.4.8
2.1.0
15.1.0
~0.2.5
0.2.8
~0.1.3
0.1.5
1.0.0
1.0.0
~0.0.2
1.0.0
1.0.0