Optional
binIf you specify a 'bin' directory, then all the files in that folder will be used as the 'bin' hash.
Optional
docPut markdown files in here. Eventually, these will be displayed nicely, maybe, someday.
Optional
examplePut markdown files in here. Eventually, these will be displayed nicely, maybe, someday.
Optional
libTell people where the bulk of your library is. Nothing special is done with the lib folder in any way, but it's useful meta info.
Optional
manA folder that is full of man pages. Sugar to generate a 'man' array by walking the folder.
Optional
test?
Generated using TypeDoc
The CommonJS Packages spec details a few ways that you can indicate the structure of your package using a directories object. If you look at npm's package.json, you'll see that it has directories for doc, lib, and man.