killdream/khaos — Issue #1: Figure out how to handle importing at the package level
Author: killdream
Created: 2012-01-30 15:43:27+00:00
State: open

Khaos is almost split like (eugh) Java packages, which is really such a bother when one wants to merge their imports at the package level.

Basically, we want to provide people with sane defaults when they do things like:

```js
var khaos = require('khaos')
```

Or:

```js
var functional = require('khaos/functional')
```

In this case, there are a few key questions that need to be answered in order for this to work:

* What should each package export by default?
* How do we do this in a way that is maintainable and nice on the users?
* How can users selectively import and merge their imports otherwise?
* How do we handle the cases where functionality is exported — by the user — into the native prototypes?
* Is there any interesting package manager that solves those problems already? Can we take any inspiration on them?