nzakas/eslint — pull request #80 by iancmyers (2013-07-18 05:12:50+00:00)
Title: Enabled require("eslint") and exposed out CLI.

I've added the "main" key to the package.json, pointing it to lib/eslint.js. This enables those who have run `npm install eslint` to then require eslint in their project like so:

```js
var eslint = require("eslint");
```

Prior to this change calling `require("eslint")` would throw an error.

I've also added the CLI to the exported modules from eslint. This means that developers can now use the CLI from their projects, without having to `require` it from the `node_modules` directory (which is generally not good). Developers can now use the CLI programatically, like so:

```js
var eslint = require("eslint");
eslint.cli.execute(["-h"]);
```